[Resolved] custom background image for off canvas menu

Home Forums Support custom background image for off canvas menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1023115
    JBD

    Is there a way to use a custom background image for the full screen off canvas menu?

    Can this be further customised with different off canvas backgrounds for mobile vs desktop?

    Many thanks

    #1023262
    David
    Staff
    Customer Support

    Hi there,

    requires some CSS like so:

    /* Desktop */
    .main-navigation.slideout-navigation {
        background-image: url('full_url_to_image/image.jpg');
    }
    /* Mobile */
    @media (max-width: 768px) {
        .main-navigation.slideout-navigation {
            background-image: url('full_url_to_image/image.jpg');
        }
    }
    #1029019
    JBD

    Works perfectly. Many thanks.

    #1029172
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.