Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1209008
    ignaciosantiago
    Participant

    Hi,

    Is it possible to hide content in mobile? Let me explain. I have, for example, a 3 column in https://frenchiemania.com/bulldog-frances, with 1 column an icon, another column a rating shortcode and a last column with another icon.

    This is very nice from desktop, but in mobile view it shows first an icon, then the rating and the another icon (is doesnยดt make sense). I know that cornerstone lets me chosse the view in the “sections”, but not in the “columns”. It is possible to hide the icons from the mobile view?

    Thanks

    #1209020
    Thai
    Moderator

    Hi There,

    Please add the following CSS under Customizer > Custom > Global CSS:

    @media (max-width: 767px){
        .page-id-72 #x-section-8 .cs-ta-left,
        .page-id-72 #x-section-8 .cs-ta-right {
            display: none;
        }
    }

    Hope it helps ๐Ÿ™‚

    #1217200
    ignaciosantiago
    Participant

    Thanks! And what happens when i want to add that section (icons+rating) in every post?

    #1217247
    Thai
    Moderator

    Hi There,

    In that case, please update the previous CSS to this:

    @media (max-width: 767px){
        .page-id-72 #x-section-8 .cs-ta-left,
        .page-id-72 #x-section-8 .cs-ta-right,
        .single-post .cs-ta-left,
        .single-post .cs-ta-right {
            display: none;
        }
    }

    Hope it helps ๐Ÿ™‚

    #1217317
    ignaciosantiago
    Participant

    Thanks! And in all pages?

    #1217353
    Thai
    Moderator

    Try this:

    @media (max-width: 767px){
        .page .cs-ta-left,
        .page .cs-ta-right,
        .single-post .cs-ta-left,
        .single-post .cs-ta-right {
            display: none;
        }
    }

    Regards!

    #1217363
    ignaciosantiago
    Participant

    Thanks again!!

    #1217378
    Thai
    Moderator

    You’re most welcome ๐Ÿ™‚

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