Jump to content

Adding Buttons Under Portfolio Thumbnail Images 7.1

Recommended Posts

Posted (edited)

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

Edited by brittco
  • Replies 9
  • Views 645
  • Created
  • Last Reply

Top Posters In This Topic

Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
On 10/19/2022 at 11:01 AM, brittco said:

image.thumb.png.1d6b9c59d4fbaf8370099755d9fcde21.pngThanks! Unfortunately, the text on the buttons is overlapping.

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

Posted
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!)

Posted
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

Posted
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!)

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.