How to centre-align header image?


#1

Hi, where the header image is not the full 1920 wide as recommended, how can I center the image?

Currently, it is set to left-align on a wide screen monitor and it looks wrong.

Many thanks


#2

Hello,

Can you please provide a link to your website?

Kind Regards, Roman.


#3

Hi Roman,

www.petwasteservices.co.uk

On a large screen, you will see the main header image is left aligned and not centered.

Cheers


#4

Hello,

You can try to use the following CSS code.

You can add CSS code in Dashboard → Appearance → Customize → Additional CSS.

#page {
    text-align: center;
}

#main {
    text-align: left;
}

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.


#5

Worked perfectly, many thanks

Regards,

Stephen McHugh

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.


#6

Great, you are welcome Stephen!

Kind Regards, Roman.