Forums

[resolved] Nested div in sidebar is causing small visual glitch (3 posts)

  1. heiseheise
    Member
    Posted 10 months ago #

    I just started using the hierarchical categories sidebar function in WordPress today, which I noticed manifested itself as a new class called 'children' in the HTML. Of course, my ancient theme has no idea what that is, so I tried to manually add the hierarchy appearance.

    I went into my theme's CSS file and created a new entry called .sidebar-box .children with padding-left increased to 15px so that it would cause the child categories to stick out to the right more.

    As you can see @ http://heiseheise.com in the left sidebar, it worked, but it took out the right part of the sidebar, leaving it sticking out into my content column.

    How can I fix this? I figure it's probably pretty easy, I just don't know where to go from here.

  2. nisaiy
    Member
    Posted 10 months ago #

    just change your style as below:

    .sidebar-box ul ul{ width: 178px; }

  3. heiseheise
    Member
    Posted 10 months ago #

    I knew it must be something simple like that. :) Thanks for your help.

Reply

You must log in to post.

About this Topic