Jump to content

Adding Id To Tabs For Custom Heading Effects

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 Guest_nsb_*

  • Guests

Posted 20 January 2012 - 09:09 PM

I had a need to add some extra styles to the tab headings, so I added a numbered ID to each tab.

Here are the modified lines from widget.php:

77                     if ( true === $first ) {
78   ***                   $class = ' class="selected" id="tab' . $counter . '" ';
80                         $first = false;
81                     }
82                     else
83   ***                   $class = ' id="tab' . $counter . '" ';

*** -> added tab1,tab2 etc



#2 Ronald


    Forum Admin

  • Administrators
  • Others: All Plugins, All Themes, Moderators, Webdesign
  • 30,393 posts

Posted 22 January 2012 - 08:14 AM

good one, thanks for sharing!

Join the iThemes Builder Community on Google+.

To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. Please also read the forum guidelines.

When asking your question/posting your request on the forum, please be as concise and specific as possible. The shorter your request, the more to the point, the more specific, the easier it will be for us to try and help out.