Site logo

[Resolved] Off Canvas Panel width settings on mobile

Home Forums Support [Resolved] Off Canvas Panel width settings on mobile

Home Forums Support Off Canvas Panel width settings on mobile

  • This topic has 9 replies, 2 voices, and was last updated 5 years ago by Leo.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1819887
    Teris

    What is the best and easiest way to change the width of Off Canvas Panel? I managed to set change the height but setting the width turned out to be a problem. Style is slide and it is set on mobile only.

    #1819899
    Leo
    Staff
    Customer Support
    #1820306
    Teris

    Hello,

    Thank you but I can’t still make it 100% wide on mobile. I managed to make slideout-overlay transparent and the height is now 300 px. Can you check out the CSS? I’ll provide you login details.

    #1820739
    Leo
    Staff
    Customer Support

    Have you considered the Overlay style so it will be 100% width by default?
    https://docs.generatepress.com/article/off-canvas-panel-overview/#style

    Let me know 🙂

    #1820786
    Teris

    In that case how can I move the close button to the upper left corner? Just like it is when I activate Slide Style.

    #1820788
    Leo
    Staff
    Customer Support

    Any chance you can link me to the page in question?

    Thanks 🙂

    #1820791
    Teris

    Will do.

    #1820798
    Leo
    Staff
    Customer Support

    Try this:

    @media (max-width: 768px) {
        .main-navigation.slideout-navigation.do-overlay .slideout-exit {
            position: fixed;
            left: 0;
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know 🙂

    #1820809
    Teris

    Works like a charm. Thank You!

    #1820812
    Leo
    Staff
    Customer Support

    No problem 🙂

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