• Resolved Marklcm

    (@marklcm)


    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-anchor which 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-anchor when required, so it shows without having to use the padding.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi Mark (I guess),

    I have installed TwentySeventeen myself a few moments ago and notice whole content area shifts underneath the navigation when scrolling down, so that’s how this theme is build. There’s no other solution here besides using margin or padding, I’m afraid. I can add the offset attribute, this might be a nice addition. But, this will also be something similar, so an attribute to add margin or padding.

    Guido

    Thread Starter Marklcm

    (@marklcm)

    thanks Guido
    I thought it might be a nice addition for those who do not know css.
    Perhaps an offset could only be applied when scroll to vscf anchor is used, i.e. when submit button is clicked. That way the form does not have the padding all the time.

    It is quite alright with padding though.

    thank you for your plugin and support.
    Marking this as resolved

    Thread Starter Marklcm

    (@marklcm)

    Perhaps it would be possible to add a hook in your plugin which would enable filtering the output, which would enable being able to choose an id at the top of the section without hacking the plugin.

    Just a thought.

    Plugin Author Guido

    (@guido07111975)

    Hi Mark,

    Using a fixed padding will not work for everyone, so another (shortcode) attribute or hook is a better solution. To be honest, the custom CSS is a quick but solid fix. But indeed, some users don’t have the knowledge to do this. Can add a explanation in the Q&As of the readme file, for now.

    By the way, I noticed your other thread regarding a date issue of my events plugin… did you already solve that one?

    Guido

    Thread Starter Marklcm

    (@marklcm)

    Thanks Guido
    I,ll reply in other topic

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘scroll to offset’ is closed to new replies.