Support » Themes and Templates » Separating widgets on sidebar

  • Hi.

    Does anyone know how to separate widgets on a sidebar so that they appear in separate, cutesy boxes instead of one god-awful, never-ending list? (see my website – – for an example of the latter.)

    Both the sidebars on the site are accessing the following CSS:

    #sidebar-top-custom {
    height: 500px;
    padding:10px 10px 40px 10px;
    border: 1px solid #dedede;

    Cheers in advance,


Viewing 5 replies - 1 through 5 (of 5 total)
  • Currently it’s not possible to apply any real styling to your sidebar content without editing the sidebars and adding some specific classes to the various blocks.

    Can you expand on that? I’m not au fait with divs and classes etc. Cheers, Ed.



    Forum Moderator

    how to get these extra classes onto your sidebar divs?

    read this:
    and then have a look into functions.php of your theme, and see how it is done there, and if you can edit it to include this class=\"widget %2$s\

    if you get stuck, you could copy the code of sidebar.php(?) and functions.php into a each and post these two links to the pastebins here.

    Thanks. Theme I’m b*stardising is Arthemia Premium, which seems to include a sidebar for every day of the year. The only sidebar I think is actually doing anything at present is #sidebar-top-custom, which is defined in the first few lines of sidebar.php. Have included the pastebin links:

    Sidebar.php =

    Functions.php =





    Forum Moderator

    make a safe backup copy of your theme before attempting to edit any theme files.

    you could try and edit this (line 33 of functions.php):

    register_sidebar(array('name' => 'Sidebar Top','before_widget' => '<div class="%2$s">','after_widget' => '</div>','before_title' => '<h3>','after_title' => '</h3>'));

    and then see if these extra classes are added to the sidebar div (‘View’ ‘Source’ in the browser).
    if, you could the try to design new styles based an these classes.

    edit: as you are working with a premium theme, you might get some support from the seller as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Separating widgets on sidebar’ is closed to new replies.