Shopify themes, liquid, logos, and UX
Hi,
I am using the refresh theme. I have a lot of blank space above FAQ on all of my product pages. How do I reduce this space?
Sarah
To reduce the blank space above the FAQ section on your product pages, you'll need to make some changes to the CSS code of your theme. Here are the steps to do that:
Here's an example of what the CSS code might look like:
.faq {
padding-top: 40px;
}
To reduce the blank space, you can change the value of "padding-top" to a smaller number. For example:
.faq {
padding-top: 20px;
}
Save your changes and refresh the product page to see the results. If you're not satisfied with the results, you can adjust the value of "padding-top" again until you get the desired amount of blank space.
Note: It's always a good idea to make a backup of your theme before making any changes, so you can easily revert back if needed.
Thanks, how do i make a backup of my theme?
This is what I see in file collapsible-content.liquid
{%- style -%}
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
How do I edit that?
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024