Logo problems - center align and blurry

Solved
booknerd
Tourist
15 0 2

I'm using the Studio theme and I'm trying to do two things:

 

1) I added code to allow my logo to get bigger than standard, but when I increased it, the image is getting pixelated. The file I uploaded has a much higher resolution than what it's being resized to on my store, so I don't understand what the issue is.

 

2) I'm trying to center my logo in the header. Studio doesn't have options to do it, so I need to code it. Unfortunately, none of the solutions on the forum are working for me.

 

Thanks!

Accepted Solutions (2)
suyash1
Shopify Partner
8639 1058 1405

This is an accepted solution.

@booknerd - please add this css to the end of base.css file and check

@media screen and (min-width: 990px){
.header__heading{justify-self: center;}
}

 

suyash1_0-1696140947485.png

 

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly

Support me 🙂

View solution in original post

Natasha-Saed
Shopify Partner
303 32 55

This is an accepted solution.

I recommend you save your logo to svg this will grant high resolution image on all devices

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint

View solution in original post

Replies 10 (10)
suyash1
Shopify Partner
8639 1058 1405

@booknerd - can you please share this page link?

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly

Support me 🙂
booknerd
Tourist
15 0 2

I knew I was forgetting something!

 

https://329543-2.myshopify.com/

 

 

suyash1
Shopify Partner
8639 1058 1405

This is an accepted solution.

@booknerd - please add this css to the end of base.css file and check

@media screen and (min-width: 990px){
.header__heading{justify-self: center;}
}

 

suyash1_0-1696140947485.png

 

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly

Support me 🙂
booknerd
Tourist
15 0 2

That got it centered. Thanks! Any idea why the logo is suddenly pixelated?

suyash1
Shopify Partner
8639 1058 1405

@booknerd - you will need to check logo code, it might be setting image to smaller size and hence it is getting pixelated

You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly

Support me 🙂
Natasha-Saed
Shopify Partner
303 32 55

This is an accepted solution.

I recommend you save your logo to svg this will grant high resolution image on all devices

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
booknerd
Tourist
15 0 2

I just realized that the logo is only centered on the homepage. On all other pages, the logo is in the original spot (left aligned).

booknerd
Tourist
15 0 2

@suyash1 I just realized that the logo is only centered on the homepage. On all other pages, the logo is in the original spot (left aligned).

suyash1
Shopify Partner
8639 1058 1405

@booknerd - please add this css and check

@media screen and (min-width: 990px){
.header__heading-link{justify-self: center;}
}
You are welcome to contact me - suyash.patankar@gmail.com, My timezone is GMT+5:30,to build shopify pages use pagefly

Support me 🙂
booknerd
Tourist
15 0 2

@suyash1 

That got the logo to the center on all the pages. Thanks!

 

Now I have another issue: the logo and the header menu aren't lining up. In the screenshot below, the red line is the center of the screen and the menu, the gold line is the center of the logo. So the logo needs to move to the right about 40px. I'm using code to center the logo and the menu, so I'm not sure what the issue is. Any ideas?

 

 

 

header1.png