How can i make the space between the sentenses smaller.
How can i make the space between the sentenses smaller, i want this for all accounts.
-
-
·
LeonidS
- ·
Hello @dvcgraphics !
In the Custom Styles area of your template (in Studio) you need to set a new value for the following CSS class
.ql-editor p {
line-height: [new value]rem;
}
-
·
LeonidS
-
- · Busimatch
- ·
So, i do have to do that in wich php file, the template is the template of Una.
Sorry, i am not a professional. ( but learning )
-
-
·
LeonidS
-
·
In reply to Busimatch
- ·
No need to change something in the code. If you use the Artificer template, go to the Studio->Artificer->Custom Styles area, and add and save the provided CSS code. Refresh your browser.
-
·
LeonidS
-
- · Busimatch
- ·
What is a good value?
.ql-editor p {
line-height: [3]rem;
}
-
- · Busimatch
-
·
In reply to LeonidS
- ·
Do you mean paste the code here?
Is 3 good?
-
-
·
LeonidS
-
·
In reply to Busimatch
- ·
By default, it has the 1.75rem so try to reduce it to 1rem
-
·
LeonidS
-
- · Busimatch
- ·
I clicked Save, restarted php
Still the same :(
-
- · LoneTreeLeaf
- ·
This stems from the Quill editor itself. There's been issue requests submitted to their GitHub repo to remove double spacing but it's been rejected.
-
- · LoneTreeLeaf
- ·
People got fed up with this issue not being resolved and ditched the editor outright.
https://github.com/slab/quill/issues/1074
@LeonidS the issue is not the line height but Quill forces a line break tag alongside the paragraph tag, which creates the double space.
-
@LoneTreeLeaf@LoneTreeLeaf, how to solve this question?