Hi,
I need to add a custom sub menu which I have done with ‘full-width sub menu’ that links to a layout element, so when it is clicked, it scrolls down to the correct place.
I have added add_theme_support(‘avia_template_builder_custom_css’); to my functions to be able to add Custom Css Class’ to regular layout elements. I have named my elements and have linked them to my sub-menu.
The Layout elements are inside a Grid row.
So when I link http://www.domain.com/#layoutelement it doesn’t scroll down for some reason. So please could you assist me in finding a solution?
Hey alxbosman,
Could you provide us with a link to the site in question so that we can take a closer look please?
Best regards,
Rikard
please see private content
Hi,
Thanks for the link, I’m not sure which link you are having problems with though? I would try using the full URL in your menu, right now all the anchors are going to yoursite.com/home/#anchor
Thanks,
Rikard
Apologies, I linked to the wrong page for some reason. Please see below.
TY
Hi,
Ok, thanks for the link. Not sure but I’m guessing you want to link to a section using ID? Then you will need an element with that ID, for example:
<div id="test">
Content
</div>
You can add an ID to a color section element, otherwise you would have to use it in a text or code block element.
Thanks,
Rikard