Hi all,
I have created a footer where i have put code: padding: 20px 0px 0px 0px for a text.
It looks good in the content block designer and also when it is live. But when I insert it into a marketing email the padding disappears.
I created this footer a month ago and never experienced this problem before. Neither has I changed anything in the code. How can I get my 20px space between two of the lines?
Would appriciate the help, Thanks!
Hi Filippa,
Would you please provide a screenshot with the exact effect which you need?
For example, the effect in the text block.
This makes it easier for me to understand.
Thanks a lot.
Best Regards,
Nya
Hi Nya!
Thank you, the thing is that I only want spac between two of the lines. I have 4. So 2 schould have the same line height *bigger space* then the other two with the same line height.
It worked when I sat the padding for the text block, but now when I insert the content block it doesn't listen to:
1.background: #F0F3F2;
2. }
a { text-decoration: none;
}
a { color: #000000; } /* CSS link color */
So it's just a white background with the blue link color instead of staying black as i put in the code.
Hi Filippa,
You can adjust the line-height in HTML designer to achieve your request.
div {
line-height:20px;
}
Please refer to the following link to know more about it:
CSS line-height property (w3schools.com)
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Nya
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156