Skip to toolbar

Find answers, ask questions, and connect with our
community around the world.

Forums Forums General Questions CSS re-styling of tabbed content? Reply To: CSS re-styling of tabbed content?

  • Alexis

    Member
    October 7, 2020 at 2:43 pm

    Hi @DaveReedMe ! Active tabs in the tabbed content block always have the “active” class. Your CSS selector should be “.wp-block-ub-tabbed-content-tab-title-wrap.active”.

    To override the plugin style, you may need to add the ID of the block to the beginning of the CSS selector. You can find this by inspecting the source code and going to the block’s main element. For example, since you’re looking for a tabbed content block, you’ll need to find the ID that’s formatted as “ub-tabbed-content-(unique hexadecimal code for the block)”. Your custom CSS should be able to override the plugin style once you specify the block ID. With all else being equal, your custom CSS should prevail over the plugin CSS.