Jump to content

Hide Element from Mobile

Recommended Posts

Site URL: https://maroon-triangle-rlhr.squarespace.com

Hi there, 

Does anyone know the code that can help me have a code block work on the desktop but not show up on the mobile

We have a client that wants a review plugin on desktop. However, it takes up too much of the screen on mobile so we want it removed. The code used for the plugin is: <div class="rw-reviews-wrap"></div>
<script>/*<![CDATA[*/window._rwREl=JSON.parse('{"mode":"badge","pos":"top-left","key":"2760-9425-5578-6ac6-bdbc"}')/*]]>*/</script>
<script src="https://cdn.reviewwave.com/js/reviews.js"></script>

Is there anything I can do or add to the css or a code black to not have this shown? 

Any direction or help on this would be appreciated. I have searched all day on forum and squarespace help sites to not find a solution.

Link to comment

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.rw-launcher.rwl-top.rwl-left {
    display: none !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.