How can I center a logo image in a header on desktop view?

Hi there,

I would like to center logo image on desktop view.

Any suggestions? https://babyway.com.au/

Much appreciated

Hey @Alex1510

Please add the following code in your assets/style.css file.

@media only screen and (min-width: 768px){
.store-logo {text-align: center;}
}

Hope this works for you.

Thanks!

Unfortunately it does not work..

Hey @Alex1510

Please try this CSS.

Please add following code in your assets/theme.scss.liquid file.

@media only screen and (min-width: 768px){
.utils {width: 100%; position: absolute;}
}

Hope this works for you.

Thanks!

it works. thank you so much

Where do you add it to in theme.scss.liquid?

@Chbgo ,

Check your theme’s Assets folder.

Check it for what? I’ve placed the code in my theme asset. Nothing has changed.

@Chbgo .

Did you add the code in assets/theme.scss.liquid file?

Hi dmwwebartisan,

I tried to follow your directions to center the logo in my site (Venture theme) but it doesn’t work (in Assets - theme.scss.liquid)

How can I do?