scroll to offset
-
I am using a twenty-seventeen child theme as one page site. The main change is to add id’s to each panel and use that to enable scrolling from the menu items (no plugin).
When using
scroll_to_form="true"
it does scroll to
div id="vscf-anchor"
after submitting the form.However the line of text “Thank you! You will receive a response as soon as possible.” generated by the plugin is hidden by the sticky menu.
I have added 80px of padding to
#vscf-anchorwhich allows this to show, but wondered if you could add an attribute to the shortcode which would enable the ability to set an offset on#vscf-anchorwhen required, so it shows without having to use the padding.The page I need help with: [log in to see the link]
The topic ‘scroll to offset’ is closed to new replies.