WordPress.org

Ready to get started?Download WordPress

Forums

Different coloured border for sidebar and entry-content box for each page (3 posts)

  1. Carlos-David Donoso
    Member
    Posted 2 years ago #

    I'm building a Theme-Child from TwentyTen,

    I currently have a menu with different colour menu items and I only have static pages. The goal is to be able to add a border to the sidebar box and the content box, however I need the border to match the colour of the selected menu section. So I have pages that are one-column only and other with a left sidebar and I need to know how to apply a different coloured border to my sidebar and my content box for specific pages.

    I can add a border colour to the .entry-content/entry summary css but it affects all pages.

    Thank you!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    Twenty Ten outputs page specific css classes in the body tag ( http://codex.wordpress.org/Function_Reference/body_class )

  3. Carlos-David Donoso
    Member
    Posted 2 years ago #

    Thanks!

    But actually helped me even more:
    http://wordpress.org/support/topic/making-navigation-bars-a-different-color-on-each-page?replies=4

    But your link is a good ressource.

Topic Closed

This topic has been closed to new replies.

About this Topic