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

#2 User is offline   PeRoChAk 

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

Posted 11 March 2013 - 01:06 PM


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


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.

Cheap Domain & Hosting - Web & App Design - Web Application Development

My Page

#3 User is offline   Rohit Suthar 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 247
  • 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,


Follow me - @rohisuthar


If you found your solutions.... Don't hesitate to click on '+1' button

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