WordPress.org

Ready to get started?Download WordPress

Forums

How to get a blanc line between the widgets? (11 posts)

  1. Mariokluser
    Member
    Posted 5 years ago #

    Hello,

    I am a newbie and just figured out after a frustrating journey how to place something in the sitebar without letting all the other stuff disapear. The question how to prevent that the new stuff looks ugly or at least uses the theme-look has never been answered.

    However, I manualy pasted AdSense-code into the sitebar (as the feedflare by feedburner don't works and feedburner is not supported anymore, seemingly).

    My problem is that I would like to have a empty space between the calendar and de AdSense-blok underneath it. Is there anybody out there who can help me out?

    By the way: sorry for my English. I'm far away from native.

  2. Mariokluser
    Member
    Posted 5 years ago #

    If you want to take a look at the problem, my blog is http://www.mario-live.com/blog.

  3. Wendel Brume
    Member
    Posted 5 years ago #

    Put an empty text widget between the calendar and the text widget holding the Adsense?

    Or, add a <br /> above the Adsense code.

  4. Mariokluser
    Member
    Posted 5 years ago #

    Dear Wendel,

    Thank your for your reaction.

    I already tried
    , what doesn't work.

    When I add an empty widget I don't via Dashboard -> Design -> Widgets, I can't find this widget in the sidebar.php .

    Beside this it seems that every widget is added tot the top of the sidebar, but I can't find the code in the sidebar. I use the theme Fresh Editorial 1.9

  5. Mariokluser
    Member
    Posted 5 years ago #

    Just see another problem: When there is just one post shown, the sitebar is spread all over the place. Would using another theme fix this?

  6. PetraW
    Member
    Posted 5 years ago #

    Hi Mario,
    even if I don't know how to fix your special problem, I know that your Adsense column would already look a lot neater if you would choose "straight" corners (do not round them - as all your other stuff has straight corners, and if you make your Google Adsense the same width as the rest of the sidebar.
    Just to help you until somebody can figure out the rest!

  7. Mariokluser
    Member
    Posted 5 years ago #

    Hi PetraW,

    Your right. Thank you ;-)

  8. Mariokluser
    Member
    Posted 5 years ago #

    I don't want to add a new topic for everything I discover. So I would like to add an additional question to this one:

    When I change my theme, everything expect the posts disapears. After doing so I don't have a sibar, footer or any other menu. No archives, no links, nothing. Sounds this familiar to anybody?

  9. Mariokluser
    Member
    Posted 5 years ago #

    It seems that I'm not the only one who can't handle this.
    Makes it more bearable. (lol)

  10. Dennisnet
    Member
    Posted 5 years ago #

    I had the same problem.
    Fixed it by adding a text widget between the 2 widgets and wrote "
    " in it.

    Check http://www.dennisnet.org in the left footer to see the result.

  11. t31os
    Member
    Posted 5 years ago #

    Widget elements are automatically given CSS class, why not just add the necessary padding or margin to one of the generated elements..

    .widgettitle {margin-top:20px!important}

    No reason to create extra widgets to generate something this straight-forward.

    The above will create a space above each widget of 20px. Since your UL elements holding the widgets don't have a class the above should suffice.

    I can provide further examples if needed (CSS easy enough)...

    Or as an alternate.... something a bit fancier (not going to work for old browsers)..

    .widgettitle+ul:not([class]) {margin-bottom:20px!important}

    or

    #pp-sidebars .widgettitle+ul {margin-bottom:20px!important}

    or

    #pp-sidebars .widgettitle+ul:not([class]) {margin-bottom:20px!important}

    In any case, there's no need for extra empty widgets to archieve basic spacing...

Topic Closed

This topic has been closed to new replies.

About this Topic