- This topic has 9 replies, 2 voices, and was last updated 1 year, 6 months ago by
Leo.
-
AuthorPosts
-
January 27, 2021 at 1:32 pm #1636144
Kasia
When I add a navigation menu to the off canvas panel via a widget in the Off Canvas it doesn’t work at all and I am unable to style anything. When I add it by assigning it in the GP customizer under, menu the widgets show up below the menu. I want to be able to add the company’s branding (a logo, their name, and tag line) before the mobile menu, Is this possible?
January 27, 2021 at 5:37 pm #1636267Leo
StaffCustomer SupportHi Kasia,
Try this CSS to move the slideout widgets before the menu:
.slideout-navigation .inside-navigation { display: flex; flex-direction: column-reverse; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 28, 2021 at 10:31 am #1637344Kasia
Yes this worked great. Last question, probably a tall order. Is there a way to sandwich the menu? meaning if I wanted to add a widget after the menu, as well as before… The column-reverse trick worked great, and I’ll need to read up on this.
Previously was using another plugin for this, but am trying to use fewer plugins so sites load faster and learn more native features of GP.
Thanks for you help.
January 28, 2021 at 1:19 pm #1637499Leo
StaffCustomer SupportIs there a way to sandwich the menu? meaning if I wanted to add a widget after the menu, as well as before
Should be doable with CSS. Can you add the widget you want to appear after the menu in and I’ll provide the code?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 28, 2021 at 1:32 pm #1637515Kasia
Done! Hoping to place the “serving addison…” below the menu (while leaving the logo and care of fine landscapes at the top above the menu). Thank you so much for the help. I’ll have an example to follow forever after.
January 28, 2021 at 6:57 pm #1637657Leo
StaffCustomer SupportTry this CSS:
.slideout-navigation .inside-navigation #custom_html-8 { order: -1; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 29, 2021 at 9:25 am #1638558Kasia
Wow you are a genius. Thank you. I will do my best to figure out why and how that worked so that I can apply it to future projects.
Thank you again.
January 29, 2021 at 10:43 am #1638664Leo
StaffCustomer SupportGlad I could help π
Flexbox is awesome:
https://css-tricks.com/snippets/css/a-guide-to-flexbox/Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 29, 2021 at 10:45 am #1638668Kasia
Thank you always something new to learn. Will have to get this stuff under my belt. Thank you again for everything and pointing me to this resource.
January 29, 2021 at 10:51 am #1638683Leo
StaffCustomer SupportNo problem π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.