Support » Fixing WordPress » help with styling the paragraph on the home page

  • Resolved styx46


    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.


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


    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>

    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.

    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.

    got it thanks,
    I apply this code

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

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.