Is there a way to have specific css on the homepage and use a different one for all the other pages?
Leave a Reply
You must be logged in to post a comment.
Is there a way to have specific css on the homepage and use a different one for all the other pages?
You must be logged in to post a comment.
Yes there is. You can add this to your themes header.
You can also use other conditional tags to find out if you are on nearly every type of WordPress page. Conditional Tags
Following on from the comments below, this would be better used like this
If you look at the source code on a WordPress page the body class changes for each page mine shows home so i would create my css with this