Jump to content

Accordion block spacing on mobile

Recommended Posts

  • Replies 4
  • Views 884
  • Created
  • Last Reply

Top Posters In This Topic

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1661754245438_133611 {
    padding-top: 0px !important;
}
div#block-yui_3_17_2_1_1661754245438_10049 {
    padding-bottom: 0px !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
  • 1 year later...

Hi there, 

I have the same problem. I have two side-by-side accordion blocks on a few pages of a client's website and they would like to remove the space and double line between the two blocks on mobile. This is a 7.1 website.

Right now I have placed a divider image between them but my client would prefer these two accordion blocks act as one large accordion, so a workaround would be greatly appreciated!

I have included a screenshot of the two blocks before I added the divider to show the extra space and double lines. 

The first page is: www.tribebaltimore.com
The second page is: www.tribebaltimore.com/class-schedule

Can you help? 

unnamed.png

Edited by mavencreative
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.