Forums

Center all sidebar widgets? (4 posts)

  1. hmcke
    Member
    Posted 2 years ago #

    Hey Gang

    I'm over at http://designtavern.com

    I have recently installed a couple widgets that I am having trouble centering in the sidebar (namely my 'about' 'pages' 'categories' tab near the top of the page)

    i was hoping to find a way to center all plugins in my sidebar with css.

    though I would also settle for centering just the plugin mentioned above.

    Thanks in advance.

  2. Dene
    Member
    Posted 2 years ago #

    In your style.css, change :

    #sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    }

    to

    #sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    text-align: center;
    }

  3. hmcke
    Member
    Posted 2 years ago #

    Hi Dene, thank you for your reply

    Although that seemed to leave all the text nicely centered it didn't center the widget itself.

    In my own poor attempts at css I tried adding this..

    .fw_tabs_tabdisplay first{margin-left: .75em;}

    Though that didnt seem to do it.
    Any advice would be much appreciated

  4. Dene
    Member
    Posted 2 years ago #

    Hmcke -

    I'm not 100@ clear on what you are looking to do but....

    If you are looking to center the 'Fun with Tabs' widget, go to 'Appearance;Widgets'

    Select the drop down arrow next to 'Tabbed Sidebar 1'.

    There are styling options for the widget there.

    Try adding something like :

    margin-left:20px;

    to the 'Tab Content Container' section.

    Is that what you are looking to do? If not, could you give me a specific example of what you want to center?

    Good luck.

Topic Closed

This topic has been closed to new replies.

About this Topic