Different CSS for each page
-
WP 4.1
Theme: StoreFront 1.2.4 By WooThemesHello guys,
I am trying to have different css file for every page, to make them different. I want to have 1 file for home page, another for contact me page aaaand so on… I know in some theme’s header.php file I could find the call for the style.css file, and I could have change it in something like
if (is_page_template(..) )
and in this way , I could have loaded a different CSS stylesheet for different templates or pages.
whereas now, in my template I don’t see anything like this in the header.php
The call for the stylesheet is inside wp_head() instead. I want to controll what css to use for every certain page.I read that I need to write something in the function.php, but when I copy function.php to my child theme then an error occurs. I am really stuck on that for the whole day, plase help!
- The topic ‘Different CSS for each page’ is closed to new replies.