Support » Theme: OceanWP » Off-Canvas filters activated by default on desktop

  • Resolved lamayas

    (@lamayas)


    Hi there,

    Is it possible to have the off canvas filters show by default, without clicking on the button first? This would be for desktop only.

    And if it’s possible, I’d also like to remove the overlay color that appears when the filters are active.

    Thanks in advance for any help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Unfortunately, that is not possible.

    If you want to keep the off-canvas opened then better to use the sidebar for the desktop.
    Disable the sidebar in mobile and off-canvas in desktop mode.

    Thread Starter lamayas

    (@lamayas)

    Hi Abhishek, can you please tell me how to disable the sidebar for mobile and the off-canvas just for desktop?

    Thanks for your help!

    Hello,

    ​Please try to add the below CSS code from the Appearance > Customize > Custom CSS, and check.

    @media screen and (min-width: 769px) {
    .woocommerce .oceanwp-off-canvas-filter {
        display: none;
    }
    }
    @media screen and (max-width: 769px) {
    .archive .widget-area.sidebar-primary {
        display: none;
    }
    }

    If not resolved with the above, share the page URL to check the issue.

    Thread Starter lamayas

    (@lamayas)

    That works, thank you!

    You are welcome.

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