Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: media query in child theme #56431
    cblossants
    Member

    Done!

    in reply to: media query in child theme #56409
    cblossants
    Member

    Great, now seems good!

    Many thanks

    in reply to: media query in child theme #56380
    cblossants
    Member

    Hi, sorry I have been working on a localhost, and I uploaded a slightly older backup, however the problem remains the same but with the code below:

    /* Mobile Header */

    @media
    screen and (max-width: 800px) {#site-logo {display: none !important;}
    #site-header{padding:0 !important}}
    #mobile-header-left-menu {background-color:white !important}
    /* Nav */
    .nav-primary {background-color:blue}
    /* Full Width */
    .no-sidebar.content-width #page { width: 100% !important; }
    .no-sidebar.content-width #main { width: 100% !important; }
    /* Footer */
    #footer-content {display:none}
    #first {color:white}

    This all works OK as custom CSS, but when copied to child theme then the code


    @media
    screen and (max-width: 800px) {#site-logo {display: none !important;}

    isn’t working (but the rest is working

    Thanks

    in reply to: media query in child theme #56349
    cblossants
    Member

    Hi, doreide.com/test_wp
    Thanks

    in reply to: Full Width #56057
    cblossants
    Member

    Hi, that half sorted what I was looking for, also had to add “.no-sidebar.content-width #page { width: 100%; }” to get the other half!
    Many thanks for v. quick solution!

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