Jump to content

Adding photo credits to header and block images

Recommended Posts

Posted

Site URL: https://www.wairarapaaeroclub.co.nz/staging-welcome

Hi people,

I would like to add photo credits to my header and (card) images (see attachment). I have managed to get the credits into a section with the following code:

/*Text Based Photo Credit*/
section[data-section-id="61a5297093bb76183d984b30"] .section-background::after {
  content: "Credit Tristam Sparks and restlesseye.com";
  display: block;
  position: absolute;
  font-family: 'firasanslight';
  font-size: 12px;
  color: white;
  bottom: 0;
  right: 0;
  padding: .5rem 1.2rem; //adjust to your liking
}

However this does not work on header or other images.

The site is public https://www.wairarapaaeroclub.co.nz/staging-welcome. Help would be greatly appreciated.

Cheers,

Dennis

Screen Shot 2022-02-09 at 2.35.02 PM.png

Screen Shot 2022-02-09 at 2.34.38 PM.png

  • Replies 1
  • Views 619
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Use this code

div#block-b0a01fafead7e0677a65 .image-inset:after {
    content: "Credit Tristam Sparks and restlesseye.com";
    display: block;
    position: absolute;
    font-family: 'firasanslight';
    font-size: 12px;
    color: white;
    bottom: 0;
    right: 0;
    padding: 0.5rem 1.2rem;
}

 

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.