Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Add subtitle to index item tiles in York template


scoobyc

Question

Hello,

I've combed through many similar posts around adding subtitles to portfolio grid thumbnails, but they are not quite working for me and I don't know enough about coding to adapt them to my situation myself. 

I'd like to add subtitles under the main title on each index item tile. The York template allows you to achieve this using Categories, but only for Collection pages (gallery, blog, and project pages). However, all my case study pages are built using regular pages, and there is no way to apply categories to them, so I'm looking for a workaround using custom CSS to simply add a subtitle to the tiles.

See page here: https://chanda-patel.squarespace.com/test-index-grid

Thanks in advance for any help!

Edited by scoobyc
site link
Link to comment

4 answers to this question

Recommended Posts

  • 1

Hi. You mean this? Use this CSS

div#index-section-test-regular-page h2.index-item-title a:after {
    content: "squarespace best";
    display: block;
    color: gray;
    font-size: 16px;
}

image.thumb.png.c40c6bc7640def71e53c8427418c3340.png

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
On 11/9/2021 at 9:00 AM, Coliviapearson said:

Hello @tuanphan

I hope you're doing great!
Sorry to bother you, I think I have put the code you kindly gave to add a "subtitle" wrong.

Do you need to add something else to it to make it work?
My best

Just use above code. Each item = 1 code.

If the code doesn't work, can you share link to your site? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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