• Resolved evildoer

    (@evildoer)


    Hi….

    Have scoured the forums and was able to find help to center my logo and nav menu – but not the title and tagline.

    Tried this code….

    }
    #site-title, #site-description {
        margin: 0 auto; text-align: center;
        }

    …in multiple locations in style.css but no soap. I actually don’t see a reference in style.css to title – only header, site structure, etc.

    Would also like to play with the font while I’m at it. I am using child theme and have used Tiny Forge on other sites.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Try this:

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

    Would also like to play with the font while I’m at it

    What font, the title or site wide?

    Thread Starter evildoer

    (@evildoer)

    just title and tagline font thank you.

    Thread Starter evildoer

    (@evildoer)

    I tried your code in child style.css right beneath:

    /* 3.4.1 Site Header */

    Made no difference.

    Then you just add the font to the code:

    .site-header h1, .site-header h2 {
        text-align: center;
        font-family: "Open Sans",Helvetica,Arial,"Nimbus Sans L",sans-serif;
    }

    Just Google what font you want to use.

    I tested it using a CSS Editor Plugin and it worked for me.

    Not sure why it not working in your child theme, sorry

    Thread Starter evildoer

    (@evildoer)

    Something to do with my centering of the logo and menu perhaps?

    Am I placing the code in correct place ?

    fenceworksny.com/

    Thread Starter evildoer

    (@evildoer)

    I just deactivated the coming soon plugin…ooops

    Delete the code I gave you and replace with this one:

    #site-title-wrapper {
        float: none;
    }
    
    .site-header h1, .site-header h2 {
        text-align: center;
    }

    Thread Starter evildoer

    (@evildoer)

    And dere ya go !

    THAT NEW CODE DI THE J – O – B

    Thank ye.

    That was enough for today. I’ll play with the font tomorrow.

    Your help is very much appreciated.

    Thread Starter evildoer

    (@evildoer)

    Site title and tagline alignment RESOLVED.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to Center Site Title and Tagline Change Font’ is closed to new replies.