Jump to content

Adding Buttons Under Portfolio Thumbnail Images 7.1

Recommended Posts

  • Replies 9
  • Views 400
  • Created
  • Last Reply

Top Posters In This Topic

19 minutes ago, brittco said:

Hi, 

Does anyone know how to add buttons under portfolio thumbnail images?

I'd like to add buttons under each image that says "View More"

image.thumb.png.1533af6d380b002fecbb1d3e2e57375b.png

I think we can use the pseudo element css code to work around with button style.

Can you share your site with protected password so I can take a look?

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
12 minutes ago, brittco said:

No problem. The site is https://www.tamisofia.com/services

There is no password needed.

Try the following code in Home > Design > Custom Css

.portfolio-grid-basic .grid-image:after {
  content: 'View more';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: rgba(255, 194, 194, 0.5);
  display: block;
  padding: 20px 20px;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

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

My testing

image.thumb.png.64f38aba8950570ceac29d30ac497a97.png

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
On 10/21/2022 at 8:23 PM, brittco said:

Also this code doesn't work for the images on the bottom of the page. 

Screen Shot 2022-10-21 at 9.22.55 AM.png

Use this new code

.portfolio-grid-basic .grid-image:after {
  content: 'View more';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 194, 194, 0.5);
  display: block;
  padding: 20px 20px;
}

 

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
On 10/22/2022 at 10:09 PM, tuanphan said:

Use this new code

.portfolio-grid-basic .grid-image:after {
  content: 'View more';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 194, 194, 0.5);
  display: block;
  padding: 20px 20px;
}

 

Thanks but it's still not working. The text is still overlapping and it's not showing up on the bottom images ... 

 

image.thumb.png.56c7d72b06914bfedd41432bcdfacebe.png

Screen Shot 2022-10-21 at 9.22.55 AM.png

Link to comment
On 10/24/2022 at 6:48 PM, brittco said:

Thanks but it's still not working. The text is still overlapping and it's not showing up on the bottom images ... 

 

image.thumb.png.56c7d72b06914bfedd41432bcdfacebe.png

Screen Shot 2022-10-21 at 9.22.55 AM.png

Show bottom

You mean show at bottom of image (still overlap image)

OR show under image?

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

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.