Jump to content

Adding a card border to portfolio image thumbnails?

Recommended Posts

Posted

Hi!

I would love some help with CSS on this.
Would love for the portfolio page titles to have that pink background on (as pictured) as well as a 'see project' button on the right side of the title. 

Not sure if it's also possible to have the projects be staggered, instead of next to each other? 

SITE URL: https://violet-raccoon-bag5.squarespace.com/moje-prace
Password: juliawebsite123

Appreciate any help with this.

Screenshot (166).png

  • Replies 1
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Add to Website Tools (under Not Linked) > Custom CSS

h3.portfolio-title:after {
    content: "View project";
}
h3.portfolio-title {
    display: flex;
    justify-content: space-between;
    background-color: pink;
}
.portfolio-text {
    background-color: pink;
    margin: 0 !important;
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

 

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.