Okay
  Public Ticket #2643532
Center logo on Mobile
Closed

Comments

  • Jasmine started the conversation

    Hi, I have a centered header, but it will not center on mobile version. Could you help me figure out why? 

  •  2,963
    Andrew replied

    Hi Jasmine,

    Please try this css:

    @media only screen and (max-width: 999px){
    #header-outer[data-format="centered-menu-under-logo"] #top #logo .starting-logo {
        left: 130px;
    } }

    Thanks.

  • Jasmine replied

    Hi Andrew, thanks. Could I also get some code to help the tablet version be centered too? 

    Thanks!

  •  2,963
    Andrew replied

    Hi Jasmine,

    Please try this css:

    @media only screen and (max-width: 999px) and (min-width: 1px){
    body #header-outer:not(.transparent) #top .span_3 #logo .mobile-only-logo, body #header-outer.transparent #top .span_3 #logo[data-supplied-ml-starting="true"] img.mobile-only-logo.starting-logo:not(.dark-version), body #header-outer.transparent #top .span_3 #logo[data-supplied-ml-starting-dark="true"] img.mobile-only-logo.starting-logo.dark-version, #page-header-bg[data-parallax="1"] .span_6 .inner-wrap, #page-header-bg .span_6 {
        left: 37%;
    }
    }

    Thanks.

  • Jasmine replied

    Thank you, that worked!!