Section paddings

Hello.

I'm trying to make a grid layout for a website like this http://leisuremarinerecruitment.com.discoveryyachts.com/southerly/southerly-480-234535

Is there a chance to get assistance with the white spaces between the sections? How do i remove them?

the height and margins etc are all set to 0 so they should not really be there anymore.

Thanks in advance.

regards

Comments

  • Hi,
    You mean that space below the images? - http://prntscr.com/ogajdd
    It's normal behavior because images have their own proportions and they cannot get "longer".

    To remove that blank space, you would have to insert the images as a "background image" of wrap instead. Of course, you have to insert some space into the wraps, that's why you should insert a divider item inside with some height applied.
    Thanks
  • Great thank you.

    I've done it the way you suggested and it looks brilliant, However on specific sizes some puctures lose meaning (the content of the image or background in this case gets pushed sideways because of different sizes), is there any way to make it so that the background always displays properly? or is it down to which images we chose to display ?

    regards
     
  • You should always use background-size:cover and background-position: center center to get the best results.

    There will always be some problems with this sollution because background images are not quite responsive.

    You can always do another section, specially for mobiles. If you edit a section and scroll down to the last option, you will see a "visibility" setting. This will allow you to show/hide sections on differect devices. Basically, you can create a separate section for tablets and mobiles if you desire.

    thanks
  • Thanks i'll try it out
  • Just a quick question, hopefully you will be able to assist.

    on the page: http://leisuremarinerecruitment.com.discoveryyachts.com/explore-class/ (and others on our site). on the bottom there is white padding between the footer and the last image strip (red,white,blue line) it appears to be there on all pages?

    is there a global setting to remove it ?

    regards

  • Please edit that page where it appears and in the page options turn on the "Remove Content Padding" option.
    It should help you.
    Thanks
  • Content padding is set to off, that's why i'm confused about where it's coming from.

    Thanks for the swift reply.

  • Please open your website in Firefox html mode (CTRL+U) and check html errors you got. Please fix them first and all should be fine.


    Thanks!
  • Thanks....

    apologies for the trivial questions.

Sign In or Register to comment.