[Support request] Back to top button disappeared after the last update

Home Forums Support [Support request] Back to top button disappeared after the last update

Home Forums Support Back to top button disappeared after the last update

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #577981
    Silvana

    Good morning, I have Generatepress premium installed on many of my own and clients’ sites (at least 20 sites) and since the last update I have been removed from each and every site I mention, the “Back to Top” buttons have disappeared.
    I consulted the forum and they dropped the subject. I really dislike the situation because this button is very important, especially because my sites are mostly One Page and require this function to be able to be navigated correctly. I urge you to review this issue and solve it, because it happens to be one of the reasons why I purchased Generatepress Premium. Pending a prompt solution, I thank you and warmly greet you.

    Silvana Paola Gonella

    Translated with http://www.DeepL.com/Translator

    #578091
    Tom
    Lead Developer
    Lead Developer

    Hi Silvana,

    If the URL is the same as your last topic, the issue is that you’re using a custom page template which doesn’t have the necessary GeneratePress hooks.

    The back to top button was added to the generate_after_footer hook, which is likely missing from your “Page Builder No Header Footer” page template.

    #578179
    Silvana

    Hi Tom, I use Additional Css in WordPress Customizer. In fact, in all the sites (20 that I mentioned before) I have a custom css to place the back to top button 88 px above the foter.
    Do I have to set the additional css to generate_after_footer?
    I did it that way and it doesn’t work. I’m not understanding what code to add to the hook or how to add it to the Page Builder No Header Footer template.

    I paste here the additional CSS I have on the sites

    .generate-back-to-top,
    .generate-back-to-top:visited {
    bottom: 88px; /* 88px from the bottom of your screen */
    right: 11px; /* 11px from the left of your screen */
    }

    But obviously something is missing that I don’t understand…. How do I tell Generatepress to add the hook of the Back to top button to the “Page Builder No Header Footer” template?

    Thank you for responding

    #578503
    Tom
    Lead Developer
    Lead Developer

    The generate_after_footer hook is inside the footer.php file: https://github.com/tomusborne/generatepress/blob/2.1.2/footer.php#L59

    Can you show me the contents of you custom page template you’re using? You can paste the file content into a pastebin and share the URL with me: https://pastebin.com/

    #578772
    Silvana

    Hi Tom, unfortunately I can’t paste the contents of the custom template to you, because in Appearance/Editor only the GeneratePress files are listed and that template belongs to the Fullwidth Page Templates plugin and does not show them to me in the editor.
    Anyway I leave you the url of one of the sites that lost the button after the generatepress update. https://aceitesesencialesarg.com/

    If you need access to wp I’ll be happy to pass it on to you if it tells me where to put it so that it doesn’t go public in the forum, yes?

    If I can’t fix it with hooks, I’ll have to install a plugin that provides me with that button, but it’s something I was avoiding doing at all costs, so as not to add weight to the site.

    Anyway, I thank you very much and I greet you warmly.

    #579039
    Tom
    Lead Developer
    Lead Developer

    Is there any particular reason you’re choosing to use that Fullwidth Page Template plugin?

    You can use the Page Builder Container section in our Layout metabox to set the page to full width: https://docs.generatepress.com/article/layout-metabox-overview/

    #579061
    Silvana

    Thanks a lot Tom, I’m going to read the documentation and as soon as I can try the metaboxes I’ll tell you if it was useful to recover the back to top button.
    Many thanks and greetings

    #579284
    Tom
    Lead Developer
    Lead Developer

    No problem – let me know if it works or not 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.