Jump to content

Adding an icon to portfolio grid overlay in 7.1

Recommended Posts

  • Replies 4
  • Views 669
  • Created
  • Last Reply
Posted
17 hours ago, Brian_Blatnicki said:

Add to Design > Custom CSS

/* Portfolio icon */
h3.portfolio-title:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(https://cdn.pixabay.com/photo/2021/01/21/17/58/herbstastern-5938056__340.jpg);
    background-size: contain;
    text-align: center;
    background-position: center center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 40%;
}

image.thumb.png.06fd5d7c6671c65c4619d97157161829.png

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

Archived

This topic is now archived and is closed to further replies.

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