<a href="#restaurant">

GK User
Wed Aug 26, 2015 10:07 am
If I put a link with <a href ="#restaurant"> on "Herzlich Willkommen", the courser automatically scrolls down to "Der Gasthof" BUT the formatting at the hole welcome page gets confused.

Can you help me please?
User avatar
Expert Boarder

teitbite
Fri Aug 28, 2015 8:33 pm
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

teitbite
Mon Aug 31, 2015 10:43 am
Hi

I got Your site's url, but there is such link as <a href="#restaurant" /> anywhere, so I created it to test it, but after click I see nothing else than simply scrolling to the restaurant informations layer. Can You please explain what is the problem and restore the link to Your site ?
User avatar
Moderator

GK User
Mon Aug 31, 2015 2:03 pm
Sry I have tried something else.
Now <a href = "#restaurant"> is back on again.
You have to scroll down. (Screenshot)
User avatar
Expert Boarder

teitbite
Wed Sep 02, 2015 1:31 pm
Hi

I can see there are multiple validation errors on Your site https://validator.w3.org/nu/?doc=http%3 ... hp%2Fde%2F which made #restaurant displayed couple of times. Please correct them. Also I just realised that You do not need an anchor like: <a href="#restaurant"> , but a template feature like <div id="restaurant"> to slide to the it. In template configuration You can use any of the layers and add Your own title to it.

Here a detailed instruction how to use it properly: https://www.gavick.com/documentation/jo ... menu-links
User avatar
Moderator

GK User
Wed Sep 02, 2015 3:03 pm
Thank you very much! I have corrected the most errors. Do you know how I can correct the last 2 errors?

I don't really understand what you mean with "You do not need an anchor like: <a href="#restaurant">". Now it works fine, should I change it anyway?

Thank you for your help!
User avatar
Expert Boarder

teitbite
Sat Sep 05, 2015 3:21 pm
Hi

Template has a script implemented for a smooth scroll function. It will not work id You will use it like that:

Code: Select all
<a href="#restaurant"></a>


instead try using it in this syntax:

Code: Select all
<div id="#restaurant"></div>
User avatar
Moderator


cron