Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #702132

    Hey guys, so the following style use to work for me.
    Now the class .visible-phone does not.
    It just has everything disappearing on the mobile device.

    The goal I am after is to have certain cells showing content on the mobile phone only/ Any thoughts are appreciated …

    .hidden {
    display: none;
    visibility: hidden;
    }

    .visible-phone {
    display: none !important;
    }

    .visible-tablet {
    display: none !important;
    }

    .hidden-desktop {
    display: none !important;
    }

    @media (max-width: 767px) {
    .visible-phone {
    display: inherit !important;
    }
    .hidden-phone {
    display: none !important;
    }
    .hidden-desktop {
    display: inherit !important;
    }
    .visible-desktop {
    display: none !important;
    }
    }

    @media (min-width: 768px) and (max-width: 979px) {
    .visible-tablet {
    display: inherit !important;
    }
    .hidden-tablet {
    display: none !important;
    }
    .hidden-desktop {
    display: inherit !important;
    }
    .visible-desktop {
    display: none !important ;
    }
    }

    #702370

    Hey Justin,

    Under this code:

    @media (max-width: 767px) {

    you should replace this code:

    .visible-phone {
    display: inherit !important;
    }

    to this one:

    .visible-phone {
    display: block !important;
    }

    Hope this helps. :)

    Best regards,
    Nikko

    #702418

    This doesn’t seem to work for me Nikko

    #702423

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Yigit

    #702496

    Hey Yigit…

    #702506

    Hi!

    I adjusted your custom CSS a bit. Can you please try it now? If that still does not work, please point out the element which has the custom class that is not working

    Cheers!
    Yigit

    #702530

    Hmm Yigit, my IPhone 6+ reflects no change.

    #702535

    Yigit … take a look at the PROCESS page.
    What renders on desktop should vary from IPhone.
    See link below…

    #703353

    Hi,

    This was the issue – http://i.imgur.com/Toa0rIK.png. You were trying to display the element on mobile using custom CSS while it was set to be hidden on mobile.
    Please review your page and make sure that this is not the case for other elements.

    Best regards,
    Yigit

    #703355

    haha oh yea, that would make sense :/
    Wow! Good catch.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Visible Mobile ONLY’ is closed to new replies.