[Skip to main content](#vessel-content)

#   Tabs not closing

##

- **[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")**
- [![kyteasdale's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31211-kyteasdale "View kyteasdale's Profile") Topic Author
- [ Offline](/forum/user/31211-kyteasdale)

Less More

- Posts: 53
- Thank you received: 0
-
-

9 years 1 month ago [\#278729](#278729) by [kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")  *[Tabs not closing](/forum/26-product-category-display/892010-tabs-not-closing#278729 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 6  I just upgraded to latest Hikashop and re-added three tabs to the tabular&#95;display as I had before.  I added them using the code given in the FAQ's. However, instead of switching between tabs, the content of the tabs just opens in a div above the former tab and doesn't close.  I,e. &quot;DESCRIPTION&quot; is displayed, I click &quot;SIZES&quot; and that text is displayed, I then click &quot;DELIVERY&quot; and that content is shown in a div above the sizes info etc  How can I separate them to open independently?  (site not available)")* was created by *[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")*

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 6

I just upgraded to latest Hikashop and re-added three tabs to the tabular_display as I had before.

I added them using the code given in the FAQ's. However, instead of switching between tabs, the content of the tabs just opens in a div above the former tab and doesn't close.

I,e. "DESCRIPTION" is displayed, I click "SIZES" and that text is displayed, I then click "DELIVERY" and that content is shown in a div above the sizes info etc

How can I separate them to open independently?

(site not available)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTIwMTAtdGFicy1ub3QtY2xvc2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

9 years 1 month ago [\#278730](#278730) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tabs not closing](/forum/26-product-category-display/892010-tabs-not-closing#278730 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 6  I just upgraded to latest Hikashop and re-added three tabs to the tabular&#95;display as I had before.  I added them using the code given in the FAQ's. However, instead of switching between tabs, the content of the tabs just opens in a div above the former tab and doesn't close.  I,e. &quot;DESCRIPTION&quot; is displayed, I click &quot;SIZES&quot; and that text is displayed, I then click &quot;DELIVERY&quot; and that content is shown in a div above the sizes info etc  How can I separate them to open independently?  (site not available)")*

Hi,

First, if you do your modifications via the menu Display&gt;Views, you won't loose them when you update HikaShop as they will be stored as view overrides. So this should not happen following an update.
Second, the 3.2.0 version didn't change anything regarding the tabs compared to the previous verison, the 3.1.1. Did you use that version or an older version ? Which one ?
In fact, the modification mentioned in that FAQ is still valid with the 3.2.0 so I can only think of a problem in the way you made the modification after the update.
Unfortunately, without being able to look at the result you have on the page, nor a copy of the view file code you have, I can say anything precise as to what might be the exact problem in what you have.
I would recommend to check again your modifications against the code in the FAQ.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTIwMTAtdGFicy1ub3QtY2xvc2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")**
- [![kyteasdale's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31211-kyteasdale "View kyteasdale's Profile") Topic Author
- [ Offline](/forum/user/31211-kyteasdale)

Less More

- Posts: 53
- Thank you received: 0
-
-

9 years 1 month ago [\#278768](#278768) by [kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")  Replied by *[kyteasdale](/forum/user/31211-kyteasdale "View kyteasdale's Profile")* on topic *[Tabs not closing](/forum/26-product-category-display/892010-tabs-not-closing#278768 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 6  I just upgraded to latest Hikashop and re-added three tabs to the tabular&#95;display as I had before.  I added them using the code given in the FAQ's. However, instead of switching between tabs, the content of the tabs just opens in a div above the former tab and doesn't close.  I,e. &quot;DESCRIPTION&quot; is displayed, I click &quot;SIZES&quot; and that text is displayed, I then click &quot;DELIVERY&quot; and that content is shown in a div above the sizes info etc  How can I separate them to open independently?  (site not available)")*

It was an upgrade from 2.6.3 - so the changes to show tabular are notable. I had changed the details in Display &gt; Views first time round, but of course, even the grid system changed.
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 3.2.0 * @author hikashop.com * @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php hikashop_loadJslib('jquery'); $js = ''; $params = null; $this-&gt;params-&gt;set('vote_type','product'); if(isset($this-&gt;element-&gt;main)){ $product_id = $this-&gt;element-&gt;main-&gt;product_id; }else{ $product_id = $this-&gt;element-&gt;product_id; } $this-&gt;params-&gt;set('vote_ref_id',$product_id); $this-&gt;params-&gt;set('productlayout','show_tabular'); $layout_vote_mini = hikashop_getLayout('vote', 'mini', $this-&gt;params, $js); $layout_vote_listing = hikashop_getLayout('vote', 'listing', $this-&gt;params, $js); $layout_vote_form = hikashop_getLayout('vote', 'form', $this-&gt;params, $js); $config =&amp; hikashop_config(); $status_vote = $config-&gt;get('enable_status_vote'); $this-&gt;setLayout('show_block_dimensions'); $specif_tab_content = trim($this-&gt;loadTemplate()); if(!empty($this-&gt;fields)){ $this-&gt;setLayout('show_block_custom_main'); $specif_tab_content .= trim($this-&gt;loadTemplate()); } ?&gt; &lt;div id="hikashop_product_top_part" class="hikashop_product_top_part"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;topBegin)) { echo implode("\r\n", $this-&gt;element-&gt;extraData-&gt;topBegin); } ?&gt; &lt;h1&gt; &lt;span id="hikashop_product_name_main" class="hikashop_product_name_main" itemprop="name"&gt;&lt;?php if (hikashop_getCID('product_id')!=$this-&gt;element-&gt;product_id &amp;&amp; isset ($this-&gt;element-&gt;main-&gt;product_name)) echo $this-&gt;element-&gt;main-&gt;product_name; else echo $this-&gt;element-&gt;product_name; ?&gt;&lt;/span&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt; &lt;span id="hikashop_product_code_main" class="hikashop_product_code_main" itemprop="sku"&gt; &lt;span id="hikashop_product_code_main" class="hikashop_product_code_main"&gt;&lt;?php echo $this-&gt;element-&gt;product_code; ?&gt;&lt;/span&gt; &lt;/span&gt; &lt;?php } ?&gt; &lt;/h1&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;topEnd)) { echo implode("\r\n", $this-&gt;element-&gt;extraData-&gt;topEnd); } ?&gt; &lt;?php $this-&gt;setLayout('show_block_social'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/div&gt; &lt;div class="hk-row-fluid"&gt; &lt;div id="hikashop_product_left_part" class="hikashop_product_left_part hkc-md-6"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;leftBegin)) { echo implode("\r\n", $this-&gt;element-&gt;extraData-&gt;leftBegin); } $this-&gt;row =&amp; $this-&gt;element; $this-&gt;setLayout('show_block_img'); echo $this-&gt;loadTemplate(); ?&gt; &lt;div id="hikashop_product_description_main_mini" class="hikashop_product_description_main_mini"&gt;&lt;?php if(!empty($this-&gt;element-&gt;product_description)) { $resume = substr(strip_tags(preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;element-&gt;product_description)),0,300); if (!empty($this-&gt;element-&gt;product_description) &amp;&amp; strlen($this-&gt;element-&gt;product_description)&gt;300) $resume .= " ...&lt;a href='#hikashop_show_tabular_description'&gt;".JText::_('READ_MORE')."&lt;/a&gt;"; echo JHTML::_('content.prepare',$resume); } ?&gt;&lt;/div&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;leftEnd)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;leftEnd); ?&gt; &lt;/div&gt; &lt;div id="hikashop_product_right_part" class="hikashop_product_right_part hkc-md-6"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightBegin)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightBegin); ?&gt; &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main" itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt; &lt;?php if($this-&gt;params-&gt;get('show_price') &amp;&amp; (empty($this-&gt;displayVariants['prices']) &#124;&#124; $this-&gt;params-&gt;get('characteristic_display') != 'list')) { $this-&gt;row =&amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); ?&gt; &lt;meta itemprop="availability" content="http://schema.org/&lt;?php echo ($this-&gt;row-&gt;product_quantity != 0) ? 'InStock' : 'OutOfstock' ;?&gt;" /&gt; &lt;?php $CurrId = hikashop_getCurrency(); $null = null; $currency = $this-&gt;currencyHelper-&gt;getCurrencies($CurrId, $null); $CurrCode = $currency[$CurrId]-&gt;currency_code; ?&gt; &lt;meta itemprop="priceCurrency" content="&lt;?php echo $CurrCode; ?&gt;" /&gt; &lt;?php } ?&gt; &lt;/span&gt;&lt;br /&gt; &lt;div id="hikashop_product_vote_mini" class="hikashop_product_vote_mini"&gt; &lt;?php if($this-&gt;params-&gt;get('show_vote_product') == '-1') { $this-&gt;params-&gt;set('show_vote_product', $config-&gt;get('show_vote_product')); } if($this-&gt;params-&gt;get('show_vote_product')) { echo $layout_vote_mini; } ?&gt; &lt;/div&gt; &lt;?php if($this-&gt;params-&gt;get('characteristic_display') != 'list') { $this-&gt;setLayout('show_block_characteristic'); echo $this-&gt;loadTemplate(); ?&gt; &lt;br /&gt; &lt;?php } $form = ',0'; if(!$this-&gt;config-&gt;get('ajax_add_to_cart', 1)) { $form = ',\'hikashop_product_form\''; } if(hikashop_level(1) &amp;&amp; !empty ($this-&gt;element-&gt;options)) { ?&gt; &lt;div id="hikashop_product_options" class="hikashop_product_options"&gt;&lt;?php $this-&gt;setLayout('option'); echo $this-&gt;loadTemplate(); ?&gt;&lt;/div&gt; &lt;br /&gt; &lt;?php $form = ',\'hikashop_product_form\''; if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } } if (!$this-&gt;params-&gt;get('catalogue') &amp;&amp; ($this-&gt;config-&gt;get('display_add_to_cart_for_free_products') &#124;&#124; ($this-&gt;config-&gt;get('display_add_to_wishlist_for_free_products', 1) &amp;&amp; hikashop_level(1) &amp;&amp; $this-&gt;params-&gt;get('add_to_wishlist') &amp;&amp; $config-&gt;get('enable_wishlist', 1)) &#124;&#124; !empty ($this-&gt;element-&gt;prices))) { if (!empty ($this-&gt;itemFields)) { $form = ',\'hikashop_product_form\''; if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } $this-&gt;setLayout('show_block_custom_item'); echo $this-&gt;loadTemplate(); } } $this-&gt;formName = $form; if($this-&gt;params-&gt;get('show_price')) { ?&gt; &lt;span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main"&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;div id="hikashop_product_contact_main" class="hikashop_product_contact_main"&gt; &lt;?php $contact = $this-&gt;config-&gt;get('product_contact', 0); if(hikashop_level(1) &amp;&amp; ($contact == 2 &#124;&#124; ($contact == 1 &amp;&amp; !empty($this-&gt;element-&gt;product_contact)))) { $css_button = $this-&gt;config-&gt;get('css_button', 'hikabtn'); ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('product&amp;task=contact&amp;cid=' . (int)$this-&gt;element-&gt;product_id . $this-&gt;url_itemid); ?&gt;" class="&lt;?php echo $css_button; ?&gt;"&gt;&lt;?php echo JText::_('CONTACT_US_FOR_INFO'); ?&gt;&lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightMiddle)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightMiddle); ?&gt; &lt;span id="hikashop_product_id_main" class="hikashop_product_id_main"&gt; &lt;input type="hidden" name="product_id" value="&lt;?php echo $this-&gt;element-&gt;product_id; ?&gt;" /&gt; &lt;/span&gt; &lt;br /&gt; &lt;?php if(empty ($this-&gt;element-&gt;characteristics) &#124;&#124; $this-&gt;params-&gt;get('characteristic_display') != 'list') { ?&gt; &lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt;&lt;?php $this-&gt;row = &amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ?&gt;&lt;/div&gt; &lt;?php } $this-&gt;setLayout('show_block_product_files'); echo $this-&gt;loadTemplate(); if(HIKASHOP_J30) { $this-&gt;setLayout('show_block_tags'); echo $this-&gt;loadTemplate(); } if(!empty($this-&gt;element-&gt;extraData-&gt;rightEnd)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightEnd); ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;input type="hidden" name="cart_type" id="type" value="cart"/&gt; &lt;input type="hidden" name="add" value="1"/&gt; &lt;input type="hidden" name="ctrl" value="product"/&gt; &lt;input type="hidden" name="task" value="updatecart"/&gt; &lt;input type="hidden" name="return_url" value="&lt;?php echo urlencode(base64_encode(urldecode($this-&gt;redirect_url)));?&gt;"/&gt; &lt;/form&gt; &lt;?php $description = trim(JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description))); ?&gt; &lt;div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part show_tabular"&gt; &lt;div id="hikashop_tabs_div"&gt; &lt;ul class="hikashop_tabs_ul"&gt; &lt;?php if(!empty($description)) { ?&gt; &lt;li id="hikashop_show_tabular_description_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('PRODUCT_DESCRIPTION');?&gt;&lt;/li&gt; &lt;?php } ?&gt; &lt;li id="hikashop_show_tabular_sizes_li" class="hikashop_tabs_li ui-corner-top"&gt; &lt;a onclick="displayTab('hikashop_show_tabular_sizes');" href="javascript:void(0);"&gt; &lt;?php echo JText::_('Sizes');?&gt; &lt;/a&gt; &lt;/li&gt; &lt;li id="hikashop_show_tabular_delivery_li" class="hikashop_tabs_li ui-corner-top"&gt; &lt;a onclick="displayTab('hikashop_show_tabular_delivery');" href="javascript:void(0);"&gt; &lt;?php echo JText::_('Delivery');?&gt; &lt;/a&gt; &lt;/li&gt; &lt;li id="hikashop_show_tabular_colours_li" class="hikashop_tabs_li ui-corner-top"&gt; &lt;a onclick="displayTab('hikashop_show_tabular_colours');" href="javascript:void(0);"&gt; &lt;?php echo JText::_('Colours');?&gt; &lt;/a&gt; &lt;/li&gt; &lt;?php if(!empty($specif_tab_content)) { ?&gt; &lt;li id="hikashop_show_tabular_specification_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('SPECIFICATIONS');?&gt;&lt;/li&gt; &lt;?php } ?&gt; &lt;?php if(in_array($status_vote, array('comment', 'two', 'both'))) { ?&gt; &lt;li id="hikashop_show_tabular_comment_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('PRODUCT_COMMENT');?&gt;&lt;/li&gt; &lt;li id="hikashop_show_tabular_new_comment_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('PRODUCT_NEW_COMMENT');?&gt;&lt;/li&gt; &lt;?php } ?&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_delivery"&gt; {article Delivery}{text} {/article} &lt;/div&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_sizes"&gt; {article Sizes}{text} {/article} &lt;/div&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_colours"&gt; {article Colours}{text}{/article} &lt;/div&gt; &lt;/ul&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomBegin)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomBegin); ?&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_description"&gt; &lt;?php if(!empty($description)) { ?&gt; &lt;div id="hikashop_product_description_main" class="hikashop_product_description_main" itemprop="description"&gt;&lt;?php echo $description; ?&gt;&lt;/div&gt; &lt;?php } ?&gt; &lt;span id="hikashop_product_url_main" class="hikashop_product_url_main"&gt;&lt;?php if (!empty ($this-&gt;element-&gt;product_url)) { echo JText::sprintf('MANUFACTURER_URL', '&lt;a href="' . $this-&gt;element-&gt;product_url . '" target="_blank"&gt;' . $this-&gt;element-&gt;product_url . '&lt;/a&gt;'); } ?&gt;&lt;/span&gt; &lt;/div&gt; &lt;?php if(!empty($specif_tab_content)) { ?&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_specification"&gt;&lt;?php echo $specif_tab_content; ?&gt;&lt;/div&gt; &lt;?php } if($status_vote == "comment" &#124;&#124; $status_vote == "two" &#124;&#124; $status_vote == "both" ) { ?&gt; &lt;form action="&lt;?php echo hikashop_currentURL() ?&gt;" method="post" name="adminForm_hikashop_comment_form" id="hikashop_comment_form"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomMiddle)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomMiddle); ?&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_comment"&gt; &lt;div id="hikashop_vote_listing" data-votetype="product" class="hikashop_product_vote_listing"&gt;&lt;?php echo $layout_vote_listing; ?&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_new_comment"&gt; &lt;div id="hikashop_vote_form" data-votetype="product" class="hikashop_product_vote_form"&gt;&lt;?php echo $layout_vote_form; ?&gt;&lt;/div&gt; &lt;/div&gt; &lt;/form&gt; &lt;?php } ?&gt; &lt;input type="hidden" name="selected_tab" id="selected_tab" value="hikashop_show_tabular_description"/&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomEnd)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomEnd); ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; if(typeof(hkjQuery) == "undefined") window.hkjQuery = window.jQuery; window.hikashop.ready(function(){ var selectedTab = hkjQuery( "#selected_tab" ).val(); hkjQuery("#hikashop_tabs_div").children("div").css("display","none"); hkjQuery("#"+selectedTab+"_li").addClass("hikashop_tabs_li_selected"); hkjQuery("#"+selectedTab).css("display","inherit"); hkjQuery("#hikashop_tabs_div .hikashop_tabs_ul li").click(function(){ var currentLi = hkjQuery(this).attr("id"); var currentDiv = currentLi.replace("_li",""); hkjQuery("#hikashop_tabs_div").children("div").css("display","none"); hkjQuery("#hikashop_tabs_div").children("form").children("div").css("display","none"); hkjQuery("#"+currentDiv).css("display","inherit"); hkjQuery(".hikashop_tabs_li_selected" ).removeClass("hikashop_tabs_li_selected"); hkjQuery("#"+currentLi).addClass("hikashop_tabs_li_selected"); }); }); &lt;/script&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTIwMTAtdGFicy1ub3QtY2xvc2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

9 years 1 month ago [\#278780](#278780) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tabs not closing](/forum/26-product-category-display/892010-tabs-not-closing#278780 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 6  I just upgraded to latest Hikashop and re-added three tabs to the tabular&#95;display as I had before.  I added them using the code given in the FAQ's. However, instead of switching between tabs, the content of the tabs just opens in a div above the former tab and doesn't close.  I,e. &quot;DESCRIPTION&quot; is displayed, I click &quot;SIZES&quot; and that text is displayed, I then click &quot;DELIVERY&quot; and that content is shown in a div above the sizes info etc  How can I separate them to open independently?  (site not available)")*

Hi,

The issue is that you put the code: Code:

&lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_delivery"&gt; {article Delivery}{text} {/article} &lt;/div&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_sizes"&gt; {article Sizes}{text} {/article} &lt;/div&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_colours"&gt; {article Colours}{text}{/article} &lt;/div&gt;

inside the ul of the tabs titles instead of putting it after the line: Code:

&lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_description"&gt;

where the other tabs contents are located.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTIwMTAtdGFicy1ub3QtY2xvc2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.056 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
