Jump to content

[solved] How To Remove Top Margin


Recommended Posts

Hi all, im new here so not sure if im posting in the right place or not.

 

I just created a prestashop template (dark background with light layour sheet)

 

Using the html BOX/block i added an image to the top which is supposed to serve as a banner image with a white bottom with rounded corners to join the banner to the main layout.

 

I have added a capture of the top right corner so you can see what i mean.

 

The problem is that there is a gap between the top banner i added and the main layout. How do i remove this, ive tried making several changes in the global css but nothing seems to close the ga which is clearly visible in the image. Thanks much appreciated for any responses.post-554819-0-42395500-1367439694_thumb.jpg

 

Realising there are 2 spaces between the header - ITS THE GAP THAT SEPERATES THE TWO WHITE BITS IM SPEAKING OF. The thin line jst above the contact, sitemap and currency links.

Edited by vekia (see edit history)
Link to comment
Share on other sites

it's hard to say what you have to change, because it is non-default theme.

please, if it is possible - paste the url to your website - we will check code, without an access it is almost impossible to say what's going on

Link to comment
Share on other sites

hello

 

thanks for the url. I checked your website and here is the solution:

 

You should use <div> block instead the <center><img></center>.

 

just change your code (<center><img></center>) to the:

 

<div style="display:block; width:1065px; height:162px; background:url('http://4elifehosting.com/eBookStore/themes/Brown/img/head2.png') bottom no-repeat; margin:auto;"> </div>

 

 

should work for you

 

let me know if so or if not

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...