Resolved

spaces between sections

6

hi …..

I am not sure if this is what I faced with recently cause I did not notice it before. each section I create in Greenlight have space with above section. I checked the classes but found nothing refer to this strange margin. it might be something very simple but unfortunately not in front of my eyes.

thx in advance

melbod Salimzadeh

Replies

Responses

  1. spacing of blocks is regular and expected thing in Gutenberg editor which was from first version. You can remove it in Site editor. But you should not do this. You can set margin top as 0 for any block

  2. melbod Salimzadeh Avatar
    melbod Salimzadeh
    Member

    that’s the problem actually. just create 2 simple section and the top margin is 0 in both but there is space between each sections which I can not delete it.

    1. did you check web inspector to see what is styling space?

  3. melbod Salimzadeh Avatar
    melbod Salimzadeh
    Member

    yes …. there is around 21 px buttom margin out of nowhere. the block settings shows nothing. here I have create for you a test link to see ; https://sabaholding.org/test

    1. inspector shows very clear from where this spacing https://cleanshot.com/share/4frh6PXR

      It’s core theme spacing option. If you want to remove spacing, you have two options

      1. In theme – you can enable clean full width template for page. this will remove all formating. Currently you use regular page template that has spacing for all blocks. It’s correct and expected
      2. You can click on target icon in Local Styles, this will increase specificity and overwrite theme styles
  4. melbod Salimzadeh Avatar
    melbod Salimzadeh
    Member

    Thx for the detail answer. my mistake was that I thought as I am using blocksy, then every control in user GS/GL because of deep integration.my lack of knowledge. now solved and understood.