WordPress.org

Support

Support » How-To and Troubleshooting » How Do I Indent A Paragraph

How Do I Indent A Paragraph

  • Okay this is a newbie question but I’ve looked and can’t find an anser, but I’m sure there is on out there.
    When Writing a post for my site, if I wanted to indent a paragraph how do I do that??? I just wanna know if there is some code or something I could put before the paragraph to make it indent.

Viewing 7 replies - 1 through 7 (of 7 total)
  • syrupcore
    Member

    @syrupcore

    use the b-quote button for a dirty solution.

    When I do it the entire paragraph goes italics and all of the lines are indented and you get the little blue bar. Maybe I’m doing it wrong, but I put the b-quote button on the beginning and end of the paragraph.

    Kafkaesqui
    Member

    @kafkaesqui

    You’re doing it right. The italics and blue border are due to the css set up for blockquote in your theme. Look in the theme’s style.css for the following:

    blockquote {
    padding: 3px;
    border-left: 3px solid #24527B;
    font-family: "Georgia", "Arial", sans-serif;
    font-style: italic;
    }

    You can remove the lines for font-style and border-left properties to provide a simpler “indented” text block.

    for indentation, use the css text-indent style. It indents the first line of a paragraph, not the entire thing. Something like:

    p { text-indent: 2em }

    Should work well

    Learn something new every day: I didn’t know that a change in the style.css file would change the quicktags stuff. That’s cool! Thanks Kaf!

    I didn’t know that a change in the style.css file would change the quicktags stuff

    Hmm. I don’t know if it’s exactly like that (change css ==> changes quicktag “stuff”). The quicktags just insert html tags in a… quick way 🙂 So, the stylesheet has an effect on the html tags applied.

    Heh. Well, that was more or less what I meant….

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How Do I Indent A Paragraph’ is closed to new replies.