Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Hide pockets on mobile / Load CSS in pockets

NonnisiNonnisi New
edited September 2012 in Vanilla 2.0 - 2.8

Does anyone know how to hide all pockets on mobile?

I know bootstrap contains the feature, but since pockets only lets you edit the body, I cant link a css file/meta to it.

Tagged:

Comments

  • KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    You can add this bit of CSS to the custom.css file of the mobile theme:

    @media (max-width: 480px) {
    
        .your-element {
            display: none;
            visibility: hidden;
        }
    
    }
    

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

Sign In or Register to comment.