Forums

[resolved] creating spaces between widgets in side bar (6 posts)

  1. hibees
    Member
    Posted 4 years ago #

    hi m,y site is http://videomongrel.com

    hi i am new to wordpress and have worked out how to add rss feed widgets and other text widgets to my sidebar. however they seem to be crammed close together. i was wondering if anyone can tell me how to create small spaces between them, just like there is between "recent posts", "categories" and "archives".

    any help appreciated, thanks, Jamie.

  2. hibees
    Member
    Posted 4 years ago #

    sorry i've butchered the sites homepage momentarily, i'll post when its fixed so you can see what i'm talking about.

    thanks, Jamie.

  3. blogcms
    Member
    Posted 4 years ago #

    Should be done in your stylesheet (usually style.css) using padding:8px 0; or similar on the div class containing the widgets.

  4. hibees
    Member
    Posted 4 years ago #

    thanks for the reply.

    i added:

    "padding:8px o;"

    to the bottom of my rss feed text widget code and all that happened was the code actually appeared on my site. do i have to actually add the code inside the existing code somewhere? sorry i really am clueless?

  5. cezarneaga
    Member
    Posted 4 years ago #

    what blogcms meant is you have to go to your wp-content/themes/[your theme]/style.css open it with notepad and add a the following there:

    .widget{
    padding: 12px 0;
    }

  6. hibees
    Member
    Posted 4 years ago #

    thanks mate, got it to work eventually.

Topic Closed

This topic has been closed to new replies.

About this Topic