Unable to change Duet paragraph spacing

  • Author
    Posts
  • #47858

    willandpatty
    Member

    Hello,

    I recently installed the Duet theme.

    Using Customizations > CSS, I’d like to know how to make these changes:
    (1) increase the paragraph spacing; and
    (2) eliminate the first line indent.

    I’ve tried the these code snippets and they do not work:

    section.post p,
    div.page p {
    margin-bottom: 22px;
    text-indent: 0;
    }

    section.post p,
    div.page p {
    font-size: 14px;
    line-height: 1.7em;
    }

    Thank you,

    Will

    The blog I need help with is willandpattyroadtrips.com.

    #47957

    scottrrollo
    Theme Author

    Hello Will!

    You can accomplish both of these requests with the following custom CSS:

    p + p {
        text-indent: 0;
    }
    p {
        margin-bottom: 22px;
    }

    Let us know if you hit any problems.

    #47971

    willandpatty
    Member

    Thank you so much for the prompt reply.

    Can you also tell me how to increase the font size? And is there a way to do so that does not affect the font size when an iOS mobile device is rotated to horizontal?

    Will

    #47973

    scottrrollo
    Theme Author

    You’re welcome, Will!

    To increase the font size of paragraphs, you can try this:

    p {
        font-size: 20px;
    }

    Feel free to adjust the 20px value.

    Controlling font sizes based on screen width and orientation is a bit more advanced and not something we can help you with in this forum. Instead, please post this question in the CSS Customization forum.

    #47995

    willandpatty
    Member

    Thank you, again. I’ll post that question in the other forum.

    What about turning off full justification for the article text? Is that an easy short snippet?

    Will

    #47996

    willandpatty
    Member

    Please disregard my last post on turning off full justification. Figured it out.

    Thank you.

    #47998

    scottrrollo
    Theme Author

    Great! You’re welcome, Will.

The topic ‘Unable to change Duet paragraph spacing’ is closed to new replies.