Center header image

Hi,
somehow I managed to add a bar on top of the forum I am managing.

However, when working on a screen with a different size, the image is shifted and not centered

How can I center it?

The following is the code I used


1 Like

This should do the trick:

.custom-header-image {
    display: flex;
    justify-content: center;
    
    img {
        max-width: 100%;
    }
}
5 Likes

worked perfectly, thanks!

3 Likes