Skip to main content

Using liquid with style elements

I am working on a site where the home page is a basic html page. I want to style the other basic pages differently. I went into the layout.html file and added:



<style class="text-content">
h2 {padding: 0 14% 0 14% !important;}
p {padding: 0 14% 0 14% !important;}
</style>

It worked for the top h2 and text content but not all of it. Is there a better/different way to do this?

Share this post

Showing 1 reaction

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.