Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: how to remove 2nd line from header template block  (Read 9134 times)

Offline kangana

  • Newbie
  • *
  • Posts: 27
  • Karma: +2/-1
    • View Profile
how to remove 2nd line from header template block
« on: March 14, 2014, 04:45:46 AM »
see kanganafashion.com
i use all icons in header itself and want to remove 2nd line from header block so i can shift everything else up
is there a way?





Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: how to remove 2nd line from header template block
« Reply #1 on: March 14, 2014, 08:44:51 AM »
2 Options:

1:
https://github.com/abantecart/abantecart-src/blob/6be2a3cd77004cd415c5f09007186ed668131033/public_html/storefront/view/default_html5/template/common/header.tpl

Remove lines 25-34 

Code: [Select]
<div class="container">
<div class="headerdetails">
<!-- header blocks placeholder -->
<div class="pull-left"><?php echo ${$children_blocks[4]}; ?></div>
<div class="pull-left"><?php echo ${$children_blocks[5]}; ?></div>
<div class="pull-left"><?php echo ${$children_blocks[6]}; ?></div>
<div class="pull-right"><?php echo ${$children_blocks[7]}; ?></div>
<!-- header blocks placeholder (EOF) -->
</div>
</div>

2: In css file public_html/storefront/view/default_html5/stylesheet/style.css
Add in about line 385:
Code: [Select]
.headerdetails {
display: none;
padding: 20px 0 40px 300px;
}
« Last Edit: March 14, 2014, 08:47:34 AM by eCommerce Core »
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline kangana

  • Newbie
  • *
  • Posts: 27
  • Karma: +2/-1
    • View Profile
Re: how to remove 2nd line from header template block
« Reply #2 on: March 14, 2014, 03:23:42 PM »
bingo!

thanks :)

 

Powered by SMFPacks Social Login Mod