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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.