Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author WP Darko

    (@spwebguy)

    Hi Kasper!

    You can do that with the actual version of the plugin. For example, if you give your group of tabs a title of “mytab” then your tabs will get IDs like #mytabs-tab-0, #mytabs-tab-1 and so on.

    I hope this help, let me know if there’s anything else I can help you with.

    Thread Starter Kasper Rubin

    (@kasper-rubin)

    It’s that simple. Thank you ??

    Plugin Author WP Darko

    (@spwebguy)

    You’re very welcome!

    Plugin Author WP Darko

    (@spwebguy)

    You’re very welcome!

    Thread Starter Kasper Rubin

    (@kasper-rubin)

    Hey again. I added a title like so: [rtbs name=”rr” title=”rr”]

    And the href says #rr-tab-0, 1 and so on. But I don’t see an ID tag with which I can style the element.

    I meant the menu tabs.

    Plugin Author WP Darko

    (@spwebguy)

    Hi there,

    Sorry, it was confusing. You can’t add a title attribute like this. I was just saying that in your case, you can target your tabs by using the IDs (like #rr-tab-0).

    Like that for example:

    #rr-tab-0 {color:blue;}

    Do you know what I mean?

    Sorry, I’m not a native English speaker.

    Thread Starter Kasper Rubin

    (@kasper-rubin)

    And if I want to target the tab link itself?

    Plugin Author WP Darko

    (@spwebguy)

    Oh, the links! Didn’t know you were talking about the links, sorry.

    Good question, you can’t target it for now but it can’t do any arm if we add IDs and it’s not a bad idea so we’ll release an update for this.

    In one or two hours, if you’re still there (it’s night here).

    Thread Starter Kasper Rubin

    (@kasper-rubin)

    Thank you! Now please sleep. I can wait.

    Plugin Author WP Darko

    (@spwebguy)

    Hahaha!

    It’s done, you can update to version 1.3.1 now.

    Let us know how it goes!

    Thread Starter Kasper Rubin

    (@kasper-rubin)

    It works! Nice ??

    Plugin Author WP Darko

    (@spwebguy)

    Good to hear!

    Thread Starter Kasper Rubin

    (@kasper-rubin)

    The update work like a charm. However, the plugin styles are driving me nuts. There are styles written in css, javascript and php which makes it quite hard to override.

    Any suggestions?

    Plugin Author WP Darko

    (@spwebguy)

    Hi Kasper,

    This plugin wasn’t made for people to tweak the styles more than what’s do-able in the admin panel. Now you could use “!important” at the end of the stylesheet to override all the other styles.

    It should be avoided in general but if you clearly define your selectors it will not alter anything else.

    Three of our plugins are getting some parts re-written and our Tabs plugin is one of them. I’ll let you know when a new version is released.

    Plugin Author WP Darko

    (@spwebguy)

    The styles are written this way because some instructions are per tab group. I mean that when you set a color for example, it will apply to one set of tabs only.

    Our plugin allows you to add as many tab groups/sets of tabs as you want in a single page.

    Because of this, we can’t have a single stylesheet with a unique background color for example, because each tab group has its own background color.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Add ID to tab’ is closed to new replies.