AbanteCart Community

Shopping Cart Operations => Support => Topic started by: kangana on March 14, 2014, 04:45:46 AM

Title: how to remove 2nd line from header template block
Post by: kangana 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?




Title: Re: how to remove 2nd line from header template block
Post by: eCommerce Core 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;
}
Title: Re: how to remove 2nd line from header template block
Post by: kangana on March 14, 2014, 03:23:42 PM
bingo!

thanks :)