WordPress.org

Forums

Squelch Tabs and Accordions Shortcodes
[resolved] Change background color of single tab (4 posts)

  1. callerpatty
    Member
    Posted 11 months ago #

    I have a client using your tab plugin, and he would like us to highlight the second tab with a specific background color.

    I tried adding the following to my theme's css, but nothing changed:

    .squelch-taas-accordion-shortcode-content-1 {
    background: #000000;
    }

    am I missing something? thanks in advance!

    https://wordpress.org/plugins/squelch-tabs-and-accordions-shortcodes/

  2. Matt Lowe
    Member
    Plugin Author

    Posted 10 months ago #

    Apologies, your question somehow slipped through the cracks.

    If it's the background of the TAB that you want to change, rather than the background of the panel, then you'd want something like:

    #ui-id-2 {
        background-color: red;
    }
  3. ski4life
    Member
    Posted 9 months ago #

    Hi Matt,
    what about the background to the panel?
    and background to the text box too?
    thanks!

  4. Matt Lowe
    Member
    Plugin Author

    Posted 2 months ago #

    Hi ski4life,

    You would need to get the ID of the panel and write a style for it. e.g.

    #squelch-taas-tab-content-2-9 {
        background-color: red;
    }

Reply

You must log in to post.

About this Plugin

  • Squelch Tabs and Accordions Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.