Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #451509

    Hello,

    I thought this was fixed (see this https://kriesi.at/support/topic/centered-large-logo-not-working-on-mobile/#post-451376) but when I fixed the mobile with this code:
    .responsive .logo img { margin-left: 20%; }

    It broke on the desktop view. The log shifted to the right and was then cut off.
    Here is the entire Quick CSS code as it is now.
    /* positions menu -secondary*/
    nav.sub_menu {
    left: -30% !important;
    position: relative;
    }
    /* Centers logo and leaves it bigger size*/
    .html_header_top.html_logo_center .logo {
    left: 28%;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    }
    @media only screen and (min-width: 990px) {
    #header_main>.container {
    padding: 0px;
    top: -215px;
    }}
    .inner-container {
    top: 210px;
    }
    /* Font size of body*/
    body {
    font-size: 15px;
    }
    /* Turns off the auto capitalization*/
    h1,h2,h4,h5,h6{
    text-transform: none !important;
    }
    /* Header displaying correctly on Tablets*/
    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .responsive .mobile_menu_tablet .main_menu {
    display: block;
    }
    .main_menu {
    margin-right: -30px;
    }
    .main_menu ul:first-child > li > a {
    font-size: 10px;
    }
    .logo img {
    width: 250px !important;
    }
    }

    #452107

    Hi Lynn!

    Try adding this:

    .html_header_top.html_logo_center .logo {
        display: inline-block;
        float: none;
        position: relative;
    }
    
    .html_header_top.html_logo_center {
        text-align: center;
    }

    Cheers!
    Josue

    #453730

    Thanks Josue, but that didn’t work.
    Lynn

    #454162

    Hi Lynn!

    Try with this instead:

    .html_header_top.html_logo_center .logo {
        display: inline-block;
        float: none;
        position: relative;
        left: auto;
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
    }
    
    .html_header_top.html_logo_center {
        text-align: center;
    }

    Best regards,
    Josue

    #455316

    No that didn’t work either, Josue. Wouldn’t it need a @media query?
    Sorry, I’m no good at troubleshooting this stuff.
    -Lynn

    #455478

    Hey!

    You enabled the social icons on mobile. Please provide a screenshot of your expected header layout on smaller screens. Use imgur or dropbox. We will provide the css after.

    Regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.