• Is there any code snippet which I can apply to functions.php that will prevent widgets from showing hierarchy? I dont want to some themes look:

    First
    …….Second
    ……….Third
    …………Fourth (without dots, I cant indent here, so I type dots)

    I want everything to be flat, indent:

    First
    Second
    Third

    I saw that there is an option for categories widget to not show hierarchy in wp admin, but not for pages. I dont want to code this in the sidebars, cause widgets will be called via wp admin..

    Tnx in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Sinisa Nikolic

    (@sin2384)

    Anyone?

    it is probably more a css issue with indented ordered or unordered list styles – check your style.css for something roughly like ul ul {padding-left:20px; } or similar styles.

    if you post a link to your site, someone might have a look and might give some advice …

    Thread Starter Sinisa Nikolic

    (@sin2384)

    Tnx man, you lead me to the right direction! Problem was, I always styled .widget ul li, but the right solution was to style #sidebar ul li! Parent of parent! Never thought on that until now.

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove hierarchy in widgets’ is closed to new replies.