All things Shopify and commerce
How can I slightly enlarge my logo on hover in the header? Any help is greatly appreciated!
This is basic CSS...
.header__heading-logo {
transition: transform .2s;
}
.header__heading-logo:hover {
transform: scale(1.5);
}
Should I put this code in the header.liquid file?
Add it to base.css
The number in 'scale' decides how much larger it will be 1 means no change
Also recommend w3schools for some excellent tutorials on html and css. If you get into that, start learning Shopify Liquid for loads more cool features.
Hi @flammagreg
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
.header__heading-logo:hover {
transform: scale(1.2);
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025