This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Sticky menu X anchor sections

Resolved 10 replies customizationthemetheme-vantage
9 years ago · Last reply by Larissa Castanheira 9 years ago

So, I’m trying to make an onepage website, using vantage theme. And I’m having trouble with the sticky menu, as it hides the anchor sections behind it, that are aligned to the top.

In order to prevent this, I was using this code:

h1:before {
	display: block;
	content: " ";
	margin-top: -200px;
	height: 200px;
	visibility: hidden;
}

And it was working very good, until I changed the metaslider for one of mine, and then starts do appear the “block” that I wish was hidden from visibility.

Someone knows something about it?

Thank you!

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

10
  1. Alex S Staff 9 years, 6 months ago

    Hi Larissa,

    I would personally suggest switching to a plugin based solution as CSS methods to do this, as you’ve experienced, can be unreliable. We recommend the excellent Page scroll to id. Once installed please navigate to WP AdminSettingsPage scroll to id and then tick Enable on WordPress Menu links and set the offset to either a manual amount or #masthead

    How does that look?

    • Larissa Castanheira 9 years, 6 months ago

      Hi, Alex.

      first, thank you. second, it’s not working properly. Even commanding the offset to #masthead or 200px.. simply doesn’t work, the navigation menu is still in front of the content.

      Is there any extra configuration? or do i need to set up manually some code?

  2. Alex S Staff 9 years, 6 months ago

    Hi Larissa,

    Would it be possible for you to create a temporary admin account for us so we can log in and take a look?

  3. Alex S Private Staff 9 years, 6 months ago

    This is a private message.

  4. WordPress Private 9 years, 6 months ago

    This is a private message.

    • Larissa Castanheira Private 9 years, 6 months ago

      This is a private message.

      • Alex S Private Staff 9 years, 6 months ago

        This is a private message.

  5. Alex S Staff 9 years, 6 months ago

    Hi Larissa,

    Spotted the issue. Your links aren’t correct.

    You were using:

    http://your.website/pagename#example

    It should be either:

    http://your.website/pagename/#example

    Or just:

    #example

    I changed your offset to 200 rather than a selector.

  6. Larissa Castanheira 9 years, 6 months ago

    Thanks!

    It’s all good now!

    =)

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread