css are not loading |
06-12-2018, 10:12 PM
(This post was last modified: 06-12-2018, 10:13 PM by Amonza. Edit Reason: further example )
Well I got this working, so going to leave this here in case it helps any one else or for further comment.
I moved my css files into a folder at the same level of the application folder (i.e as a sibling). With the css files in the root of this folder the css would load correctly, placing them in a another folder level beneath this and they would not load. So I moved the css into a folder under the application folder called assets and placed my css in a folder in this folder and all works. So I got my templates working but why would CI not load the css in my first attempts? EG localhost/codeigniter/bootstrap/css/bootstrap.min.css -- DOESNT WORK localhost/codeigniter/bootstrap/css/files/bootstrap.min.css -- DOESNT WORK localhost/codeigniter/css/bootstrap.min.css -- WORKS localhost/codeigniter/application/assets/css/bootstrap.min.css -- WORKS |
Messages In This Thread |
css are not loading - by davy_yg - 05-05-2018, 06:30 AM
RE: css are not loading - by jreklund - 05-05-2018, 06:40 AM
RE: css are not loading - by Paradinight - 05-05-2018, 06:41 AM
RE: css are not loading - by davy_yg - 05-05-2018, 07:04 AM
RE: [SOLVED] css are not loading - by davy_yg - 05-06-2018, 08:52 AM
RE: [SOLVED] css are not loading - by BobM - 05-07-2018, 08:46 AM
RE: [SOLVED] css are not loading - by jreklund - 05-07-2018, 09:16 AM
RE: [SOLVED] css are not loading - by davy_yg - 05-15-2018, 07:31 PM
RE: css are not loading - by InsiteFX - 05-16-2018, 03:02 AM
RE: css are not loading - by Amonza - 06-12-2018, 08:33 PM
RE: css are not loading - by Amonza - 06-12-2018, 10:12 PM
RE: css are not loading - by InsiteFX - 06-13-2018, 03:33 AM
|