• For some reason, my header has a large section of whitespace above and below it that I can’t seem to get rid of. I can’t find any setting that’s forcing it to add those gutters/margins. Am I overlooking something?

    Site is: https://awardslandscape.com/

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is a problem with css from the class .wp-elements

    Is this a plugin, if yes can you deactivate it?

    If not then we can also fix this problem with css:

    .wp-site-blocks {
      padding: 0 !important;
    }
    .wp-container-8 {
      top: 0 !important;
    }
    header.wp-block-template-part > div:nth-child(1){
      margin-top: 0 !important;
    }
    Thread Starter OscarGuy

    (@oscarguy)

    I don’t have any plugins that should be affecting the site CSS. I’m using the base 2023 WordPress block theme. I assume it has to be something in the settings within the template, but I can’t figure out which settings those might be. I don’t see any spacer blocks in there either.

    Vishal Patel

    (@vishaliihglobal)

    Hi @oscarguy
    plz admin side check this class “wp-block-group” CSS spacing issue

    .wp-block-group {
    margin-top: var(–wp–preset–spacing–50);
    margin-bottom: var(–wp–preset–spacing–70);
    }

    • This reply was modified 1 year, 10 months ago by Vishal Patel.
    • This reply was modified 1 year, 10 months ago by Vishal Patel.
    Thread Starter OscarGuy

    (@oscarguy)

    Are you saying I need to add that code or remove that code? I didn’t add anything like that and I have set the margins in the block edit for that group to 0, so I’m not quite sure what you want me to do.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Spacing Issue’ is closed to new replies.