I'm using the Atomic template by GiantFocal to create our HubSpot website and would like to make use of anchors on every page to aid navigation, directing prospects to information that's of most use to them.
I'm well aware of how anchors work and within other website builders the process is pretty straightforward. I don't want to create an anchor within a module, but what I'd like is for the top of the module to act as the anchor. My ability to code is a little rusty, so any assistance would be appreciated.
(I've already cloned the original template so it can be edited as some modifications have already been made).
Right-click on a section of the page you want to link to and click Inspect
Locate the ID for that section
As an example, I pulled this third section from the template you stated using:
Example: the ID for this section is hs_cos_wrapper_dnd_area-module-2 (you'll need to copy this)
Link whatever you're wanting to as you would normally do but, instead of copy and pasting the link, paste the ID with a # in front of the ID so it should look something like this:
Right-click on a section of the page you want to link to and click Inspect
Locate the ID for that section
As an example, I pulled this third section from the template you stated using:
Example: the ID for this section is hs_cos_wrapper_dnd_area-module-2 (you'll need to copy this)
Link whatever you're wanting to as you would normally do but, instead of copy and pasting the link, paste the ID with a # in front of the ID so it should look something like this:
@Simon_MyLeads good news and bad news... first the good: each module has a unique ID added to them when you add it to your page. To find it, right click and inspect the module and look for an id that looks like "hs_cos_wrapper_widget_123123123" where 123123 is the unique number given to it.
So the bad news: obviously it's not a great looking anchor link since it doesn't provide any context. If you want a pretty anchor link you'll want to make it inside your module yourself. Hope that helps!