WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar Customization (3 posts)

  1. arav369
    Member
    Posted 1 year ago #

    Hi Admin,

    I am using the widgets available to populate the sidebar of my website. The widgets I am using are the links, polls, archives etc. I would like to know how I can style the widgets using my own custom css. By style, I mean the background color, background image, font color etc.

    Also, I am looking for Ad plugins for my sidebar that can be used to embed flash/image Ads at a specific size. Please let me know a few good plugins that allow me to do this.

    Thanks in Advance.

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    re part one of your question:

    that depends on the way your theme has registered the sidebar;
    http://codex.wordpress.org/Function_Reference/register_sidebar

    not all themes have widget specific css ids and classes.

    check functions.php of your theme;
    and try using a browser inspection tool such as Firebug to investigate the css selectors of your widgets.

  3. arav369
    Member
    Posted 1 year ago #

    Hi admin,
    Thank you for the response.

    In the sidebar, I need to display the links of a particular category (say "pulse") in a custom order with an image, name and description for the first link alone, and just name and description for the remaining links. Also , I need 2 line breaks between the links. Please tell me how do I go about doing this.
    Currently I have coded this :
    <?php wp_get_linksbyname('pulse', '', '', '<br /><br />', TRUE, 'rating', FALSE); ?>

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic