rainyg
Forum Replies Created
-
Hi! I’ve managed to create the page-specific classes and they’re working well! 🙂
Thanks for the fantastic suggestion!
Could you be so kind to guide me through an example of how I can actually target an individual page using that “page specific” classes? I’ve done a google search and it seems like I’ll have to edit the javascript codes? I’m still quite raw at programming so pardon me if my question might seem a little silly to you hehehe
Hi all~ just a little update.
I’m not sure if this is the right way of doing this but I’ve resolved this by creating and hiding an empty tabby div where the shortcode is at.
<div id="hiddentabby">[tabby][tabbyending] </div> [tabby title="First Tab"] Tabby ipsum dolor sit amet, kitty sunbathe dolor, feed me. [tabby title="Second Tab"] Lay down in your way catnip stuck in a tree, sunbathe kittens. [tabbyending]This way, the tablist count adds by 1 thus giving them a unique ID!
Thanks for your help once again cubecolour!
Hi cubecolour,
Thanks for your speedy reply!
So basically I’ll have to add
<?php remove_action('wp_print_styles', 'cc_tabby_css', 30); ?>
into the child theme’s function.php to prevent the loadup of the default style.But how do I actually create 2 different sets of styling for each set of tabs? The class names will remain the same even though they’re in a different page right? So in this case, is it possible to create unique class/ids for the 2 different sets of tab?
For example
I have the first group of tabs:tab 1, tab 2, tab 3 in the homepageand I would like a second group of tabs: tab 4, tab 5, tab 6 in the about page.
I would like to customise the styling for the 2 different set of tabs.Sorry if I did not manage to fully understand what you meant in your reply! Really appreciate your help