Joomla 2.5 does not include a way to indent the first line of a paragraph, but you can still accomplish this by using css. In a previous article we showed you how to indent an entire paragraph, and in this article we'll show you how to indent only the first line of the paragraph.

Indenting the first line of a paragraph in Joomla 2.5:

  1. Open for edit the article you would like to change
  2. View the HTML code of your article by clicking the toggle editor button
  3. Find the paragraph you would like to edit. You should see either a <p> tag or a <div> tag. Make the following adjustments:

    Paragraphs <p> Divs <div>
    Change:
    <p>

    To:
    <p style='text-indent:20px;'>
    Change:
    <div>

    To:
    <div style='text-indent:20px;'>

    As you can see in the screenshot below, we have successfully indented the first line of a paragraph in a Joomla 2.5 article.
    indenting-the-first-line-of-a-paragraph-using-css

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Brad Markle, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!