- This topic has 20 replies, 2 voices, and was last updated 5 years, 8 months ago by Leo.
-
AuthorPosts
-
August 20, 2018 at 1:45 pm #654896CRISTO
I have recently been having problems with line spacing and not sure why. When I go to this page down near the bottom above the map, when I use the visual editor it spaces one space between each line (for example address
telephone
click here
etc
I have always just double spaced and it works out fine. But suddenly it does not. Looks fine in the visual editor but when I publish there is now spacing between the lines. Not sure what is causing that.
August 20, 2018 at 7:54 pm #655117LeoStaffCustomer SupportHi there,
Unfortunately I’m not seeing anything in the code that suggest there should be space below each line.
Do you still see it double spaced when you go back into the editor?
August 21, 2018 at 5:18 am #655510CRISTOYes I still do…in the visual editor, but the published page has no spaces. BTW, this is something that has begun happening in just the last few weeks…not sure what might have changed.
August 21, 2018 at 9:14 am #655890LeoStaffCustomer SupportNothing has changed from GP in regarding to that aspect π
Maybe try this for double space?
https://www.thesitewizard.com/css/double-space-and-line-spacing.shtmlAugust 21, 2018 at 9:52 am #655919CRISTONo I realize GP has not changed….maybe I did not describe my problem properly, but previously all I had to do was hit enter twice and it creates a line space. Now that no longer happens….not sure if it is in my settings or where, but driving me crazy. I don’t want to double space as a rule, and just want to be able to hit enter twice like I did before.
August 21, 2018 at 3:43 pm #656197LeoStaffCustomer SupportSorry I’m not sure what you used to do and why it isn’t working anymore. GP just uses the standard WordPress editor.
The link I provided isn’t a rule that apply to all sentences – only the ones that have the certain class added to it. It’s actually a better method than hitting Enter twice.
August 21, 2018 at 7:05 pm #656306CRISTOWell, whatever is happening did not use to, so I will have to try to find out what has changed.
August 22, 2018 at 8:47 am #656948LeoStaffCustomer SupportSounds good.
I would still recommend you to try the suggested method though π
August 22, 2018 at 9:39 am #656993CRISTONot practical…..adding custom css each time I need to double space is not what I want to do. I would still like to know what changed. This page done earlier, double spacing is fine if I hit enter twice.
August 22, 2018 at 10:08 am #657021LeoStaffCustomer SupportThe custom CSS only needs to be added once.
You are using
<p>
tag in the page that’s working and the space below is just the bottom margin that comes with the<p>
tag:
https://www.screencast.com/t/LnLAuc1k7U1Whereas the page that’s not working is wrapped with
<div>
instead and there isn’t margin bottom:
http://www.screencast.com/t/4ii1z5oLvqZWAugust 22, 2018 at 10:13 am #657026CRISTOThe thing is, I am not doing any coding at all. Just using the visual editor. I stay away from code, which is why I use WP and GP.
August 22, 2018 at 2:41 pm #657261LeoStaffCustomer SupportIf you always choose Paragraph in visual editor then the margin should apply.
Sorry I cannot offer more useful information π
August 22, 2018 at 2:49 pm #657270CRISTOActually I do use paragraph, and this is what I get in the published version (bottom of the page, just above the map). Visual editor shows spacing, end result does not have it.
August 22, 2018 at 3:33 pm #657283LeoStaffCustomer SupportHmm can you try re-adding those lines and make sure paragraph is used?
I can see paragraphs working in lines above:
https://www.screencast.com/t/lzoE0vV3aAnd it worked as expected when I did this test on my install:
http://www.screencast.com/t/7MaqnygVIClear any caching plugin you might be using as well.
August 23, 2018 at 5:50 am #657755CRISTOWell, I guess it will remain a mystery….it still doesn’t space properly when I do it, and probably not worth spending too much time on it.
I just added a new page here and did the same thing at the bottom and it worked out fine.
So I will have to work around it on the previous page…unless it happens again!
Thanks for your help, Leo.
-
AuthorPosts
- You must be logged in to reply to this topic.