Support » Theme: Twenty Twenty-One » How to remove the outline when submenu toggle button is active?

  • Resolved yohannh

    (@yohannh)


    I’m trying to remove the outline that appears around the submenu toggle button when active. Any help would be appreciated.

    • This topic was modified 5 months, 2 weeks ago by yohannh.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry, I misunderstood what you were asking!

    Please try adding this to “Customizer – Additional CSS” …

    .primary-navigation > div > .menu-wrapper .sub-menu-toggle:focus {
    outline: none;
    }

    Let me know if it works and I’ll add it to the plugin.

    Oliver

    Thread Starter yohannh

    (@yohannh)

    it didn’t at first but I added !important and it worked.

    .primary-navigation > div > .menu-wrapper .sub-menu-toggle:focus {
    outline: none !important;
    }

    Thank you so much!

    Yohann

    Thread Starter yohannh

    (@yohannh)

    I had a bunch of additional CSS already. I’ll clean that up and let you know if or why it was necessary.

    Thanks!

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