Css styles don't work on mobile

Hey, 

I've applied styles to the site that work on desktop and they don't work on mobile view. I've added a separate media query at max-width:600px and it still isn't working? 

Any idea how to fix this? 

Thank you!

Comments

  • Hi,
    1) Please attach link to your website
    2) Please send the CSS you applied

    Thanks
  • Okay. Thank you! 

    https://atlantis-aquatics.com/

    #Top_bar .top_bar_right a:not(.action_button) {color: #fff;}
    body:not(.template-slider) #Header_wrapper {
        background-size: cover !important;
        background-position: bottom center !important;
    }
    p small {display: none;}
    .post-desc-wrapper {
        background: #262628;
    }
    .woocommerce ul.products li.product .desc {background:black!important;}
    .image_frame .image_wrapper, .wp-caption img, .icon_box .icon_wrapper:before {border-color: #e2e2e2;}
    .image_frame {
        border: none !important;
    }
    .top_bar_right_wrapper a i {
        color: white !important;
    }
    .image_frame .image_wrapper .image_links, .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc {background:transparent!important;}
    .image_frame .image_wrapper .image_links a:hover {
        background: transparent!important;
        color: transparent!important;
    }
    .image_frame .image_wrapper .image_links a {
        color: transparent!important;
    }
    .post-desc h2 a {
        font-size: 28px;
        line-height: 0;
        font-weight: 400;
    }
    .pager .pages {background-color:transparent!important;}
    .pager .pages a.active {background-color:#0095eb;}
    .fixed-nav .arrow {background-color:black;}
    .fixed-nav .desc {background: black !important;}
    .accordion .question .title, .accordion .question .title > .acc-icon-plus {color:white;}

  • Hey,
    where did you paste this css? I am asking because it is not in theme options>custom css&js>css
    thanks
  • I put it in the child theme appearance>theme editor
  • Please disable all of the plugins, clear the cache of your browser and copy & paste that css into the theme options > custom css & js > css

    Thanks
  • That didn't work. Any other ideas? 
  • I think the problem is related to the "Jetpack" plugin or some mistakes with the css code before that code you sent.

    I pasted that CSS you sent and it's working fine.

    Thanks
  • That was it! Thank you!!!
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.