Center Custom Header

Community Forums Forums General Discussion Center Custom Header

This topic is: not resolved

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  braddalton 1 year, 2 months ago.

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

    gbco
    Participant
    Post count: 1

    I am trying to figure out how to center the “Custom Header” in the Epik theme.

    Currently header image is aligned to the left and Google Chrome is telling me that it is housed in the title-area.

    I uploaded the logo into WordPress via the header upload tool.

    Can’t seem to figure this one out.

    Any suggestions / advice would be great!

    Thank You so much!

    #63803

    braddalton
    Participant
    Post count: 10562

    Try adding text align: centre; to the rule which you can inspect using Firebug or Chrome.


    #63816

    gbco
    Participant
    Post count: 1

    @Brad

    Thank you for your tip!! I was able to get to the logo to center perfectly on my iMac and iPad Mini, but I can not get it to center on my iPhone5. Suggestions?

    The code I used to make this work was:

    .site-header {
    	margin: 0 auto;
    	max-width: 1140px;
    	margin-left:auto;
        margin-right:auto;
        width:29%;
    #63827

    braddalton
    Participant
    Post count: 10562

    I know you can use conditional tags for different mobile devices. There’s several plugins you can install to add them.


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

You must be logged in to reply to this topic.