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

Vertical slider tabs mobile issue


geglaja

Question

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

Hello,

Your best option here is to use a media query to change the orientation of the tabs on smaller screens. Since editing code in Codepen won't always work the way it should in Squarespace, a good starting point is this:

Add this to your Custom CSS for the block and tweak the settings:

@media only screen and (max-width: 640px) {
  .main-box {
     flex-direction: column;
  flex-wrap: nowrap;
    max-width: 100%;
    height: 100%;
  }
  .box.active
{
    width: 90% !important;
}
}

Best,

Dan

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...