Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove space and green strip from stylesheet

Remove space and green strip from stylesheet

Locked

Views: 1,036

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
7 Aug 2010, 6:18 AM
#1
willie634 avatar

willie634

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Remove space and green strip from stylesheet

http://enhancedliving.ca/enhanced_cart/index.php?main_page=product_info&products_id=1

Theres about a 10px white space between my header and banner. I can't seem to get it to go away. I've tryed editing some of the wrapper entries in the stylesheet with no luck...???

Also my Information and Categorie boxes have a thin strip of green the the bottom of each. I can seem to find the entry for this either...??

Help on either would be great.

Thank you

7 Aug 2010, 9:36 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Remove space and green strip from stylesheet

The green strip is here:

.leftBoxContainer, .rightBoxContainer {
margin: 0em;
border: 1px solid #9a9a9a;
border-bottom: 5px solid #336633;
margin-top: 1.5em;
}

For the white space, try opening includes/templates/template_default/common/tpl_header.php, finding this:

<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div> <br class="clearBoth" /> </div> <!--eof-navigation display-->

and remove the red part, saving the edited file to includes/templates/classic/common (though you should create your custom template before you go much further).

7 Aug 2010, 12:19 PM
#3
willie634 avatar

willie634

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Re: Remove space and green strip from stylesheet

Thanks stevesh,

Almost got it. I was able to get rid the green line, but the white space is still there

I removed <br class="clearBoth" /> from tpl_header.php
The white space is there though, It just shifted everything up into my banner... Any more ideas?

7 Aug 2010, 5:59 PM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Remove space and green strip from stylesheet

That is due to tagline being wrapped around <h1> tag..
you can add this to end of your stylsheet.css and see if it fix the problem .

#tagline h1 {
margin:0;
}

7 Aug 2010, 6:17 PM
#6
willie634 avatar

willie634

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Re: Remove space and green strip from stylesheet

http://a.imagehost.org/0068/FireShot_capture_008.jpg

Thanks That just about did it. Except it shrunk top banner....

I think I can figure this one out.... But if someone wants to post a resolution that would be sweet.