Jump to content

products Tabs


Boutique da Tereza

Recommended Posts

Hola,

you can try to edit js and add the class "active" on every first element of tab section.

Like this

$(document).ready(function(){
	$( ".product-info-tabs > li:first-of-type" ).addClass( "active" );
	$( ".tab-content > h3:first-of-type" ).addClass( "active" );
	$( ".tab-content > #product-description-tab-content:first-of-type" ).addClass( "active" );
});

 

Edited by Matteo (see edit history)
Link to comment
Share on other sites

1 hour ago, Matteo said:

Hola,

you can try to edit js and add the class "active" on every first element of tab section.

Like this


$(document).ready(function(){
	$( ".product-info-tabs > li:first-of-type" ).addClass( "active" );
	$( ".tab-content > h3:first-of-type" ).addClass( "active" );
	$( ".tab-content > #product-description-tab-content:first-of-type" ).addClass( "active" );
});

 

thanks you. but in what file i put that ? :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...