• Resolved styx46

    (@styx46)


    Hi,
    I modified Andrina Lite theme and insert the text paragraph on the home page manually from the editor in WP.
    I manage to put the <h3> and font size is fine but the text is going now from edge to edge of the page. Can you help me fix this.
    I am new to HTML.

    Thanks

    https://www.thesunshinepalate.com/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It looks as though you need to wrap a <div> around your text, then add padding left and right to that <div>.

    Andrew’s suggestion is easier and quicker, but you could also use a table, which takes more coding and is not as modern as a <div>

    Thread Starter styx46

    (@styx46)

    Thanks a lot ,

    because of my limited knowledge of html do you mind to write what exactly to put at the front and the end of paragraph

    <p> goes at the beginning of a paragraph. </p> goes at the end. Alternatively, you could use a break tag <br /> at the end: this causes the following text to start on the next line. If you want a blank line between two lines of text, use two break tags (<br /><br />).

    The results are virtually identical.

    Thread Starter styx46

    (@styx46)

    Thanks Dave,
    this is What I already have, just don’t know how to ad everything in Div and then padding

    Do a goggle search on DIV and you should get a ton of results.

    Thread Starter styx46

    (@styx46)

    got it thanks,
    I apply this code

    <div style=”padding-left: 20pt;padding-right: 20pt;text-align:justify;”>
    MY PARAGRAPH
    </div>

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘help with styling the paragraph on the home page’ is closed to new replies.