Shopify themes, liquid, logos, and UX
Hi,
I would like to change the spacing on the address in the footer so it removes these extras spaces between lines, but I do not have the option. Is there any code that could accomplish this for the footer only?
Solved! Go to the solution
This is an accepted solution.
You can remove the code in my previous answer and try the code below:
<style>
.footer-block__details-content.rte > p {
margin: 0px !important;
}
</style>
Hi @aelitzer ,
This is Victor from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/section-footer.css.css->paste below code at the bottom of the file:
.footer-block__details-content.rte {
line-height: 16px;
}
Note: You can adjust the line-height value to match your store
Hope my answer will help you.
Best regards,
Victor | PageFly
That didn't seem to impact anything? I changed it to 8 and it still looks the same
@aelitzer sorry about that, you can try another way:
Step 1. Go to Online Store -> Theme -> Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before </body> :
<style>
.footer-block__details-content.rte {
line-height: 16px !important;
}
</style>
Hi, I am wondering if you could guide me how to add my company/warehouse address and contact email at the footer on Craft theme? thank you
That makes it smaller, but what I'd like is to remove the extra spaces between the lines, not just shrink the text. Is there some adjustment to do that?
I'd like it to read:
test address
test address
test email
Instead of:
test address
test address
test email
This is an accepted solution.
You can remove the code in my previous answer and try the code below:
<style>
.footer-block__details-content.rte > p {
margin: 0px !important;
}
</style>
That did it. Thank you!
Hello @aelitzer ,
Can you give me your Store URL( with pass if your store password is enabled) so I can check it for you?
Kind & Best regards,
GemPages Support Team
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024