Yii Framework Forum: Css - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Css css ko kaisy embed karna hy

#1 User is offline   ranairfan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 09-October 12
  • Location:Pakistan

Posted 11 March 2013 - 02:34 AM

hi all, ma ny yii ki default layout or code scheme use kar ky apna project bana lia hy or sub html code sy genrate ho rhe hy by default. ab issue yah hy ky mery pass html or css hy jisy ma use karna chahta hon, ma html ki layout kaisy change karn ga or css file kaisy ? please help i am new here
0

#2 User is offline   PeRoChAk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 579
  • Joined: 26-November 10
  • Location:Lahore, Pakistan

Posted 11 March 2013 - 01:06 PM

Welcome...

App Yii ki structure ko dykh sakty hian jo ky kuch es terha hia

css
images
assets
protected
...
..

Es main css main app ki css ki file hia jis ka name main.css hia. Yii blueprint ka framework use krti hia css ky liay. App es ko use kr skty ho.


html ki layout ko change krny ki lia app ko protected/views/layouts mian main.php column1.php aur column2.php files ko apny html ky mutabik change krna ho ga.

main.php file ko kisi bi editor main open kr lian us mian code ko basic tareeki sy likha gia hia. app es ko easily samj jao gy.

agr mazeed help chyia ho to kindly request kr lian main app ki help ki koshish karoon ga.

thanks
Cheers
Perochak
Web Design - Logo Design - Application Development

My Blog | Forums Comparison
1

#3 User is offline   Rohit Suthar 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 175
  • Joined: 12-May 14
  • Location:Mumbai, India

Posted 24 July 2014 - 05:24 AM

Best way to paste your folder including css, js, images, fonts files into themes folder like -


- themes
-- your_folder
-- css
-- js
-- fonts
-- images
....
.... etc.




File or images access like this -

<?php echo Yii::app()->request->baseUrl.'/themes/your_folder/css/style.css; ?>

Thanks & regards,

ROHIT SUTHAR,
Mumbai(India)

Follow me - @rohisuthar

www.yiiframework.us



Don't be shellfish to click +1 button
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users