• Resolved takoateli

    (@takoateli)


    I’m using a WordPress theme which allows the use of widgets throughout the entire homepage. It seems like a great way to have the home page the modular to facilitate modification. However I would like it if the page still appeared to the user to be one contiguous page. Unfortunately there is a space between widgets which gives the page a disjointed plot. I found some things in CSS that I was able to change to make it better, but I’m stumped on one. I would appreciate any help anyone could give. Here is a link to some screenshots I took using firebug to explore the page. https://imgur.com/a/b6cek The object in question is just a colored bar to act as a spacer, and you can see the empty space below that in its containing object. I would greatly appreciate any help you could give in helping me eliminate that space! The site is at https://p2pchildbirth.staging.wpengine.com.
    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there takoateli,

    Hope you’re well today!

    I’ve checked your site in Chrome, Firefox and IE and I can’t see the space below the colored bar. Did you managed to fix the issue on your own?

    This is what I’m seeing https://screencast.com/t/DE5w0ZpxaeaZ.

    Best regards,
    Bojan

    Thread Starter takoateli

    (@takoateli)

    Thank you so much! What I tried and what you’re seeing is CSS to remove the space after a paragraph. but of course that is site wide and has effects on other areas which I would rather didn’t occur. Is there only way to remove the spaces after paragraphs only on the home page, or just for widgets?

    Hey again takoateli,

    You could use .home selector before the classes in your custom CSS which will affect those classes only on home page.

    An example would be:

    .home .yourclass {
    margin-bottom: 0;
    }

    This should target yourclass only on home page.

    Hope this helps ??

    Best regards,
    Bojan

    Thread Starter takoateli

    (@takoateli)

    thank you so much! That worked perfectly!

    Glad I could help ??

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove space between widgets?’ is closed to new replies.