Different CSS for each page (not category)
-
Ok, so I’ve tried to get my head aroud The Loop, and I’ve trawled through the support references to “per category css” but I still can’t implement what I need.
Let me paint you a picture:
– A website (built with WP 2.0.4) comprising four main pages; Home, Portfolio, Contact and Blog.
– Each page has the smae layout but in different colours (pink for home, blue for portfolio etc)
– Beatiful huh?I’m using permalinks so my urls are like https://www.domainname.com/portfolio but I can’t get the
<?php if ( in_category('5')
sort of stuff to correctly call in different css sheets.any ideas?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Different CSS for each page (not category)’ is closed to new replies.