Hi I’m sure this is easy but I can’t figure it out.
my site is https://luxurymrkt.com
-
On desktop homepage* there’s to much white spacing between one of the sections and next
-
there’s a line/border between section and my related products
Hi I’m sure this is easy but I can’t figure it out.
my site is https://luxurymrkt.com
On desktop homepage* there’s to much white spacing between one of the sections and next
there’s a line/border between section and my related products
Hi Mike @Luxurymrkt
To remove space between your sections and the line above the recently viewed products, please follow those steps:
Go to your Online store > Themes > Edit code > Assets > Open file theme.css
Add the following code to the bottom of the file.
@media only screen and (min-width: 769px)
.index-section {
margin: 40px 0;
}
.hr--large {
display:none;
}
Please let me know if it works ![]()
I hope this helps!
Hi,
To remove the space, please go to theme editor (Customize).
Remove the “Rich Text” section with no content.
If you remove the rich text section, the empty space will be removed.
It looks like the line/border has been removed already.
If you still see the lines, please add the code below to the assets/theme.css file as @AvadaCommerce mentioned.
.hr--large {
display:none;
}
Hope it helps.
Thanks.
Hi thanks for your help. Unfortunately I removed the rich text and it didn’t help the layout on desktop. I even tried the other guys comment but it didn’t change the margin even when I changed it from 40 to 20 or even 10px.
Hi,
Please add the code below to assets/theme.css file.
@media screen and (min-width: 750px) {
div#shopify-section-template--15648732545205__16583713918f6e530c {
margin-top: -20px !important;
}
}
@media screen and (max-width: 749px) {
div#shopify-section-template--15648732545205__16583713918f6e530c {
margin-top: 0 !important;
}
}
If you want to make the margin 0 for both, PC & Mobile, please use the code below.
div#shopify-section-template--15648732545205__16583713918f6e530c {
margin-top: 0 !important;
}
If you resolve the issue, please click “Like” and “Accept solution”.
If the above code doesn’t resolve your issue or have any other questions, please let me know.
Hope it helps.
Thanks.