Title: Hide Elements in Mobile View
Last modified: November 10, 2020

---

# Hide Elements in Mobile View

 *  Resolved [Laura is Boho Style](https://wordpress.org/support/users/mikefashion31/)
 * (@mikefashion31)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/)
 * Hello,
    Lovely theme. Exactly what we needed for our fashion mag. What I wanted
   to ask is that we need to test the mobile view of the theme, with author box 
   and comment form hidden (display:none). Is it possible to provide us the css 
   code for this? Warmest wishes! Laura
    -  This topic was modified 5 years, 7 months ago by [Laura is Boho Style](https://wordpress.org/support/users/mikefashion31/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Nidwija – ThemeGrill Support](https://wordpress.org/support/users/nidwija/)
 * (@nidwija)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13647296)
 * Hi [@mikefashion31](https://wordpress.org/support/users/mikefashion31/)
 * Can you provide your site link and if possible a screenshot of the area you’re
   describing so that I can help accordingly?
 * Regards,
    ThemeGrill
 *  Thread Starter [Laura is Boho Style](https://wordpress.org/support/users/mikefashion31/)
 * (@mikefashion31)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13647516)
 * Hi [@nidwija](https://wordpress.org/support/users/nidwija/) ,
    Unfortunately 
   our site now is on localhost. Do you still want me to provide you a screenshot?
   Thank you for your help!
 *  Thread Starter [Laura is Boho Style](https://wordpress.org/support/users/mikefashion31/)
 * (@mikefashion31)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13649752)
 * Hi [@nidwija](https://wordpress.org/support/users/nidwija/),
    Take a look at 
   the following screenshot [author box – comment section](https://prnt.sc/vhh8z8)
   We would like not to include these two sections on the beta version of our site.
   So, if it is possible can you provide me with a css code that will hide those
   two elements with the (display:none) value, sitewide? Thank you so much for your
   help! Laura
 *  Thread Starter [Laura is Boho Style](https://wordpress.org/support/users/mikefashion31/)
 * (@mikefashion31)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13656218)
 * Hi [@nidwija](https://wordpress.org/support/users/nidwija/)
    is everything ok?
   I hope that this is something not too difficult for you. Provide me with an css
   code please, so I can test the theme without the author box and the comments 
   section. Thank you in advance!
 *  [Rohit](https://wordpress.org/support/users/rohitkc32/)
 * (@rohitkc32)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13657097)
 * Hi [@mikefashion31](https://wordpress.org/support/users/mikefashion31/)
 * To disable the author box, please Go to
    `Appearance > Customize > Theme Options
   > Single Post section` and disable the author box.
 * To disable the comment section, please Go to
    `Settings > Discussion` and disable
   the comments from your site from here.
 * Do let us know if it helps.
 * Best Regards,
 *  Thread Starter [Laura is Boho Style](https://wordpress.org/support/users/mikefashion31/)
 * (@mikefashion31)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13658609)
 * Hello [@rohitkc32](https://wordpress.org/support/users/rohitkc32/)
    Thank you
   for answering me! I knew about this function but I would like to hide those two
   elements ONLY IN MOBILE VIEW. Something like (display: none;) and [@media](https://wordpress.org/support/users/media/)
   screen and (max-width: 768px) { that I will add to the custom CSS. Is it possible
   please? I am not that techy savvy but having the code I believe, will do the 
   trick… Take care!
 *  [Rohit](https://wordpress.org/support/users/rohitkc32/)
 * (@rohitkc32)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13678096)
 * Hi [@mikefashion31](https://wordpress.org/support/users/mikefashion31/)
 * Please apply the following CSS and see if it helps:
 *     ```
       @media screen and (max-width: 768px){
           #comments{
               display: none;
           }
       }
       ```
   
 * And for author box please apply the following CSS:
 *     ```
       @media screen and (max-width: 768px){
           .tg-author-box{
               display: none;
           }
       }
       ```
   
 * Do let us know if it helps.
 * Best Regards,
 *  Thread Starter [Laura is Boho Style](https://wordpress.org/support/users/mikefashion31/)
 * (@mikefashion31)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13689918)
 * Excellent support!
    I owe guys for this… Solved!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Hide Elements in Mobile View’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/cenote/1.4.2/screenshot.jpg)
 * Cenote
 * [Support Threads](https://wordpress.org/support/theme/cenote/)
 * [Active Topics](https://wordpress.org/support/theme/cenote/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/cenote/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/cenote/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Laura is Boho Style](https://wordpress.org/support/users/mikefashion31/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/hide-elements-in-mobile-view/#post-13689918)
 * Status: resolved