How to add line between heading and subtext and change line-height in subtext

Hi

How to add line between heading and subtext and change line-height in subtext?

website url: https://hanklee182online.myshopify.com/

password: teadri

Thank you

1 Like

@HankLee182
Add below css into base.css file (online store->themes->asset->base.css)

.product__text.caption-with-letter-spacing+.product__title {
    margin-top: 0px;
    padding-bottom: 15px !important;
}
.footer-block__details-content {
    margin-bottom: 0;
    line-height: 1 !important;
}
h2.footer-block__heading {
    padding-bottom: 18px !important;
}
.footer__list-social.list-social:only-child {
    justify-content: center;
    padding-top: 20px !important;
}
h2.footer-block__heading {
    text-decoration-line: underline !important;
}

Hello there,

  1. In your Shopify Admin go to online store > themes > actions > edit code

  2. Find Asset >base.css and paste this at the bottom of the file:

.footer-block__details-content.rte {
    line-height: 0.6;
}
h2.footer-block__heading {
    text-decoration: underline;
}

1 Like

Hi .@ZestardTech

This question resolved.

May I ask the line can change padding?

Thank you very much

Thank you

Hi .@Ujjaval

Awesome!

The code is working right now.

Thank you very much

Hello there,

  1. In your Shopify Admin go to online store > themes > actions > edit code

  2. Find Asset >base.css and paste this at the bottom of the file:

h2.footer-block__heading {
    text-decoration: underline;
    text-underline-offset: 10px;
}