WordPress.org

Ready to get started?Download WordPress

Forums

Squelch Tabs and Accordions Shortcodes
[resolved] Style Hyperlinks in tabs (6 posts)

  1. dono0034
    Member
    Posted 9 months ago #

    When adding content to a tab, any color styling in hyperlinks seems to disappear. If I add the hyperlink outside of the tab, it appears blue, but when I place it in the tab - it appears black just like the rest of the text. In both cases, it will underline on hover, but that's it. I've tried a couple of themes and in both cases the links are black.

    How can I make the links appear blue?

    Thank you

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

  2. Matt Lowe
    Member
    Plugin Author

    Posted 9 months ago #

    Hm, well spotted... I've never noticed that. I'm amazed the plugin's been live for this long without anyone reporting this as an issue. For some reason (I've no idea why) jQuery UI overrides your theme's chosen styles for links; To put them back to your theme's defaults you'll need to add some CSS along the lines of:

    .squelch-taas-override .ui-widget-content a {
        color: blue; /* Replace blue with the relevant colour */
    }

    The correct colour will of course depend on your theme.

  3. dono0034
    Member
    Posted 9 months ago #

    This fix worked like a charm. Thanks!

  4. DER705
    Member
    Posted 5 months ago #

    Hi dono0034,
    hi Matt,

    I have the same problem and I added the CSS code to the following CSS files:

    theme style.css
    squelch-tabs-and-accordion.css
    jquery-ui-classic.css
    jquery-ui-fresh.css

    without any success.

    How did you fix the problem?

    Best regards
    Thank you

  5. DER705
    Member
    Posted 5 months ago #

    Hi,

    the problem is solved.
    It has been a 'user-problem'.
    I had installed a second tab-plugin.
    After disabling, everyting is fine!

    Thank you

  6. Matt Lowe
    Member
    Plugin Author

    Posted 5 months ago #

    OK, thanks for letting us know.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags