Skip to content
Public Ticket #12206

SUBSCRIPT line-height

Conversation thread

PenciDesign replied

Staff Reply

Hi,

It already applied: http://prntscr.com/s7btbk

But, in your case, your subscript just in one line - it's not in multiple lines, so you can't see it works. Do you understand how line-height works?

With your case, I think you should use line-height on the paragraph wrappers for the subscript tags. Something like this:

<p style=" line-height: 1.2; ">
<sub><a href="#_ftnref1" name="_ftn1">[1]</a> המרכז לטכנולוגיה חינוכית (<a href="https://lib.cet.ac.il/pages/item.asp?item=8326">מט"ח), ערך התורה שבעל-פה</a>.</sub><br>
<sub><a href="#_ftnref2" name="_ftn2">[2]</a> ראו התייחסות לכך בסוף פרק ג' בסעיף "המניע והמנוע של התורה שבעל-פה".</sub>
</p>

That's only way.

Best Regards,

PenciDesign

oneforisrael replied

Customer Reply

Unfortunately not working, see screenshot.

PenciDesign replied

Staff Reply

Hi,

You can add more this code to Customize > Custom CSS to do that:

.post-entry sub {
    line-height: 1.1;
}

Best Regards,

PenciDesign

oneforisrael replied

Customer Reply

Please look at the BEFORE and AFTER screenshoots it will help you understand what i'm referring to.

I was not referring to BR, I was referring to the "line-height". How do I apply "line-height" ONLY to the subscript? 

oneforisrael replied

Customer Reply

I was not referring to BR, I was referring to the "line-height". How do I apply "line-height" ONLY to the subscript? 

Thanks

PenciDesign replied

Staff Reply

Hi,

No - that line height doesn't affect to the <br> tag

Best Regards,

PenciDesign

oneforisrael replied

Customer Reply

There is a "line-height: 1.8;" that effects the distance between the lines. That's what I would like adjust. Not sure how to do it ONLY to subscript (with it affecting everything else too)...??

PenciDesign replied

Staff Reply

Hi,

It's not line-height - it's <br> tag space. And there is no way to reduce the height for br tag. It's drop a new line... Not in same linefrown.png

Best Regards,

PenciDesign

oneforisrael started the conversation

Conversation Start

Hi!

I would like to make the line-height (space between lines) in the SUBSCRIPT much smaller, (like 1 or 1.1) . How can I do that?

Thanks!

Want to join this conversation or access attachments? Sign in first.