Css

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

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

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

[indent]- themes

[indent]-- your_folder

      [indent]-- css


      -- js


      -- fonts


      -- images


      ....


      .... etc.[/indent][/indent][/indent]

File or images access like this -


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