Linking to a #link

GK User
Tue Mar 03, 2015 2:22 am
On the home page, the one box has the following url http://www.mysite.co.nz/#restaurant I am trying to work out where the $restaurant is setup. Currently when clicked on it brings us a custom HTML module that is listed on the front page. I am wanting to point to a different custom HTML module but am at a loss as where to change it.
User avatar
Fresh Boarder

GK User
Tue Mar 03, 2015 8:18 am
Hi,
those #name - are name of sections in HTML code.
id.png


but sure in this template they can be overridden by template settings
and they are... so instead technical names you have "restaurant" etc.
User avatar
Platinum Boarder

GK User
Tue Mar 03, 2015 9:27 am
Perfect Thanks
User avatar
Fresh Boarder

GK User
Tue Mar 03, 2015 9:57 am
(!) remember this trick works only for section names.
But in Custom HTML modules you can add extra - addcional # --> id="myphone" which may be links to menu also. :mrgreen:
User avatar
Platinum Boarder

GK User
Sat Jun 20, 2015 1:06 pm
Actually i still don't understand how it works.
I just want to replace one of the front icons with a link to another article/module.
If i look at the html of the currently linked icons, i can't seem to find any reference to #restaurant #specials etc.
So I added <section>id="myphone" to the HTML and it jumps to the article now but not to the top of the article but halfway to the article??
What is it that i am doing wrong?
User avatar
Junior Boarder

GK User
Tue Jun 23, 2015 8:49 pm
Hi again,
I still can't get it to work.
If i want to link an icon on the header page to say for example to: #sales
What steps do i need to take?
I already made a custom HTML module at bottom6.
Did the override in the template settings: bottom6 - sales
But when I click the icon, nothing happens!
What am i missing here? Any help would be much appreciated! 8-)

harrytasker wrote:Actually i still don't understand how it works.
I just want to replace one of the front icons with a link to another article/module.
If i look at the html of the currently linked icons, i can't seem to find any reference to #restaurant #specials etc.
So I added <section>id="myphone" to the HTML and it jumps to the article now but not to the top of the article but halfway to the article??
What is it that i am doing wrong?
User avatar
Junior Boarder

GK User
Thu Jun 25, 2015 6:59 pm
In general if scroll works but it it moved into half of title or other important element, you have to increase top padding ... this is the only way without hard code.
User avatar
Platinum Boarder


cron