Page Design
-
Hi Guys, still learning,
My site has three pages, “About”, “Gallery”, and “Blog”.
The changes I made to my .post in my stylesheet have appeared on all the pages, but I wanted this style only on my “Blog” page. So what is the best way to style each page? My search has turned up using categories like this:
<?php if (is_category('tomato')){echo 'class="tomato-red"';} if (is_category('cucumber')){echo 'class="cucumber-green"';} ?>
Another site said to create different index.php files, confused as to best solution.
My site is using a static front page with the Blog page acting as my posts’ page.
Thanks
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Page Design’ is closed to new replies.