WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Arundil2
    Member
    Posted 10 months 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. Siobhan Bamber (siobhyb)
    Forum Mod.
    Posted 10 months ago #

    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 10 months ago #

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

    good to now about the child theme thank you!

  4. Siobhan Bamber (siobhyb)
    Forum Mod.
    Posted 10 months ago #

    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 10 months ago #

    Sure, no problem

    Here

  6. Arundil2
    Member
    Posted 10 months 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. Siobhan Bamber (siobhyb)
    Forum Mod.
    Posted 10 months ago #

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

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.