• Resolved tstinar

    (@tstinar)


    I’ve used the same coding in page CSS and the text body of the page. It seems that after a recent update, maybe 2 weeks ago, the paragraph spacing is way off. I’ve looked at my code and I can’t find a reason why. The spacing issues seem to come when I use or similar modifiers.

    ——
    Example:
    <div class=”card”>
    How can I be involved with WHNA?
    General meetings ?are held every second Monday of the month from 6:30 pm to 8:00 pm and are currently held over Zoom. There is no general meeting in December.

    Unable to make it to general meetings? Visit the Neighbor Inquiry page to find contact information for the WHNA board. There, you can also use our form to submit your neighborhood concerns, questions or suggestions.
    ——

    I had the previous web guy who ran this site and is very knowledgeable with WP. He couldn’t figure out the spacing issues but did provide additional custom CSS to adjust the paragraph spacing noted below with CW. I am using on this page is Card. However, I have pasted through the same Custom CSS throughout.

    `.some-page-wrapper {
    display: flex;
    }

    .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    }

    .column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    margin: 0px 10px 10px 0px;
    }

    .card {
    /* Add shadows to create the “card” effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    flex: 100%;
    margin: 0px 10px 10px 0px;
    padding: 20px;
    }

    /* On mouse-over, add a deeper shadow */
    .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

    .cw {
    margin-bottom: 1px;
    margin-top: 1px;
    }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi there,

    I’m sorry but this question is not really related to the theme, but to your custom code. So I can’t really tell you why it is not working, I’m sorry.

    The paragraphs have a default spacing of 1em and 1.5em:

    p {
        margin-bottom: 1.5em;
        margin-top: 1em;
    }

    Maybe that helps you to adjust your custom code.

    Cheers,
    Thomas

Viewing 1 replies (of 1 total)
  • The topic ‘Paragraphs are off’ is closed to new replies.