Site logo

Archived topic

Positioning of elements no longer centred after updates

2 replies · Started by Dorothee on March 26, 2023

Viewing posts 1–3 of 3

On the Website https://marschner-webdesign.de/
The text "Alarmierungsnummer..." and the menu are no longer placed centred after updating GenerateBlocks Pro and GP Premium

On my local PC without the newest version of GenerateBlocks Pro and GP Premium the line with the “Alarmierungsnummer” is placed correctly under the menu and the Logo and the menu together are horizontally centred.
Positioning should be like this
used theme and plugin Versions

After the update to the newest versions of GP Premium and GenerateBlocks it is no longer positioned correctly. (I guess the latest Update to GP Premium or GenerateBlocks Pro was the cause)
Positioning after update
versions used are the newest

Unfortunately I found no way to correct the positioning. Might you be able to help?
What I need is the head to look as on my local PC (that is image 1)

When scrolling down the webpage the menu and text "Alarmierung..." are centred correctly

I use the following "own" CSS
/* CSS Klassen werden benötigt für die Anzeige der Alarmierung. */
.main-navigation .inside-navigation {
justify-content: space-around;
}
.main-navigation .inside-navigation .gb-container.alarm {
display: block !important;
}

Kind regards
Dorothee

Hi there,

Can you try to edit this CSS:

.main-navigation .inside-navigation {
    justify-content: space-around;
}

to this:

.main-navigation .inside-navigation {
    justify-content: center;
}

Let me know :)

Hello Leo,

Thanks a lot.The menu and the text are now centred.

Would you by any chance have also a solution for the following phenomenen.
When I chane the size of the logo to a width beneath 200 or enlarge the container within the customizer the text is no longer displayed underneath the menu (as it should be) but behind it. Is there a way to "force" it underneath?

Kind regards
Dorothee

This archived topic is closed to new replies.