Loading new CSS file for new page type
Permalink
Hi all,
I'm attempting to load a new CSS file for a new page type.
I have a php file called 'right', and have set the page type handle as 'right'
The right.php file is supposed to load a CSS file called 'right.css', but it appears to be just using the 'main.css' file instead.
Is there anyway to get it to load the correct file? Do I have to over ride or reset in some way?
Basically the 'right.css' file loads a large background image down the right hand side, whereas the 'main.css' doesn't.
Any help would be greatly greatly appreciated!
Thanks
I'm attempting to load a new CSS file for a new page type.
I have a php file called 'right', and have set the page type handle as 'right'
The right.php file is supposed to load a CSS file called 'right.css', but it appears to be just using the 'main.css' file instead.
Is there anyway to get it to load the correct file? Do I have to over ride or reset in some way?
Basically the 'right.css' file loads a large background image down the right hand side, whereas the 'main.css' doesn't.
Any help would be greatly greatly appreciated!
Thanks
Couldn't you just add the css declaration in main.css and use the class name in your right.php page type?
Thanks,
yeah that would probably work, although it ended up working the way I was already doing it, not sure why it wasn't initially...
Thanks anyway for future reference.
yeah that would probably work, although it ended up working the way I was already doing it, not sure why it wasn't initially...
Thanks anyway for future reference.