By Imran on Wednesday, 31 May 2017
Posted in General Issues
Replies 3
Likes 0
Views 304
Votes 0
Hello,

Please check the following blog:

https://space.watch/space/hubble-snaps-close-up-of-the-tarantula

I have, at the end of the blog, a 'Notes' section with the smaller font size but now I have more line spacing between the lines of the 'Notes' section. How do I decrease the line spacing?

Regards,
Imran
Hi there,

I have applied some fixes on your site at this path .../templates/gravity/css/custom.css on codes below

* + p{
margin-bottom: -11px !important;
}


But it is not proper fixes as this will somehow affect all of your <p> tag margin on your site as those notes are applied on text blocks. I would advice you to use "Note" blocks instead as it will not affected by css set on text blocks.

Please advice.
·
Wednesday, 31 May 2017 13:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Replaced the text with the "Note" block instead but it still has the line spacing?

Regards,
Imran
·
Wednesday, 31 May 2017 22:33
·
0 Likes
·
0 Votes
·
0 Comments
·
The code is inheriting the line-height attribute from your template which is 31 pixels , http://take.ms/WBvvj

Here's what you can apply to override it,

[gist]
#eb .ebd-block .alert-warning {
line-height: 100% !important;
}
[/gist]
·
Wednesday, 31 May 2017 22:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post