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

  1. Carlos-David Donoso
    Posted 3 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. Michael
    Part-Time Forum Moderator
    Posted 3 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
    Posted 3 years ago #


    But actually helped me even more:

    But your link is a good ressource.

Topic Closed

This topic has been closed to new replies.

About this Topic