-
pnwcheryl
I’m trying to add some additional content — sort of a menu — on a section of pages underneath the menu in the off canvas panel using an element and the after_slideout_menu hook.
I’ve tried using the list block and the navitation menu block but neither will show on mobile devices. They show up on desktop and tablet. However, the headline block will show and if I type text under that it will show up — ultimately, I could use that but would prefer a list.
I’ve tried adjusting the css but cannot get it to show up.
-
Hi there,
Give this CSS a shot:
@media (max-width: 768px) { #generate-slideout-menu .my-fancy-list ul { display: block !important; } }
Learn how to add CSS: https://docs.generatepress.com/article/adding-css/
Make sure to clear your caching plugin.
-
pnwcheryl
Thank you!!! That worked.
-
No problem 🙂
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.