How to increase font line height in the footer-custom-text.liquid

Hi All,

Look for some assistance please. We have added a new Custom Text box into the Footer section of our shopify site. However, the line height spacing is making the text overlap itself. We have tried looking at the relevant footer-customer-text.liquid theme code - but nothing is listed there to font-wise. We have also looked at the footer.liquid code and while we can see the text box (with the copy in it), we are unsure how to add a font condition that is specific to that customer box only and that DOES NOT affect the rest of the footer font theme.

Any help would be most appreciated.

Site_User_0-1673310245707.png

1 Like

Here is the original test below…

{%- when ‘custom’ -%}

{%- render 'footer-custom-text', block: block -%}

And here is the footer-customer-text.liquid section -

{% if block.settings.show_footer_title %}

{{ block.settings.title }}

{{ block.settings.title }} {%- render 'collapsible-icons' -%} {% endif %}
{{ block.settings.text }}

Hi @Site_User ,

Can you give me your page URL( with pass if your store password is enabled) so I can check it for you?

Kind & Best regards,
GemPages Support Team

@Site_User

Please share your store URL!

Thanks!

Hi @Site_User ,

Please send your site and if your site is password protected, please send me the password. I will check it.

Hi,
Our url is - https://hellyersroaddistillery.com.au/
Many thanks

Hi @Site_User ,

You can check out my suggestion below to get your concern resolved:

  1. Go to Edit code on Online Store:

  1. add my code above the tag on Theme.liquid:

*Note: you can replace the number 25 with another number to increase the line height of that text.

I hope you find the answer helpful.

Kind & Best regards,
GemPages Support Team.

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > theme.css and paste this at the bottom of the file:
.collapsible-content__inner .footer__collapsible p {
line-height: 25px !important;
}
1 Like

Hi @Site_User ,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

.site-footer .collapsible-content p {
    line-height: normal !important;
}

Hope it helps!

1 Like

Thank you very much. This has worked.

Kind regards

Thank you very much. This has been resolved.

Thank you very much. This has worked resolved. Much appreciated!

1 Like