[Resolved] Spacing Between Nav Bar & Content

Home Forums Support [Resolved] Spacing Between Nav Bar & Content

Home Forums Support Spacing Between Nav Bar & Content

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #102594
    Cassie Thomas

    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

    #102647
    Tom
    Lead Developer
    Lead Developer

    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)?

    #102823
    Cassie Thomas

    Great. That worked. You are so helpful.

    Cassie

    #102824
    Tom
    Lead Developer
    Lead Developer

    Happy to help! 🙂

    #103242
    Kevin Boling

    I tried this and it did not work. I want the slider to be directly under neath the navigation bar.

    http://www.fourseasonsmetals.com

    #103248
    Tom
    Lead Developer
    Lead Developer

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

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

    #103257
    Kevin Boling

    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.

    #103295
    Tom
    Lead Developer
    Lead Developer

    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;
    }
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.