Jump to content

How to apply CSS to specific image blocks on 7.1 FE

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Remove border attribute from this code

section[data-section-id="62e3e7774593e66ba94256d2"] .user-items-list-carousel .list-item {
    border-top: 5px solid #30d07d;
    border-radius: 20px !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

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
  • 4 months later...

Hey guys! Trying to do something similar here, keying in on hover-over animation for only the images with the numbers 1, 2, and 3 listed on them. Here's the link and the code thus far. Appreciate any help!

https://hexaflexagon-gopher-sffb.squarespace.com/
PW: dreamrut

.sqs-block .fluid-image-container::after { 
   content: 'click';
  font-size: 20px;
  font-type: Brandon Grotesque, helvetica;
  font-style: bold;
  position: absolute;
  top: 0;
  left: 0;
  background: #fdebd3;
    width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 52px;
  border-radius: 100%;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  transition: opacity 1s;
}
.sqs-block:hover .fluid-image-container::after {
  opacity: 0.5;
}

Link to comment
On 12/4/2022 at 12:33 PM, travisandrew said:

Hey guys! Trying to do something similar here, keying in on hover-over animation for only the images with the numbers 1, 2, and 3 listed on them. Here's the link and the code thus far. Appreciate any help!

https://hexaflexagon-gopher-sffb.squarespace.com/
PW: dreamrut

.sqs-block .fluid-image-container::after { 
   content: 'click';
  font-size: 20px;
  font-type: Brandon Grotesque, helvetica;
  font-style: bold;
  position: absolute;
  top: 0;
  left: 0;
  background: #fdebd3;
    width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 52px;
  border-radius: 100%;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  transition: opacity 1s;
}
.sqs-block:hover .fluid-image-container::after {
  opacity: 0.5;
}

It looks like you solved this or you want to make click text to clickable?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

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

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.