Center align the text in header for eleven40 theme

Community Forums Forums Design Tips and Tricks Center align the text in header for eleven40 theme

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Tony @ AlphaBlossom 1 year, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25577

    shalinjain
    Participant
    Post count: 7

    How do I align the text in the header to the center (eleven40 theme)? It should also be automatically center aligned on mobile versions of the site… Right now, the text in the header is left aligned.

    Site: http://voteridcard.org.in

    - Shalin

    #25579

    Tony @ AlphaBlossom
    Participant
    Post count: 543

    Around line 269 of your child theme stlye.css you have:

    .header-full-width #title-area, .header-full-width #title, .header-full-width #title a {
    width: 100%;
    }

    add:

    text-align: center;

    It stays centered as you go to smaller resolutions, but you will have to do something with your background image because it doesn’t scale well.


    #25584

    shalinjain
    Participant
    Post count: 7

    Thanks a lot Tony.. Really appreciate your quick  help.. Otherwise I was seriously disappointed with Studiopress’ Support..

    - Shalin

    #25595

    Tony @ AlphaBlossom
    Participant
    Post count: 543

    Hi Shalin…I’m glad I could help!


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.