Scroll to anchor

boxzed's picture
boxzed
Wed, 09/28/2016 - 06:36
#1
Scroll to anchor

We had some links on our website to a specific place based on anchors. When we clicked on such a link some part scrolls under our menubar. Can we change some settings so that the specific place is nice under our menu.

phuonght's picture
phuonght
Wed, 09/28/2016 - 23:03

Hi,

Can you please describe more? We can not understand clearly. Some screenshots are good too.

boxzed's picture
boxzed
Fri, 09/30/2016 - 04:02

Hello,

We have a few blocks on our home page (intro of solutions) that should link to a page with all the solutions to the specific section.

Image title

Image title

We used anchors (sections) for this. 

Image title

The problem we have is that the anchor scrolls to deep into the page. Always a few centimeters to low. 

You can visit our website here:

http://www.boxzed.be/business/

Thanks in advance!

phuonght's picture
phuonght
Fri, 09/30/2016 - 04:31

Please take a look at following example:

http://stackoverflow.com/questions/11919766/offsetting-scrolltop

then add js code to set automatic scroll to section with your ID section and have a gap from top screen (offset).

boxzed's picture
boxzed
Tue, 10/04/2016 - 09:45

We have looked at the link.

But can you tell us in wich file exactly we had to add or change this? 

khoa's picture
khoa
Tue, 10/04/2016 - 22:48

Hi,

Please try to add more padding-top to the section that is hidden by the menu.

Thanks!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.