Link within a one-page-area? - Forum | JoomShaper
Awaiting an answer SP Page Builder

Link within a one-page-area?

Asked by Torsten Hoppe 5 years ago Last activity 5 years ago

Hi everyone, I'm using page builder with helix on joomla 4. And I try to build a one-pager-site, so far so good, but now I want to create a menu which links to areas on the page. I've already defined the id for the area and created a link like index.php#area but the start area of the area disappears behind the sticky header. how can i fix this?
Regards
Torsten

2 replies

Ariba Staff

Hello

Thank you for your query.

Please set a padding top value for your defined id. If you provide the value same as the height of the sticky header (or more), it should appear correctly.

Kindly do let me know if that works.

Pavel

Hi. You need to compensate for the Header height.
Delete ID from the section. Add Raw Html Addon above all other addons and delete its default margins.
Add following code:

<div id="area"></div>

Use Advansed Tab to set position absolute and shift it up on Header height + some pxs for indent, as you like for design

Log in to reply.