- This topic has 20 replies, 4 voices, and was last updated 2 years, 11 months ago by
Fernando.
-
AuthorPosts
-
June 29, 2021 at 6:34 am #1838548
Benny
Hey there, i wondered if there is a solution to make the offcanvas menu slightly different with a button attached to the sliding menu panel like in the image.


on mobile it should look like this
June 29, 2021 at 11:25 am #1839007Ying
StaffCustomer SupportHi fragbenny,
Yes, it’s doable 🙂
Try to follow the steps below:
1. Go to appearance > elements, create a block element.
2. Add the button with the style you want, I would recommend using Generateblocks > Buttons block, so you can make the corner rounded and add a custom SVG icon to the button.
https://wordpress.org/plugins/generateblocks/3. If you have the Geneateblocks pro version, you can rotate the button under the effect tab. If not, leave it.
4. Add these 2 CSS classes to button > advanced > addtional CSS classes:
slideout-togglerotate-button.
https://www.screencast.com/t/gD85M7xTkv95. Choose
entire siteas location, choosehookas element type, chooseinside-slideout-navigationas hook name.
https://www.screencast.com/t/Ly142YUTRye6. Add this CSS to customizer > addtional CSS:
.rotate-button.slideout-toggle { position: absolute; left: -68px; transform: rotate(90deg); top: 30vh; } nav#generate-slideout-menu { overflow: visible; } span.menu-bar-item.slideout-toggle { display: none; }Adjust the value after
leftandtopto re-position the button.Let me know if this helps 🙂
June 30, 2021 at 3:46 am #1839538Benny
Thank you so much. Worked like charm and i found out i was working without generateblocks pro the whole time. I forgot to install it 😀
June 30, 2021 at 9:22 am #1840021Ying
StaffCustomer SupportHaha glad I reminded you to install GB pro 🙂
You are welcome 🙂
March 27, 2023 at 1:30 am #2583648Benny
This is broken with the latest gp update. Do you know why?
March 27, 2023 at 1:38 am #2583662Fernando Customer Support
Hi Fragbenny,
Can you share the link to the site in question?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
May we also know in what way it broke?
March 27, 2023 at 2:33 am #2583710Benny
The menu button disappeared entirely on my own website –> https://hechtinsgefecht.de/
It was working before, so i guess it happend after the latest update.March 27, 2023 at 6:09 am #2583956David
StaffCustomer SupportHi there,
can you check that GP Premium is still active on the site?
March 27, 2023 at 6:43 am #2584005Benny
Yes, it is.
March 27, 2023 at 8:46 am #2584348David
StaffCustomer SupportI don’t see any Navigation or site header element on the site. Have they been disabled ?
March 27, 2023 at 8:55 am #2584361Benny
Its an overlay that is on the right side. The button is left of it and if i click it, it slides the menu out entirely. But the button is gone, even if i (via webdev console) change the width of the slide panel so that i can see it. Maybe the hook isnt working anymore?
March 27, 2023 at 5:15 pm #2584854Fernando Customer Support
I see. The update shouldn’t make a Hook or any Element break. Can you provide admin login credentials so we can take a closer look at the issue?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
March 27, 2023 at 11:10 pm #2585018Benny
Here we go. You have to change the language though.
PS: The CSS is in a snippet (code snippets), not in the customizer.
March 27, 2023 at 11:41 pm #2585041Fernando Customer Support
Can you try #1 here to debug: https://docs.generatepress.com/article/debugging-tips/
It’s recommended to backup your site before proceeding with this.
March 28, 2023 at 12:53 am #2585116Benny
I can do 1 and 2.
Another theme would make no sense, i have 4096MB Memory and i host it myself on openlitespeed via runcloud/hetzner. I disabled the whole caching already but didnt help.I will test the other points!
-
AuthorPosts
- You must be logged in to reply to this topic.