Site logo

Archived topic

Top banner alignment on mobile

3 replies · Started by Carsten on February 11, 2020

Viewing posts 1–4 of 4

Hi there, I want my back button widget in the top banner to be aligned left, as it is on desktop, but it is centered even if the top bar alignment has been set to left in the settings.

https://imgur.com/nO3yNQ9

On desktop the settings works:

https://imgur.com/fYW98KG

I have tried to deactivate all css, which could over role the settings, but with same result.

Note that the top banner is deactivated on my front page

Regards
Carsten

Hi there

try this CSS:

@media (max-width: 768px) {
    .top-bar.top-bar-align-left {
        text-align: left !important;
    }
}

Thanks, it's working with the code, is it something you will fix in a future update?

It's not actually a bug that requires fixing.
If you consider the top bar can contain multiple widgets that alternate left and right. On mobile devices the only logic is to center align them by default. Hence a little CSS is required now and then :)

This archived topic is closed to new replies.