How can I bold everything in the header? Any help is greatly appreciated!
Topic summary
A user seeks help making header elements (Add to Cart button, Search icon, and hamburger menu) appear bold in their Shopify store.
Solutions Proposed:
- SVG outline method: Add CSS targeting
header svg pathwith a 2px solid outline (#000) to create a thicker appearance for the icons - Stroke width method: Apply CSS to
header svgwithstroke: blackandstroke-width: 1pxproperties
Implementation:
Both solutions require adding custom CSS code to the theme.liquid file, specifically placing it in a <style> tag above the closing </head> tag.
Access path: Online Stores > Themes > Actions > Edit code > theme.liquid
The discussion remains open as the original poster hasn’t confirmed which solution worked or if the issue was resolved.
Hi @flammagreg welcome to the Shopify Community,
You just need to update the svg icons or make the outline thick by using the code below
svg path{
outline:2px solid #000;
}
Thanks
What file should I copy that into?
Hi @flammagreg
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the 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
<style>
header svg {
stroke: black
stroke-width: 1px
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
