ThemeShaper Forums » Thematic

[closed]

Conditional CSS element

(3 posts)
  • Started 7 years ago by fwunder
  • Latest reply from helgatheviking
  • This topic is resolved
  1. fwunder
    Member

    Happy New Year!

    New to Thematic, but learning...

    I need to make a conditional CSS element. Condition is Page ID. Element is background: url(...);

    Not sure if I should use a filter or a wordpress conditional statement. Can I create a filter (condition) for just a single style element?

    Thanks!

    Posted 7 years ago #
  2. fwunder
    Member

    Uhhhhh, too easy....


    .page-id-17 #page-bottom {
    background:#000000;
    }

    That right?

    Posted 7 years ago #
  3. yes utilizing WP or thematic's dynamic body classes is the way to go

    Posted 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.