Jump to content

How to restrict the box shadowed 1st column of the 3-columns

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://www.xystema.com/pricing

I created the shadows for the 3-columns (see screenshot attached) and I want the 1st column not to have the shadow.

Here's the code I used:

// create a shadow and border
section[data-section-id="61a0385f55deef3db8b5e406"] .sqs-col-4 {
  border: 1px solid #d5d5d5;
  width: 30%!important;
  margin-left: 3%;
  box-shadow: 5px 5px 15px rgba(0,0,0,.2)
}
//increase shadow and raise the column when hover
section[data-section-id="61a0385f55deef3db8b5e406"] .sqs-col-4:hover {
  box-shadow: 5px 5px 15px rgba(0,0,0,.4);
  transform: translateY(-10px);
  transition: all 0.25s;
}

I will appreciate any help. Thanks.

My website password: 061298

Screen Shot 2021-11-26 at 10.58.39 AM.png

Edited by Ciodensky
correct and rephrase
Link to comment
  • Solution
2 hours ago, Ciodensky said:

Site URL: https://www.xystema.com/pricing

I created the shadows for the 3-columns (see screenshot attached) and I want the 1st column not to have the shadow.

Here's the code I used:

// create a shadow and border
section[data-section-id="61a0385f55deef3db8b5e406"] .sqs-col-4 {
  border: 1px solid #d5d5d5;
  width: 30%!important;
  margin-left: 3%;
  box-shadow: 5px 5px 15px rgba(0,0,0,.2)
}
//increase shadow and raise the column when hover
section[data-section-id="61a0385f55deef3db8b5e406"] .sqs-col-4:hover {
  box-shadow: 5px 5px 15px rgba(0,0,0,.4);
  transform: translateY(-10px);
  transition: all 0.25s;
}

I will appreciate any help. Thanks.

My website password: 061298

Screen Shot 2021-11-26 at 10.58.39 AM.png

Is it what your mean?

image.thumb.png.16929e82a0f7b3c69db6d976c798a4e5.png

Try adding to Home > Design > Custom Css

section[data-section-id="6177d1eb3dfe9850e25d20a6"] .sqs-col-4:first-child {
	box-shadow: unset;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
2 hours ago, bangank36 said:

Is it what your mean?

image.thumb.png.16929e82a0f7b3c69db6d976c798a4e5.png

Try adding to Home > Design > Custom Css

section[data-section-id="6177d1eb3dfe9850e25d20a6"] .sqs-col-4:first-child {
	box-shadow: unset;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

It works! As always. Thanks so much for the swift reply! appreciate it!

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.