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
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
This should do the trick:
.custom-header-image {
display: flex;
justify-content: center;
img {
max-width: 100%;
}
}
worked perfectly, thanks!