Jump to content

Change filter close 'x' to text 'see results' on mobile

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Use this code to Website Tools > Custom CSS

@media screen and (max-width:991px) {
button.mobile-panel-close:before {
    content: "SEE RESULTS" !important;
    transform: unset !important;
    white-space: nowrap;
    background: unset !important;
    display: block;
    text-align: center;
    position: static !important;
    height: auto !important;
}

button.mobile-panel-close:after {
    display: none;
}

.custom-filter-container.use-mobile-panel.custom-filter-uid-0 .mobile-panel-close {
    width: auto !important;
    height: auto !important;
    padding: 10px !important;
    border: 1px solid black !important;
}
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.