Dynamic Sidebar CSS (4 posts)

  1. niya
    Posted 4 years ago #

    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

  2. Radu Ganea
    Posted 4 years ago #

    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

  3. niya
    Posted 4 years ago #

    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!!

  4. Radu Ganea
    Posted 4 years ago #

    you're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic