Embed HTML feature

Good day!

I would like to raise my concern about the line spacing between paragraphs and line-height of the texts (using embed html feature).

I want to decrease the line-height of the texts - I was able to do this through embed code feature HOWEVER every time I publish the site, no changes are made at all. I tried increasing the line-height and it perfectly worked well. I was wondering if I can still decrease the line-height OR is it already fixed based on the template I'm using? 

Btw, I can still decrease the line-height of my texts using CSS code in the container part but it affects the overall site. I only need to make THIS (screenshot below) part to have a different text layout (line spacing, line-height).

Looking forward to your quick response. 

Thanks!

image

277 Views
Message 1 of 2
Report
1 REPLY 1

You might need to do something like this in the embed code element in order to change the line-height of just one particular paragraph:

<style>
    .specialParagraph
    {
        line-height: 10px !important;
    }
</style>

<div class="paragraph specialParagraph">
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
</div>

264 Views
Message 3 of 2
Report