Site logo

Archived topic

Spacing Between Nav Bar & Content

7 replies · Started by Cassie Thomas on April 26, 2015

Viewing posts 1–8 of 8

Hi Tom,

I have a spacing problem between my navigation bar and my Revolution slider. I have generate spacing turned to 0, and my Revolution slider to the right height and width, but sense the short code for the slider is in the content of the page, I'm still getting some padding. I've tried to use some of the code you've previously posted for other users, but this didn't seem to help.

Here is the website
http://www.AmherstHall.com

The Revolution Slider shortcode pasted into the page content is
<?php putRevSlider("[rev_slider HomeSlider]","homepage") ?>

And the Generate Spacing is set to
0-40-0-40

Looks like there's an empty <p></p> tag right above the slider element. Instead of adding it inside the content and forcing it to be full width, why not add the slider shortcode into the Page Header metabox while editing that page (assuming you have the Page Header add-on)?

Great. That worked. You are so helpful.

Cassie

Happy to help! :)

Weird, I'm actually not seeing what's causing that space.

Can you de-select the option to vertically center your content?

I deselected that and it's still the same......I've tried a bunch of stuff to no avail....I made the background black to sort of hide it.

Hmm, it may be the slider causing the space. There's a huge amount of inline code being added by it.

You may be better off using a slider that doesn't add so much inline code (like Meta Slider for example).

Otherwise, you can try this CSS:

#wds_container1_0 {
      margin-top: -26px;
}
This archived topic is closed to new replies.