[Resolved] line spacing

Home Forums Support [Resolved] line spacing

Home Forums Support line spacing

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #654896
    CRISTO

    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.

    #655117
    Leo
    Staff
    Customer Support

    Hi 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?

    #655510
    CRISTO

    Yes 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.

    #655890
    Leo
    Staff
    Customer Support

    Nothing 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.shtml

    #655919
    CRISTO

    No 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.

    #656197
    Leo
    Staff
    Customer Support

    Sorry 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.

    #656306
    CRISTO

    Well, whatever is happening did not use to, so I will have to try to find out what has changed.

    #656948
    Leo
    Staff
    Customer Support

    Sounds good.

    I would still recommend you to try the suggested method though πŸ™‚

    #656993
    CRISTO

    Not 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.

    #657021
    Leo
    Staff
    Customer Support

    The 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/LnLAuc1k7U1

    Whereas the page that’s not working is wrapped with <div> instead and there isn’t margin bottom:
    http://www.screencast.com/t/4ii1z5oLvqZW

    #657026
    CRISTO

    The 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.

    #657261
    Leo
    Staff
    Customer Support

    If you always choose Paragraph in visual editor then the margin should apply.

    Sorry I cannot offer more useful information πŸ™

    #657270
    CRISTO

    Actually 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.

    #657283
    Leo
    Staff
    Customer Support

    Hmm 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/lzoE0vV3a

    And it worked as expected when I did this test on my install:
    http://www.screencast.com/t/7MaqnygVI

    Clear any caching plugin you might be using as well.

    #657755
    CRISTO

    Well, 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.

Viewing 15 posts - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.