Hi!
In the refresh theme, im wanting to change the size of the logo in the header on the home page without it changing the size of the logo on other pages. Currently its very small on the homepage and if i go into theme settings to change it to the size i want it, it changes the size of the logo on the other pages to massive sizes.
Shopify have said its a coding thing with the theme. So if anyone knows how to fix this, or knows the code to change this. That would be appreciated.
The third photo shows what happens when i change the logo size.
Hi @alexemslie ,
Can you please provide me with the link to the site? I will review and provide accordingly.
Hi @alexemslie ,
Please add below code on theme.liquid to increase the size of homepage logo only.
{% if template.name == "index" %}
{% endif %}
Steps to add CSS:
Step 1: Go to Online Store > Themes > Active theme > Edit
Step 2: Search for “theme.liquid”

Step 3: Add the CSS above “”
If you require further help to add the code to your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Mangit
Hi @alexemslie ,
Add below code to theme.liquid in order to increase the size of logo for home page only.
{% if template == 'index' %}
{% endif %}
Steps to add CSS:
Step 1: Go to Online Store > Themes > Active theme > Edit
Step 2: Search for “theme.liquid”

Step 3: Add the CSS above “”

If you require further help to add the code to your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Mangit
Thankyou so much, worked and looks great!!