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

Code block rendering weird top padding


happyscone

Question

Site URL: https://cone-tuna-x47f.squarespace.com/

 

I created some tabs on the Services page with this code tutorial: https://www.will-myers.com/articles/adding-simple-tabs-to-your-website-in-squarespace-71-and-70

Unfortunately, it did not render well for Mobile and the tabs were cutting off. I managed to alter the code so that the tabs did not cut off, but now there is a big chunk of padding above that is technically the code block itself... wanted to see if anyone had any thoughts on how to adjust this?

https://cone-tuna-x47f.squarespace.com/ pw: haircare

Screen Shot 2021-09-23 at 9.17.26 AM.png

Link to comment
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

3 answers to this question

Recommended Posts

  • 0
On 9/30/2021 at 12:25 AM, happyscone said:

Try adding to Design > Custom CSS

/* white padding above tabs */
@media screen and (max-width:767px) {
.tabs-container {
    margin-top: -100px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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