Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.

    Home Forums Theme Forum HelloSonar & HelloSonar iPhone How to remove tabs of product page Reply To: How to remove tabs of product page



    Hi Fabrice,

    You can do the following, open your tabs.phtml. Replace your code with this one

    <?php foreach ($this->getTabs() as $_index => $_tab): ?>

    <?php if($this->getChildHtml($_tab['alias'])): ?>
    <div class=”tabheader”>
    <h2 id=”product_tabs_<?php echo $_tab['alias'] ?>” <?php echo !$_index ? ‘class=”active first”‘ : ” ?>><?php echo $_tab['title']?></h2>
    <div class=”tabinfo”>
    <div id=”product_tabs_<?php echo $_tab['alias'] ?>_contents”><?php echo $this->getChildHtml($_tab['alias']) ?></div>
    <?php endif; ?>
    <?php endforeach; ?>

    Then add the following to styles.css

    .tabheader {background:white; font-size:8px; padding-left:10px}

    and adjust like you wish.