This topic has 10 replies, 3 voices, and was last updated 7 years, 8 months ago ago by Eva Kemp
Hello there!
I want to change the order in wich the labels are distributed, for example here
http://www.versatilmusic.uy/producto/vintage-overdrive/
The comments, I’d like them to be at bottom, not in the middle, is that possible?.
And another quesion, the price filter button, the one from woocommerce, I need to change its colour, can you give the css code to do that?.
Thanks in advance, have a nice day!
Hello,
You can reorder tabs as described in Woocommerce documentation https://docs.woothemes.com/document/editing-product-data-tabs/ .
To change Price Filter button color use this css code in Theme Options > Custom CSS > Global Custom CSS:
.price_slider_wrapper .price_slider_amount button {
color: white;
background-color: red;
}
Write your color values.
Best regards,
Jack Richardson.
The filter button is fixed, thanks a lot!
The woocommerce documentation does not say where to put that piece of code, do you know where to put it?.
And the last question, is there a way to add a “register” button next to “log in”?, because I don’t seem to have one.
Thats it.
Thanks jack!
Hello,
You need add the code in theme functions.php file.
How to add Register link please refer to our documentation https://www.8theme.com/demo/docs/royal/#!/4_registration_page .
Best regards,
Jack Richardson.
Hello, thanks for the answer!
I could add the register page and inster the woocommerce code to reorder the tabs, the thing is that there is one of Royal’s tabs, that I use, that is not being reordered. I asume that is because this piece of code works only for woocommerce tabs no the one native from the theme. Now I have this piece of code
<div class="tabs left-bar">
<ul class="tabs-nav">
<li>
<a href="#tab_description">Descripción</a>
</li>
<li>
<a href="#tab_reviews">Comentarios (0)</a>
</li>
<li>
<a href="#tab_7">Especificaciones y Contenido</a>
</li>
With the code given by woocommerce I can’t tell to “tab 7” to place at the middle, betwen description and reviews. I tried using this code in functions.php
`add_filter( ‘woocommerce_product_tabs’, ‘woo_reorder_tabs’, 98 );
function woo_reorder_tabs( $tabs ) {
$tabs[‘description’][‘priority’] = 5; // Description first
$tabs[‘7’][‘priority’] = 10; // Tab 7 second
$tabs[‘reviews’][‘priority’] = 15; // Reviews last
return $tabs;
}`
Any ideas?, maybe i’m missing something
Thanks a lot!
Hello,
Please specify how you want to order the tabs on single product pages.
Thank you.
Regards,
Eva Kemp.
Hi
In the way it is shown on the funcions.php example.
Description – FIRST
TAB 7 – SECOND
Comments – Third and last
Thanks a lot!
Hello,
Unfortunately we can only make Tab 7 as the first tab. Do you agree with it?
Regards,
Eva Kemp.
That will work fine.
How can I do it??
Thanks.
Hello,
I’ve edited the file wp-content/themes/royal/woocommerce/single-product/tabs/tabs.php
Please check tabs on single product pages. Now Custom tab is shown the first.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up