• Hello everyone.
    I tried to center my blog title but it doens’t work. I already give a center to my menu and this works perfectly. Can you tell me how to center my blog title? My blog is; http://by-ess.com/

    Hope you can help me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Find this code from Appearance>Editor>Style.css

    .site-header h1 {
        font-size: 34px;
        font-size: 2.2rem;
        /* line-height: 1.846153846; */
        margin-bottom: 0;
    }

    Add one line extra code:

    text-align: center;

    So the section look like these:

    .site-header h1 {
        font-size: 34px;
        font-size: 2.2rem;
        /* line-height: 1.846153846; */
        margin-bottom: 0;
        text-align: center;
    }

    Try adding the following to your custom css plugin or child theme:

    .site-header h1 {
        text-align: center;
    }

    When making changes to your theme styles, you’ll either want to use a custom css plugin (which you can browse here), or put it into the style sheet of a child theme. If you already have the Jetpack plugin installed, you can use its Custom CSS module.

    Changes made to the theme itself will be lost when the theme is updated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Center the blog title’ is closed to new replies.