Support » Fixing WordPress » Dynamic Sidebar CSS

  • I’m having a problem customizing my dynamic sidebar. I’ve never had this problem before so I’m hoping someone can help me. The first 2 elements on the sidebar are following the stylesheet, but everything that follows is not and I can’t seem to find the reason.

    Here is the visual.

    Here is the functions.php

    if ( function_exists('register_sidebar') )
    'before_widget' => '<li>',
    'after_widget' => '</li>',
    'before_title' => '<h2>',
    'after_title' => '</h2>',

    Here is the sidebar.php

    [code moderated – please follow the forum guidelines for posting code]

    Here is the css:

    [dito – please post a link to your site]

    Any help is appreciated. thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • there must be some code breaking your sidebar.
    have you tried removing all / some of the widgets?
    please provide me with the url of your site so i can take a look

    The site was on maintenance mode right now which is why I couldn’t show you the live version 🙂

    You actually just solved it! what I did before was remove the widgets but I always placed them back to the same position as before. I never tried moving them around.

    Once I changed their positions I saw that the code broke only after the chatbox. It seems I had an extra </div> in the widget which was breaking my code. It never crossed my mind that it could be the code in the widget …. something so simple.

    This is what happens when you stare at something to long.

    Thank you!!

    you’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamic Sidebar CSS’ is closed to new replies.