This topic has 8 replies, 2 voices, and was last updated 9 years, 3 months ago ago by Eva Kemp
Hi Eva,
Sorry to post a new topic, but I couldn’t reply to the previous topic anymore as the thread was close (I guess). However, I deleted the code on line 45 <?php if($i == 1) echo ‘style=”display:block;”‘; ?> and fixed the tab, because it is closed by default now.
The only problem that arises now is that I can’t see the contents anymore. It doesn’t open or close at all.
Hello,
Please provide us with FTP credentials.
Thank you.
Regards,
Eva Kemp.
Here you go:
By the way: If changes are made in the tab.php file is this then lost when I update the theme or woocommerce?
Hello,
I’ve moved tabs.php file to woopress-child/woocommerce/single-product/tabs directory as you have child theme activated and removed the code <?php if($i == 1) echo 'style="display:block;"'; ?>
. Please clear browser cache and check the tabs now. The changes won’t be lost after update because the file is located in the child theme directory.
Regards,
Eva Kemp.
Thanks Eva,
The first tab opens but the accordeon effect is lost so the content of the first tab goes beyond/over the second tab. Also I don’t like that you see two horizontal lines instead of neatly divided tabs by a single line.
For the extra tabs I use the plugin sb_add_woocommerce_tabs.php. Maybe this has something to do with it?
Hello,
Concerning the borders add this code in child style.css:
.tabs-after_image .tabs.accordion .tab-title.opened::before {
display: none;
}
.tabs-after_image .tabs.accordion .tab-title.opened {
border: none;
}
The tabs content issue will be fixed in the next theme update.
Sorry for inconveniences.
Regards,
Eva Kemp.
Okay thanks for you help so far. Hope the new update will appear soon!
Hello,
You’re welcome.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up