Jump to content

How can I style image caption text only for select words?

Recommended Posts

Site URL: https://arena-2.squarespace.com/approach

How can I style image caption text only for select words? 

I want the first couple of words in bold. Can I add html directly into the image caption/image description?

Does @tuanphan or @brandon or @paul2009 (or other genies)

site: https://arena-2.squarespace.com/approach

password: Arenasite

 

Edited by peterbjerg
Link to comment
On 3/23/2020 at 2:02 PM, brandon said:

Hi Peter. If you are referring to image caption/descriptions added using this code, then it's not currently possible. However, it is something I'd like to add. Perhaps I'll do that soon.

hi @brandon

Could you tell me how to make item-description with top alignment when text/image is shown in "simple slide show"  
 

Slideshow on this site/page:

https://arenastrategy.squarespace.com/approach

password: Arenasite

 

And other ways to make descriptions appear closer and same distance from image, no matter how long the description is  

Is it this part of the code, I should change?

.gallery-slideshow, .gallery-fullscreen-slideshow, .gallery-reel {
  .gallery-item-description {
    padding: 12px 12px;
    width: 65%;
    align-content: flex-start;
    opacity: 1;
    transition: opacity 0.2s;
  }

I already changed width to 65& and that work.

I also changed text styling for description in this part:

.gallery-item-description {
  font-family: "Giorgia", serif;
  font-size: 16px;
  color: black;
}

 

But regarding top aligment of text, and getting text closer to image, I am lost 🙂  

and need your help!

 

 

...thanks a million!

 

Edited by peterbjerg
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.