Support » Theme: OceanWP » need to open off canvas filter with the button of my choice

  • anand99

    (@anand99)


    need to open off canvas filter with the button of my choice(the button is elementor icon or button with id or class as xyz)

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Abhishek

    (@abhikr781)

    Hi,

    Create your button and Try to use this class for the off canvas filter – “oceanwp-off-canvas-filter”

    Ex – Filter

    Thread Starter anand99

    (@anand99)

    it works in shop page only,, also when this class is added in elementor button a square box is created around that icon ex /product/dexolac-supplement-special-care-infant-formula-for-premature-low-birth-weight-baby-500-gm/
    but not in home page

    Thread Starter anand99

    (@anand99)

    i think the box like boarder is shown because the class also includes boarder of filter

    Abhishek

    (@abhikr781)

    Actually, Off-canvas scripts loads only on the shop page so it will work only on that. For other places, you can use the Off-canvas button of the ocean elementor widget.

    Thread Starter anand99

    (@anand99)

    https://pasteboard.co/JtsOFIj.png+
    a square box appears when class for the off canvas filter – “oceanwp-off-canvas-filter” is added in elementor icon (mobile version) currently class is disabled for desktop

    Abhishek

    (@abhikr781)

    Can you please replicate the issue? and share the page URL to check.

    Thread Starter anand99

    (@anand99)

    Done

    Abhishek

    (@abhikr781)

    Hi,

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

    a:focus {
        outline: 0;
    }
    
    Thread Starter anand99

    (@anand99)

    not working

    Abhishek

    (@abhikr781)

    Hi,

    please try to replace the CSS code with this one.

    a: focus {
    outline: 0px !important;
    outline: none !important;
    }
    Thread Starter anand99

    (@anand99)

    TRIED BUT NOT WORKING

    Abhishek

    (@abhikr781)

    Sorry, but it should work. Try to clear the server and site cache and check.

    try once the below code also.

    
    a:focus {
     outline: 0 !important;
    }
    
    Thread Starter anand99

    (@anand99)

    this css is not working

    po_md

    (@po_md)

    Hi there, how were you able to get the button working on your site?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘need to open off canvas filter with the button of my choice’ is closed to new replies.