Support » Localhost Installs » How to Text Align a Theme?

  • DesktopServer
    New to WordPress and using theme: Twenty Seventeen
    How to Text Align ALL titles, text, blog, footer, etc.?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello there!

    To change your text align in WordPress theme or any other web page, you need to have fundamentals CSS and HTML knowledge to achieve that for any HTML tag you what.

    It depends on the direction and alignment you want, whether it’s right or left. However, changing text align for all your elements to only one alignment direction is not a very good idea.

    This code for example will align everything on your website to the right.

    * {
        text-align: right;
    }

    If you are looking to change to a RTL language, then you can do it from Settings >> General usder Site language submenu.

    Please let me know what are you looking to do exactly with your theme.

    Thank you for the prompt reply. I suspected it would be a code thing and I agree with you about all element alignment.

    Client is wanting every other page to read Left / right aligned. I’m only helping to get them set-up, but They don’t code either.

    The example code provided, I would need to see it in context and in which part of the editor to place it. Any specific tutorial links appreciated.

    Log into your website. Click on “Customize”. Choose “Additional CSS”. Then add the code as shown above by Anass:

    * {
        text-align: right;
    }

    Check out the result to the right. If it’s ok, click the blue “Published” button on top of the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Text Align a Theme?’ is closed to new replies.