WordPress.org

Forums

Custom Community
[resolved] How Do I Center Site Title? (7 posts)

  1. Arundil2
    Member
    Posted 1 year ago #

    Hello!

    I was able to center the home page title with:

    h1{
    text-align: center
    }

    but it only works with the home page, and I am a rookie in css....
    can anyone tell me how to center the title in all pages, and if possible how to center the tagline aswell?

    thank you!

  2. For the page title's try:

    .pagetitle {
    text-align: center;
    }

    And for the tagline:

    #blog-description {
    text-align: center;
    }

    Please note, any changes to the theme should be made via a child theme or a custom CSS plugin else you risk losing important changes when updating your theme in the future.

  3. Arundil2
    Member
    Posted 1 year ago #

    It worked for the tagline
    but it is not working for the title

    good to now about the child theme thank you!

  4. Hey. Do you mind providing a link to your site? It'll give me a better chance of helping you with the CSS. I was working off my personal install of this theme, it's hard to second guess how yours may differ.

  5. Arundil2
    Member
    Posted 1 year ago #

    Sure, no problem

    Here

  6. Arundil2
    Member
    Posted 1 year ago #

    I used a code that works!

    #header div#logo {
    text-align: center;
    }

    Thank you for your time Siobhan, it helped me a lot :)

  7. You're welcome. Glad you managed to solve the title problem, and thanks for posting your solution. :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.