Viewing 1 to 3 of 3 items
Tag Archives: if else

Conditional CSS with PHP

I used this snippet of code to set a different css class or id based on the page template. It could be modified to be conditional based on being the the home page as well. Also note that is had to be put in the code/document as a single line for it to work…..don’t know  Full Article…

0