• 0

DMS 2 Scrollspy issue


Question

Posted · Report post

Hi,

 

I'm having an issue with the scrollspy section. When I click on one of the buttons, it brings me down to the relevant content, but in the middle of the header text (which contains the scrollspy tags) as shown: http://grab.by/wNri

 

The page should scroll down to just above the header text something like this: http://grab.by/wNta

 

I know that scrollspy isn't meant for use with sections, but I tested it with content inside a single text box and had the same issue.

 

http://cavistons.com/food-emporium/cheese/

 

 

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

Hi,

 

The issue as far as I can tell is because of the way your header is configured. Therefore, if you add the following to your custom CSS, it should resolve your issue.

 

#site .scroll-header {
margin-top: -50px;
padding-top: 50px;
}
1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

The issue looks to be because of the use of the Hero unit without the use of the Header section. 

 

I am looking at your code but it looks like the header is blank and the  <h3> Selecting Your Cheese</h3> text is in the body rather than the header. 

 

Try adding <h3> Selecting Your Cheese</h3> into the header area. 

 

Let me know if this is not how you have set this up. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

That's not it unfortunately; here's a screengrab of my hero settings: http://grab.by/wPgG

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Danny, that did the trick.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now