WordPress.org

Support

Support » Themes and Templates » Widgetising Themes

Widgetising Themes

  • I’ve read the documentation on Widgetising the Theme: http://codex.wordpress.org/Widgetizing_Themes – and I am still confused about something that I was hoping someone could help me with.

    My question involves the sidebar widgets and the style. In my CSS design I have separate widgets in the sidebar that are each self contained/different colors within respective DIVs.

    When you choose to widgetise your sidebar are you essentially deciding on a uniform color style across all widgets, or is it possible to still allocate different styles to different widgets?

    My CSS design for the sidebar goes something like this:

    – div id=BlueStyledWidget
    ul
    h3 class=blue Most recently Commented Posts /h3
    li list /li
    /ul
    – /div

    – div id=GreenStyledWidget
    h3 class=GreenHeader Video of the Day /h3
    Video Feed from YouTube
    – /div

    – div id=OrangeStyledWidget
    h3 class=BlueHeader>Recommended Reading /h3
    Amazon Ad Feed of Select Books
    – /div

    – div id=BlueStyledWidget
    ul h3 class=BlueHeader Blog Roll /h3
    li list /li
    /ul
    – /div

    Is this possible, or will they all have to be BlueStyleWidgets?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widgetising Themes’ is closed to new replies.