Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #872550

    Hey, I’m trying to change simple stuff on mobile like logo position, sticky header and masonry title alignment… those things usually work easily but for some reason any code I insert in Quick CSS is not doing anything and I can’t figure put why, help please?
    thanks

    #872696

    Hey yaelbar,

    Thanks for the login details. What CSS is not applying exactly? Please try to be as specific as possible.

    Best regards,
    Rikard

    #872792

    Hi,
    The codes I tried to put were:

    /*sticky header on mobile*/
    .html_header_top.html_header_sticky #header {
    position: fixed !important;
    }
    @media only screen and (max-width: 767px) {
    .responsive #main {
    padding-top: 82 !important;
    }
    }
    /*masonry title align centre*/
    h3.av-masonry-entry-title { text-align: center !important; }
    /* Change logo and menu position in tablets and mobile */
    @media only screen and (max-width:767px) {
    #advanced_menu_toggle {
    left: 0!important;
    right:auto!important;
    }
    .logo {
        float: right!important;
        width: auto!important;
    }
    }

    Thanks for the help,
    Yael

    #872995

    Hi,

    Thanks for that, let’s start with your first block:

    /*sticky header on mobile*/
    .html_header_top.html_header_sticky #header {
    position: fixed !important;
    }
    @media only screen and (max-width: 767px) {
    .responsive #main {
    padding-top: 82 !important;
    }
    }

    You don’t have a media query around this code:

    .html_header_top.html_header_sticky #header {
    position: fixed !important;
    }

    And this bit, you’re applying top padding but how much? 82 what? It needs to have value like px or % for instance:

    @media only screen and (max-width: 767px) {
    .responsive #main {
    padding-top: 82 !important;
    }
    }

    Best regards,
    Rikard

    #873354

    Hi, I tried to use this code:

    @media only screen and (max-width: 767px) {
    .html_header_top.html_header_sticky #header {
    position: fixed !important;
    }
    @media only screen and (max-width: 767px) {
    .responsive #main {
    padding-top: 82px !important;
    }
    }

    still doesn’t work…

    #873372

    Hey!

    There were couple closing curly brackets missing. I added them. Please review your website :)

    Regards,
    Yigit

    #873373

    Hi Yigit,
    Sorry, but I don’t see any changes…

    #874320

    Hi,
    Thank you for the help but the logo is still right and I need it to float left….
    can you provide me the correct code for that?
    thanks

    #874411

    Hi,

    Please check the css media queries and make sure that there are no missing curly braces. Add this code in the Quick CSS field.

    @media only screen and (max-width: 767px) {
        .responsive #top .logo {
           float: left;
           width: auto;
        }
    }

    Best regards,
    Ismael

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