Where can I change the spacing between 2 lines?
You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
Support is currently Offline
Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)
09:00 - 17:00 Europe/London (BST)
Please create a new Ticket and we will get back to you as soon as we can.
#107543 Change line spacing
Posted in ‘Editor’
This is a public ticket
Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Latest post by imservan on Friday, 23 April 2021 11:03 BST
Thursday, 22 April 2021 06:54 BST
imservan
Thursday, 22 April 2021 09:18 BST
Ryan
This should be set in your template stylesheet, not in the editor.
Usually, this is done in the paragraph tag, eg:
p {
line-height: 1.5em;
}
but I suggest you contact your template developer, as depending on the template, you may be able to adjust this using the template's framework tools. Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Friday, 23 April 2021 09:55 BST
imservan
Thanks for the quick info.
I just want to reduce the line spacing for individual seeds. For example for the references under a picture.
Example:
Source: example text, example text, example text, example text, example text, example text, example text, example text,
------------------------------------------
How to write the code to reduce the line spacing
I just want to reduce the line spacing for individual seeds. For example for the references under a picture.
Example:
Source: example text, example text, example text, example text, example text, example text, example text, example text,
------------------------------------------
How to write the code to reduce the line spacing
Friday, 23 April 2021 10:13 BST
Ryan
I would still suggest using a custom css rule in your template.css file, eg:
.line-spacing {
line-height: 1.5em;
}
Then this can be selected and applied to the appropriate paragraph from the Styles list in the editor toolbar. Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Friday, 23 April 2021 11:03 BST
imservan
Thank you for your help. This is how I wanted it.
Please wait
Your post is being submitted…