• Resolved LikeYourLife

    (@likeyourlife)


    Hi guys,

    I really don’t like the default line spacing for blog posts, and I’ve tried changing the CSS for the .post p but this doesn’t seem to have any effect.

    The theme I’m using, which I will change at some point, is the default World theme.

    Any thoughts? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    CSS is specific to your theme, so when you change the theme you’ll probably have to change the CSS again.

    What do you mean by the default World theme?

    Thread Starter LikeYourLife

    (@likeyourlife)

    Hi Andrew,

    It was the default theme that came loaded with WordPress when I installed it. It’s called ‘World’.

    Thanks!

    Thread Starter LikeYourLife

    (@likeyourlife)

    I just previewed my page in Firefox and used an inspector tool, I’m not sure which one. I selected the content text, and it showed the rule under #content .single p with a line-spacing at 16px. I changed this in the tool and it reflected correctly on the screen by doubling this value to 32px.

    It told me to go to line 97 of the style.css and I changed the code. Refreshed my page and no change. Then I changed it to 64px and it changed. Then it wouldn’t change back for ages. Even when I view the style.css through this tool it still reflects the old value, even though I know I’ve updated the main css file.

    Is there a lag between when a css change will reflect? If so I’ll have to use this tool to simulate the changes and then make them to the main css file.

    Thanks!

    Thread Starter LikeYourLife

    (@likeyourlife)

    Doesn’t matter, figured out that it’s a caching issue. Guess I just have to deal with it.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to get line spacing?’ is closed to new replies.