tulikasud Posted August 29, 2022 Share Posted August 29, 2022 Site URL: https://www.studiogiraffe.sg/ Hi, I have two side-by-side accordion blocks which looks fine on desktop. On mobile, I'd like them to look like one single accordion block i.e. remove the space between the last item on the first accordion and the first item on the second accordion. How can I do this with CSS? Link to comment
tuanphan Posted August 29, 2022 Share Posted August 29, 2022 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
tulikasud Posted August 30, 2022 Author Share Posted August 30, 2022 Thanks so much! tuanphan 1 Link to comment
mavencreative Posted April 3 Share Posted April 3 (edited) 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? Edited April 3 by mavencreative Link to comment
tuanphan Posted April 7 Share Posted April 7 It looks like you solved by using an image between? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment