Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Hide Element from Mobile


Bre

Question

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 post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Home > Design > Custom CSS @media screen and (max-width:767px) { .rw-launcher.rwl-top.rwl-left { display: none !important; } }  

4 answers to this question

Recommended Posts

  • 0
3 hours ago, tuanphan said:

Add to Home > Design > Custom CSS


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

 

This works! Thank you so much! 

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...