Nested div in sidebar is causing small visual glitch
-
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 @ https://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.
- The topic ‘Nested div in sidebar is causing small visual glitch’ is closed to new replies.