Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi,
I'd like to make the header full width so the logo is all the way to the left similar to the picture. Also on the homepage I'd like to hide the cart & account icons (only keep search).
my site is https://d0ad98-4b.myshopify.com/
This is Richard from PageFly - Shopify Page Builder App
Hi @Luxurymrkt Please add code here to edit design
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: Click on Theme.liquid and paste the code above the </body>
<style>
@media screen and (min-width: 768px){
.site-header .page-width{
padding: 0px !important;
}
}
</style>
{%- if request.path == '' -%}
<style>
.icon-user{
display: none !important;
}
.js-drawer-open-cart{
display: none !important;
}
<style>
{%- endif -%}
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.
Hello @Luxurymrkt
Go to online store ---------> themes --------------> actions ------> edit code------->theme.css
at the end of the file and save.
.site-nav__link.site-nav__link--icon.small--hide {
display: none !important;
}
.site-nav__link.site-nav__link--icon.js-drawer-open-cart {
display: none !important;
}
#SiteHeader .page-width {
max-width: 92%;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks