Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] WP Block(head) editor paragraph margin and line height

Home Forums Support [Resolved] WP Block(head) editor paragraph margin and line height

Home Forums Support WP Block(head) editor paragraph margin and line height

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #992451
    mikeb82

    I’m trying to set the paragraph bottom margin and line height on a product page. I added the following code to the child theme style.css. It seems to have no effect. (Yes, I have purged the cache.)

     p {
       line-height: 1.3 !important;
       margin-bottom: 1em !important;
    }

    Thanks for your help.

    #992458
    mikeb82

    Never mind, I just reset the line height and paragraph margins in Customize. Apparently, the child theme style.css doesn’t override customize.

    #992465
    Leo
    Staff
    Customer Support

    Hi there,

    The CSS in style.css should overwrite the customizer setting.

    Let me know if you need another look 🙂

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