[resolved] How To Center Text (6 posts)

  1. alex_smith22
    Posted 3 years ago #

    Using "code" tags.</p>
    <p>In the current theme I have, for the footer section it says</p>
    <p>You can add custom HTML and/or shortcodes, which will be automatically inserted into your theme.
    Some shorcodes: [the-year], [site-link], [wp-link], [th-link] for current year, your site link, wordpress site link and attitude site link respectively.
    It is completely optional, but if you like the Theme We would appreciate it if you keep the credit link at the bottom.
    <p>But when I try to add "<center>", nothing happens. How do I use the "code" tags to center it?`

  2. Pioneer Web Design
    Posted 3 years ago #

    <pre>this is your code</pre>


    pre {text-align: center;}

    Style away!

  3. alex_smith22
    Posted 3 years ago #

    Hmm, that didn't seem to work :/

    I did it just like that and it didn't center it, it only added the pre brackets at the beginning and end...

    Is it possible that the theme I'm using restricts is?

  4. mydog8it
    Posted 3 years ago #

    Try this:

    <p style="text-align: center;">Your text here.</p>

  5. pavan061994
    Posted 3 years ago #

    For Doing Center Text Try this:

    <p style="text-align: center;">text to be entered</p>

    [Signature removed]

  6. alex_smith22
    Posted 3 years ago #

    Ok that worked :) It does seem it's part of my theme. It only seems to go about 70% across the bottom of the page...

    Thanks for your help everyone :)

Topic Closed

This topic has been closed to new replies.

About this Topic