Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1227633
    ldollard
    Participant

    i’m using this css

    @media (max-width: 414px) {
    footer.x-colophon.top{
    display: none !important;
    }
    }

    but it removes it from the entire site, i just want it removed in mobile.

    #1227843
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! The css code is valid and correct. Unless there is some conflict that conflict could be the reason why it doesn’t work. To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thank you.

    #1227940
    ldollard
    Participant
    This reply has been marked as private.
    #1227942
    Rad
    Moderator

    Hi there,

    The CSS is correct, I tried it and it’s working as expected. I also checked and you already added it and working.

    That targets it mobile’s top footer, and there is another that hide it too globally.

    Thanks!

    #1227943
    ldollard
    Participant

    I can’t find the one that’s hiding it globally. I only want it gone on mobile.

    #1227945
    Rad
    Moderator

    Hi there,

    It’s here

    http://dev4.novelcreativeagency.com/wp-content/themes/x-child/style.css

      footer.x-colophon.top{
        display:none;
      }

    Cheers!

    #1227948
    ldollard
    Participant
    This reply has been marked as private.
    #1227954
    Rue Nel
    Moderator

    Hello There,

    Please copy the contents your child theme’s style.css in a text editor. You can find it in line 464.

    You can remove that block and then add this:

    @media (max-width: 414px) {
      footer.x-colophon.top{
        display: none !important;
      }
    }

    at the very bottom of all your other css.

    Hope this helps.

    #1227960
    ldollard
    Participant

    Thanks so much. I figured it out. I didn’t close out my mobile iPad @media so it was attributing the CSS to desktop. Thanks so much.

    #1227968
    Paul R
    Moderator

    You’re welcome! 🙂

  • <script> jQuery(function($){ $("#no-reply-1227633 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>