Shopify themes, liquid, logos, and UX
Hello,
Is there a way to reduce the margin all around all the pages on my shopify pages? I would like to have less 'space' at the top, buttom, right and the left and make the entire page wider (I've set it to full page with in the theme settings). I'm using IMPACT theme. Is this possible?
Kind regards,
Solved! Go to the solution
This is an accepted solution.
Yeah sure, just replace the code with this one
<style>
@media only screen and (min-width: 990px) {
.header__wrapper {
padding: 0 10px !important;
}
.section--tight {
padding: 20px 10px !important;
}
scroll-carousel#scroll-area-template--20970232578378__related-products {
padding: 10px !important;
}
.container {
max-width: 100% !important;
margin: 0 10px !important;
}
.section.section-blends.section-full {
padding-bottom: 10px !important;
}
}
</style>
Hey @ChromaC,
Can you share the link to your store please? Thanks!
Hey @ChromaC,
Check if this works out for you.
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.header__wrapper {
padding: 0 10px;
}
.section--tight {
padding: 20px 10px;
}
scroll-carousel#scroll-area-template--20970232578378__related-products {
padding: 10px;
}
.container {
max-width: 100%;
margin: 0 10px;
}
.section.section-blends.section-full {
padding-bottom: 10px;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Hello,
Thank you. It seems like it helps, but only at the buttom part of the page. The footer section and the 'you may also like' did change, but not the menu or the rest of the page?
It was some priority issues on your site, try this code instead, same instructions
<style>
.header__wrapper {
padding: 0 10px !important;
}
.section--tight {
padding: 20px 10px !important;
}
scroll-carousel#scroll-area-template--20970232578378__related-products {
padding: 10px !important;
}
.container {
max-width: 100% !important;
margin: 0 10px !important;
}
.section.section-blends.section-full {
padding-bottom: 10px !important;
}
</style>
Thank you, this seemed to work much better. Is there a way to ensure that it only affect desktop and not mobile? Now the header/top is too narrow on the mobile screen.
This is an accepted solution.
Yeah sure, just replace the code with this one
<style>
@media only screen and (min-width: 990px) {
.header__wrapper {
padding: 0 10px !important;
}
.section--tight {
padding: 20px 10px !important;
}
scroll-carousel#scroll-area-template--20970232578378__related-products {
padding: 10px !important;
}
.container {
max-width: 100% !important;
margin: 0 10px !important;
}
.section.section-blends.section-full {
padding-bottom: 10px !important;
}
}
</style>
Thank you very much! Have a great day! 🙂
Hello again,
On the collection pages, the product titles (below the product images) are written in bold. Is there a way to change this so that it is just written in 'normal' like the prices? Thanks!
Yeah, paste this code along with the others
<style>
span.product-card__title a {
font-weight: normal !important;
}
</style>
Hi, can you help with the same issue on the Focal theme mobile view?
Hello @ChromaC
Can you share store URL?
Is it possible to reduce the left and right margins of just a single page instead?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024