- This topic has 7 replies, 2 voices, and was last updated 2 years, 12 months ago by Tom.
May 17, 2018 at 7:46 am #577981Silvana
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/TranslatorGeneratePress 2.1.2GP Premium 1.6.2May 17, 2018 at 8:39 am #578091TomLead DeveloperLead Developer
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_footerhook, which is likely missing from your “Page Builder No Header Footer” page template.May 17, 2018 at 9:50 am #578179Silvana
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
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 respondingMay 17, 2018 at 8:17 pm #578503TomLead DeveloperLead Developer
generate_after_footerhook 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/May 18, 2018 at 5:38 am #578772Silvana
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.May 18, 2018 at 10:49 am #579039TomLead DeveloperLead 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/May 18, 2018 at 11:10 am #579061Silvana
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 greetingsMay 18, 2018 at 9:21 pm #579284
- You must be logged in to reply to this topic.