Hoping someone with more knowledge of CSS than me (practically anyone) can provide advice on a small niggle.
In Live Preview, the first line of a blockquote is set back from the rest of the text. This isn’t the case in Source or Reading mode. I’ve tried to isolate the issue in Web Developer mode, with no joy. It’s only an aesthetic thing, but it shouldn’t be a thing. Can anyone shed any light on the issue?
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
I’ll need advice on that. I assume I go into Web Developer Tools, use the qualifier to highlight a blockquote … and then copy what?
I tested another couple of options for the text font, and got the same result. I looked at all my CSS snippets and couldn’t find anything there, but suspect that’s where the issue lies.
So I noodled around - not fonts, not theme (Border), so I tried going down my list of CSS snippets and turning them off one after the other – and got a result.
It turned out to be padding-left and padding-right.If I comment out padding-right and leave padding-left on, I get a hanging first line. Commenting out padding-left fixes the hang.
That fix does leave me without left padding in the quote block, which is fine but if possible I’d prefer more white space. I tried padding with margin-left, to no avail. Any advice on how to get 10px of padding without a hanging first line?
And thank you for the support. You got me to do what I should have done in the first place (although I did go through my snippets looking for blockquote anomalies. I just didn’t know that this was a problem.)
As for what you are going for, it seems you want to move the content to the right away from the blockquote left vertical border? Is that correct? There’s an element.style here that’s higher specificity than any CSS, so an !important is necessary to override it.
That’s very helpful, thanks, both to my sense of aesthetics and my understanding of CSS. Will poke around and see what happens. Greatly appreciate your time and expertise.
You’re welcome. I hope it’s what you were going for.
Changing paddings in the editor should be fine, but we want to avoid changing the margins. Adjusting the margins in Reading view is fine. Messing with margins, especially using an !important in the rule, will cause all sorts of odd issues. e.g. line numbers over-lapping, the cursor and input/typing behaving erratically, etc. We’re not doing that here, but it’s good to keep in mind. A quote from Licat here: