Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 04h 47m 59s
Claim 50% off
Solved Templates

Center Logo Image in Custom Header

Asked by Christian Haselsberger 2 years ago Last activity 2 years ago

Dear all,
i have troubles center the logo with custom Header.
I created a custom header, but the only way to customize horizontal is with margin - thats bad because of responsive design...
How can i center the image?
position: center doesn't work

Thank you!

Accepted answer

Marked as the solution
Pavel

Hi Christian.

It is not right. Delete this.

.logo-image {
    margin-left: 90px;
}

Use this instead

.logo {
    text-align: center;
}
Christian Haselsberger Asked this

thanks so much, Pavel!

3 more replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Could you please give me a screenshot of your issue?

-Regards.

Log in to reply.