How to center logo image in a header

Solved
Alex1510
Explorer
82 0 26

Hi there,

I would like to center logo image on desktop view.

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

Much appreciated 

 

dmwwebartisan
Shopify Partner
5851 1338 1715

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!

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
Alex1510
Explorer
82 0 26

Unfortunately it does not work..

0 Likes
dmwwebartisan
Shopify Partner
5851 1338 1715

This is an accepted solution.

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!

 

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
Alex1510
Explorer
82 0 26

it works. thank you so much

0 Likes
Chbgo
New Member
2 0 0

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

 

 

0 Likes
dmwwebartisan
Shopify Partner
5851 1338 1715

@Chbgo,

Check your theme's Assets folder.

 

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
Chbgo
New Member
2 0 0

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

0 Likes
dmwwebartisan
Shopify Partner
5851 1338 1715

@Chbgo.

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

 

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
Pivopivo
New Member
1 0 0

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?

 

 

0 Likes