Hello, I use a row element that includes my navigation bar and should fill the entire width of the screen. To archive this, I had to put the row element inside a group block. This works for desktops and tablets.
But when I visit the site on mobile phones, I have a small space between the row element and the display edge. The gap becomes bigger as smaller the display is. Without the additional group block, I always have a big gap left and right of the row element. Any idea what could be the problem? Not visible on PCs or tablets or any editor view.
I am having trouble reproducing the issue. Could you share the exact HTML you are using for this? You can copy the code using the three-dot menu and clicking on the “Copy all blocks” option as seen below:
Taking a look at the code – it seems that is the HTML/code of the whole template – which unfortunately just references the header instead of including the code from it.
Could you please try editing the ‘Header’ template part and copying the code from that instead?
Hi @wpzugang – it looks like your header is wrapped in a non-core block called animate-it-block .
I’d suggest asking in the plugin’s forum for assistance, since the extra space doesn’t appear to be coming from core WordPress blocks. Hopefully they can lend a hand there.
Now I have a space right of the whole page below the header row. So it looks like the header row is wider than the whole website. Edit: I could solve the problem by putting the menu row block in a new group block.
And I could solve the problem with AWB padding also by adding “padding 0” inside the plugin. Thank you again 🙂
This reply was modified 2 years, 12 months ago by wpzugang.