giving layout builder elements named anchors
-
Topic
-
I found one other topic in the forums which seems to deal with this need:
http://support.themeblvd.com/forums/topic/using-named-anchors-in-builder-elements/
but as it’s in a forum for a theme which I haven’t purchased, I can’t see the answer, so I’ll ask here…
I’m loving the layout builder, and I’ve seen the docs for using filters to add my own classes, but I would actually like to have unique html ID’s for some elements (particularly the headlines or dividers, maybe). This would make it very simple to use anchor links in my nav to scroll down to each element section on a very long page. Best case scenario would be a small option field inside each layout builder element box that allowed ID entry. But I’d even settle for something automatically generated, as long as I could copy it into the nav link.
Any ideas how I can pull this off in the current framework?
- You must be logged in to reply to this topic.