• Resolved pathel

    (@pathel)


    I am using WP 6.1 with Twenty-Twenty Three. How can I remove the margin under the menu? I have tried this but didn’t work:

    .is-layout-flow.wp-block-group {
    margin-top: 0px !important;
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • Francisco

    (@fcoveram)

    Hi @pathel

    Since you have the 6.1 version, did you try changing the margin of the template part in the Editor?

    To land there, go to Appearance > Editor (Beta) from the Admin page, then click in the WordPress logo in the far top-left to expand the sidebar. Click on “Template Parts” and then in “Header”.

    There you can edit the layout and the margins. Here is what I see in the editor.

    I hope it works

    Thread Starter pathel

    (@pathel)

    Thank you Francisco. I have tried that but I am not able to remove the space between the menu and the next pattern …

    Stef

    (@serafinnyc)

    Hey @pathel are you referring to the main menu? If so have you tried going into the main page or area via the editor and removing the bottom 2?

    It’s like what @fcoveram was referring to but a bit different area.

    Here’s a screenshot

    Thread Starter pathel

    (@pathel)

    Hi @serafinnyc, bottom has been set to 0 but there is still space (about 1.5 cm) on my desktop between the border of the menu and the next pattern.

    Francisco

    (@fcoveram)

    In the Template part, check that both Group and Row elements have no margins applied, here is a screenshot.

    I modified my testing site, and it works as intended.

    Hopefully it works.

    Thread Starter pathel

    (@pathel)

    I have only a Group but not a Row element and have set margin and pattern to 0 but still without success.

    Thread Starter pathel

    (@pathel)

    Seems that it works now. Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to remove margin under menu’ is closed to new replies.