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
How can I remove the space between the heading and the collapsable content for both mobile and desktop on Dawn theme.
Solved! Go to the solution
This is an accepted solution.
Hey @peakclo
Keep the previous code and add this new code above </style> in the end of theme.liquid file
.collapsible-row-layout .accordion summary {
padding: 0 !important;
}
h2.collapsible-content__heading.inline-richtext.h2 {
margin: 0 !important;
}
.collapsible-row-layout .accordion {
margin-top: 1rem !important;
}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @peakclo
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.accordion summary {
padding: 0 !important;
}
h2.collapsible-content__heading.inline-richtext.h2 {
margin-bottom: 1.5rem !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This worked great for desktop view but mobile view is still the same.
This is an accepted solution.
Hey @peakclo
Keep the previous code and add this new code above </style> in the end of theme.liquid file
.collapsible-row-layout .accordion summary {
padding: 0 !important;
}
h2.collapsible-content__heading.inline-richtext.h2 {
margin: 0 !important;
}
.collapsible-row-layout .accordion {
margin-top: 1rem !important;
}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @peakclo
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
- Here is the solution for you @peakclo
- Please follow these steps:
- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
.collapsible-row-layout .accordion {
margin-top: 0 !important;
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
You are missing a } on this line.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page