Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1307634
    JfantasyBooks
    Participant

    Hello,

    Details:

    Name: JFantasyBooks
    Site: Fantasy-Updates
    Site Url: https://fantasy-books.live
    WordPress Version: 4.7
    X Version: 4.6.4
    Cornerstone Plugin Version: 1.33

    Problem:

    I have a php code but I don’t want it to appear in mobile view. I gave it a div tag.

    How can I make sure it doesn’t appear on mobiles and on Tablets?

    #1308025
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Please add this class (cs-hide-sm, cs-hide-xs, cs-hide-md) to your div tag.

    e.g.
    <div class="cs-hide-sm cs-hide-xs cs-hide-md">

    Hope it helps, Cheers!

    #1308174
    JfantasyBooks
    Participant

    Thank You.

    #1308181
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

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