This topic has 9 replies, 2 voices, and was last updated 10 years, 6 months ago ago by Eva Kemp
How to set up a showing pictures to the site correctly in windws and mobile. In demo template all OK. https://www.8theme.com/site_demo/#theleader . Please sent tu screen admin panel.
Hello,
Could you please clarify with more details? What problems are you experiencing? Please give us the link to reproduce the problem and admin panel credentials in Private Content.
Regards,
Eva Kemp.
in mobile and windows (big resolution) version all bad looks.
https://www.8theme.com/forums/topic/change-tab/#post-2755 my post
“add_filter( ‘woocommerce_product_tabs’, ‘woo_reorder_tabs’, 98 );
function woo_reorder_tabs( $tabs ) {
$tabs[‘reviews’][‘priority’] = 5; // Reviews first
$tabs[‘description’][‘priority’] = 10; // Description second
$tabs[‘additional_information’][‘priority’] = 15; // Additional information third
return $tabs;
}”
not working in my site
take a look please
Hello,
I’ve changed the order of tabs on your pages.
You hadn’t changed the priority. If you want description to go first you should have written $tabs[‘description’][‘priority’] = 5; // Reviews first
$tabs[‘reviews’][‘priority’] = 10; // Description second
Could you please provide us with the screenshot how page is displayed in mobile device from your side?
Also please provide us with FTP credentials.
Regards,
Eva Kemp.
for tabs
and
Hello,
Sorry for a long delay.
Regarding this screenshot: http://vfl.ru/fotos/a4e820f25054389.html
You need set bigger value for images height in Theme Options > Shop > Product Sliders Height.
Regarding this one http://vfl.ru/fotos/bf3366425054388.html:
You need add the following code in custom.css file:
@media (min-width: 480px) and (max-width: 767px){
div.span4.product-category{
width: 50%;
}
}
And this one http://vfl.ru/fotos/27df9c7d5054387.html:
You’re using some additional plugin which shows products or product categories. And there is no responsive features for the classes of that plugin. So, you need to create css style for media queries for the plugin and its classes or you can use woocommerce standard shortcodes: http://docs.woothemes.com/document/woocommerce-shortcodes/
Also we’ve create a home page on your site as there was some mess with the display.
Regards,
Eva Kemp.
Thank you!
Here’s how I decided to question swap places tabs
in file tabs.php have to beat to make changes
<?php foreach ( $tabs as $key => $tab ) : ?>
<a href="#tab_<?php echo $key ?>" id="tab_<?php echo $key ?>" class="tab-title"><?php echo apply_filters( 'woocommerce_product_' . $key . '_tab_title', $tab['title'], $key ) ?></a>
<div class="tab-content" id="content_tab_<?php echo $key ?>">
<?php call_user_func( $tab['callback'], $key, $tab ) ?>
</div>
<?php endforeach; ?>
<?php if (etheme_get_custom_field('custom_tab1_title') && etheme_get_custom_field('custom_tab1_title') != '' ) : ?>
<a href="#tab_7" id="tab_7" class="tab-title"><?php etheme_custom_field('custom_tab1_title'); ?></a>
<div id="content_tab_7" class="tab-content">
<?php echo do_shortcode(etheme_get_custom_field('custom_tab1')); ?>
</div>
<?php endif; ?>
after change
<?php if (etheme_get_custom_field('custom_tab1_title') && etheme_get_custom_field('custom_tab1_title') != '' ) : ?>
<a href="#tab_additional_information" id="tab_additional_information" class="tab-title"><?php etheme_custom_field('custom_tab1_title'); ?></a>
<div id="content_tab_additional_information" class="tab-content">
<?php echo do_shortcode(etheme_get_custom_field('custom_tab1')); ?>
</div>
<?php endif; ?>
<?php foreach ( $tabs as $key => $tab ) : ?>
<a href="#tab_<?php echo $key ?>" id="tab_<?php echo $key ?>" class="tab-title"><?php echo apply_filters( 'woocommerce_product_' . $key . '_tab_title', $tab['title'], $key ) ?></a>
<div class="tab-content" id="content_tab_<?php echo $key ?>">
<?php call_user_func( $tab['callback'], $key, $tab ) ?>
</div>
<?php endforeach; ?>
Hello,
We’re glad you’ve found the solution.
That’s great.
If you have any questions feel free to contact us.
Regards,
Eva Kemp.
The issue related to '‘Mobile and windows ?’' has been successfully resolved, and the topic is now closed for further responses