WordPress.org

Ready to get started?Download WordPress

Forums

Widgetising Themes (3 posts)

  1. CallUp
    Member
    Posted 4 years ago #

    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?

  2. CallUp
    Member
    Posted 4 years ago #

    Anyone?

  3. CallUp
    Member
    Posted 4 years ago #

    I finally figured it out. If anyone is curious let me know, and I'll tell you how I did it.

Topic Closed

This topic has been closed to new replies.

About this Topic