中央ヘッダー画像を中央揃え

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

This should do the trick:

.custom-header-image {
    display: flex;
    justify-content: center;
    
    img {
        max-width: 100%;
    }
}
「いいね!」 5

worked perfectly, thanks!

「いいね!」 3