WordPress.org

Ready to get started?Download WordPress

Forums

Codium Extend
[resolved] paragraph break (9 posts)

  1. wendyhsu
    Member
    Posted 1 year ago #

    Hi everyone,

    I'm having trouble configuring the size of paragraph break in the CSS. Would someone direct me to the specific part of the code to edit? I would like the paragraph break to be more pronounced, i.e. double the amount of space of the line height.

    This is the WP site that I'm working with: http://movableparts.org/

    Thanks.

    http://wordpress.org/extend/themes/codium-extend/

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Do you have a section of the dashboard named, "Jetpack", "Custom CSS" or "Custom Styles"?

  3. wendyhsu
    Member
    Posted 1 year ago #

    I'm using the one-click-child-theme plugin to customize the CSS. I'm just wondering which line of code I should be looking at to tweak the value of paragraph break.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    The point of a Child Theme is not to edit the theme's files, so not to tweak the theme's style.css.

    Instead work in your Child Theme style.css file and create new styles that override old ones;
    E.g;

    .entry-content p {
     margin-bottom: 1em;
    }
  5. wendyhsu
    Member
    Posted 1 year ago #

    Right. That's what I'm trying to do. Is this what I should add to the child theme CSS to override the original CSS in order to change the value of the paragraph break?

    .entry-content p {
     margin-bottom: 1em;
    }
  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    Is it the space between each line of text in the paragraph you want increased?

  7. wendyhsu
    Member
    Posted 1 year ago #

    Actually, it's the space between each paragraph.

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Then,

    Is this what I should add to the child theme CSS to override the original CSS in order to change the value of the paragraph break?

    Yes, that appears to be the right code. You can replace the number 1 in the code to a value you want. The larger the value, the bigger the gap.

  9. wendyhsu
    Member
    Posted 1 year ago #

    Awesome! It's working the way I want it to now. Thanks so much, Andrew! [tweaking my personal site first: http://69.89.31.173/~beingwen/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic