WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] removing white space (4 posts)

  1. nvolkert
    Member
    Posted 2 years ago #

    On my page (see link below) when I added the picture, a space was automatically added between two lines in my first paragraph . Also, I don't know how to remove the space underneath the underlined word Milk Allergy. please help

    http://www.milkallergyguide.com/what-is-a-milk-allergy/

  2. TemplateToaster
    Member
    Posted 2 years ago #

    Look like the margin added to <p> tag is causing the issue:

    p {
        margin-bottom: 1.625em;
    }

    You can try removing or decreasing it from style sheet of theme.

  3. nvolkert
    Member
    Posted 2 years ago #

    I only want this pages white spaces to be fixed. Does anyone know what code I need to add or fix? I am new to code and looking for someone to tell me an exact fix.

    The first space was caused when I added the picture and the second space is under milk allergy.
    here is the code surrounding the milk allergy word:
    <p style="text-align: left;"><span style="text-align: left; text-decoration: underline;"><strong>Milk Allergy:</strong></span><strong></strong></p>

    Please help

  4. nvolkert
    Member
    Posted 2 years ago #

    Ok.. I had to figure it out myself again like I've been doing with everything.

    For the picture adding space.. I noticed it only added when there was a caption so I edited the picture and added my caption as the actual picture then added to website.

    For the Milk Allergy word issue I added this code below and changed the code under it was <p to <a
    <strong style="color: black; text-decoration: underline; font-weight: normal;">Milk Allergy:</strong>

Topic Closed

This topic has been closed to new replies.

About this Topic