Modern Portfolio header and nav not centering on mobile

Community Forums Forums Design Tips and Tricks Modern Portfolio header and nav not centering on mobile

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by  Elaine Griffin 1 year, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #68249

    Elaine Griffin
    Participant
    Post count: 86

    Hello! For some reason, my mobile responsive site isn’t mobile responsive. It’s just the header and nav – the rest look great!
    I’ve been around and around with it. I’m sure it’s something I’m overlooking.
    Thanks for any help!
    Elaine

    http://www.elainegriffindesigns.com/
    #68331

    nutsandbolts
    Keymaster
    Post count: 3202

    The nav is responding fine for me, but the header image is a little too wide. Did you add the header in your stylesheet or using Appearance > Header?


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #68375

    Elaine Griffin
    Participant
    Post count: 86

    Thanks nutsandbolts!
    I edited the functions file to change the size of the header and then added it via appearance > header.

    #68449

    nutsandbolts
    Keymaster
    Post count: 3202

    You might try adding background-size: contain; to #header in your stylesheet to see if that helps the logo resize correctly.


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #68481

    Elaine Griffin
    Participant
    Post count: 86

    Shoot, no, that didn’t do it.

    #68486

    nutsandbolts
    Keymaster
    Post count: 3202

    In Firebug, if I add background-size: contain !important; it forces the logo to resize, so try that instead. :)


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #68593

    Elaine Griffin
    Participant
    Post count: 86

    Oh my gosh! I have tried this every which way, and I’m just not getting it to work! Very frustrating.

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

You must be logged in to reply to this topic.