Site tagline not centered even though CSS code says so

  • Author
    Posts
  • #3201821

    nitorelli
    Member

    Hello, I’ve just taken over a student society website and I’m struggling to make the site’s tagline centered. All the forums I’ve checked suggest a CSS code that seems to already be in place. This is how the CSS is at the moment:

    #masthead.site-header {
    text-align: center;
    }

    a:hover {
    text-align: center;
    }

    .has-header-image #hero-header .inner {
    text-align: center;
    }

    .has-header-image #hero-header .site-title {
    text-align: center;
    }

    .site-branding {
    text-align: center;
    }

    p {
    text-align: justify;
    font-size: 15px;
    text-indent: 0px;
    margin-left: 0px;
    font-family: Tahoma;
    line-height: 1cm;
    }

    But as you can see, the tagline is aligned to the left: http://www.cavendishchronicle.co.uk

    Can anyone help me with this?

    The blog I need help with is blogacetilcolina.wordpress.com.

    #3201839

    Hi there,

    Please try adding the CSS below to the bottom of the customizer in Appearance > Customize > Additional CSS:

    .site-description {
        text-align: center;
    }

    If the CSS doesn’t have the desired effect, please let me know.

    I hope this helps :)

    #3206623

    nitorelli
    Member

    It worked! Thank you very much! :D

    #3207437

    You’re welcome, glad I could help :)

The topic ‘Site tagline not centered even though CSS code says so’ is closed to new replies.