WordPress.org

Ready to get started?Download WordPress

Forums

Increase space between items in sidebar (5 posts)

  1. yeleek
    Member
    Posted 6 years ago #

    Hi,

    I based my theme on another theme (with permission). What I've noticed is that when using widgets in the sidebar instead of the default sidebar the space between widgets is very small. I've tried to find the css to alter it but cannot - can someone help please?

    http://www.yeleek.co.uk/

    Thank you

  2. chrismen
    Member
    Posted 6 years ago #

    line-spacing?
    top/bottom margin?
    padding?

    Those css codes could probably do it. If you need some help with css go to w3schools.com.

  3. yeleek
    Member
    Posted 6 years ago #

    Would have thought so too - however as i say only occurs when widgets used. Not the default sidebar.... Tried changing them too can't find it.

    Thanks

  4. EyePhoto
    Member
    Posted 6 years ago #

    Maybe try adding a 'break' or other html formatting in the sidebar.php file where the call for the 'Widgets' code is.

    As I don't use them not sure if that would work, just a thought.

    Eye

  5. yeleek
    Member
    Posted 6 years ago #

    Had a look at that - sounds good. Only reference in the sidebar is for

    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>

    And then it just lists the sidebar as it would appear if widgets are not used.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags