Jump to content

Adding subtitle to Portfolio Grid Thumbs

Recommended Posts

Posted (edited)

Hello guys, I hope someone can help out with my query.

I'm trying to add a subtitle or a short description to my grid thumbs (I'm not too sure about the terminology for this button but please refer to the images for reference).

I want it to be so that there will be an additional line/paragraph of a few sentences under 'Unit A' which helps to explain what 'Unit A' would be about.

I know it's possible to override the settings using the Custom CSS but I'm not equipped with enough knowledge in that area and would really appreciate if anyone could help me out.

Thank you very much for your time and kind attention!

Unit A - Thumb.PNG

Unit A - Title.PNG

Edited by Freeda_Madius
  • 2 months later...
Posted
19 hours ago, lauren_m said:

@tuanphan <br/> works! Is there a way to make the font size of the short title smaller? 

Can you share link to portfolio? We can check easier with new code. You need new code to make other style for short title

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

  • 1 month later...
Posted
38 minutes ago, daangqueenie said:

Hi @tuanphan I am using the <br/> tag in the title as well. Can you explain how I can edit the font size of the description to be smaller/different colour?

Caption section accept html so you can use this snippet, replace text with your own will

<h2 class='thumb-caption'>I'm a Caption</h2>
<p class='thumb-desc'>I'm a Description</p>

and add this to custom css, it will make sure the color and style only applied where you wanted

.thumb-caption {
	color: red; /* Just example */
	padding: 0;  /* Just example */
}

.thumb-desc {
	color: yellow; /* Just example */
	padding: 0;  /* Just example */
}

with some css technique you can also achieve these effect (other than the default)

 

chrome-capture (3).gif

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

  • 9 months later...
Posted
On 11/12/2020 at 11:28 PM, bangank36 said:

Caption section accept html so you can use this snippet, replace text with your own will

<h2 class='thumb-caption'>I'm a Caption</h2>
<p class='thumb-desc'>I'm a Description</p>

and add this to custom css, it will make sure the color and style only applied where you wanted

.thumb-caption {
	color: red; /* Just example */
	padding: 0;  /* Just example */
}

.thumb-desc {
	color: yellow; /* Just example */
	padding: 0;  /* Just example */
}

with some css technique you can also achieve these effect (other than the default)

 

chrome-capture (3).gif

 

There appears to be a character limit to the title of the thumbnail section is there a way to force remove this, how did you circumvent the issue?

 This will be a big issue with adding homes that have a longer name than "Noel Chalet" as the only one I have done a page for thus far.  Thanks!

url: https://flamingo-goby-tkw6.squarespace.com/

PW: greenfield

 

Posted
On 8/24/2021 at 4:43 AM, Patterson said:

 

There appears to be a character limit to the title of the thumbnail section is there a way to force remove this, how did you circumvent the issue?

 This will be a big issue with adding homes that have a longer name than "Noel Chalet" as the only one I have done a page for thus far.  Thanks!

url: https://flamingo-goby-tkw6.squarespace.com/

PW: greenfield

 

Just answered on another post

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

  • 1 month later...
Posted
On 10/8/2021 at 3:47 AM, Nico_Burrito said:

hi @tuanphan I'm trying to add 

Title A <br/> Short title

but it doesn't work, it just displays the html on the page, am I missing something?

Screen Shot 2021-10-07 at 1.46.35 PM.png

Hi,

Add it first then share link to portfolio page, we can check it easier

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

Posted
On 10/11/2021 at 5:41 AM, Nico_Burrito said:

@tuanphan I added it back
my page is https://shallot-flatworm-fyc8.squarespace.com/work

pw: nico

Don't remove br

Add this to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  $(document).ready(function(){
  $("h3.portfolio-title").each(function(){
    $(this).html($(this).text());
  });
});
</script>

 

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

Posted
On 10/13/2021 at 12:25 AM, tuanphan said:

Don't remove br

Add this to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  $(document).ready(function(){
  $("h3.portfolio-title").each(function(){
    $(this).html($(this).text());
  });
});
</script>

 

thank you @tuanphan that worked!

  • 3 months later...
Posted
On 1/18/2022 at 1:00 AM, Nico_Burrito said:

hello @tuanphan

When you open a project, and scroll to the bottom of the page, you have the titles of the previous and next project, these don't take your formatting into account, and appear as 1 big text block. is there any way to edit how these look?

you can see here:
https://shallot-flatworm-fyc8.squarespace.com/work/slate-studios-nyc

pw: nico

Screen Shot 2022-01-17 at 9.49.26 AM.png

You want reduce text size or?

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

Posted
2 hours ago, Adeline said:

Hello @tuanphan

<br/> and the code you've suggested above worked well on my site, thank you!
I'm struggling to change the size, thickness & colour of the subtitles and descriptions under the main titles. I would really appreciate it if you could help!

https://tuatara-spinach-tplz.squarespace.com/all
PW: 1234

157986245_ScreenShot2022-01-25at11_59_10am.thumb.png.2ac62295f5ccf758feb3632f320f1d25.png

Screen Shot 2022-01-25 at 11.59.10 am.png

You mean 

2020

Hospitality

Description?

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

Posted
On 1/19/2022 at 12:51 AM, tuanphan said:

You want reduce text size or?

reducing size would be nice, but most importantly keep the formatting, not everything on one line.
the <br/> is not taken into account on these pages

Posted
On 1/25/2022 at 1:13 PM, Adeline said:

Hi @tuanphan

Thanks for your reply! Yes, I'd like to change the style of 2020, Hospitality & Description.

 

Add to Design > Custom CSS

h3.portfolio-title {
    font-size: 30px !important;
    font-weight: bold !important;
    color: red !important;
}
h3.portfolio-title:first-line {
    font-size: 16px !important;
    font-weight: normal;
    color: black;
}

 

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

Posted
13 hours ago, Nico_Burrito said:

reducing size would be nice, but most importantly keep the formatting, not everything on one line.
the <br/> is not taken into account on these pages

How about removing pagination titles, replace with Prev/Next text?

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

Posted
On 10/13/2021 at 12:25 AM, tuanphan said:

Don't remove br

Add this to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  $(document).ready(function(){
  $("h3.portfolio-title").each(function(){
    $(this).html($(this).text());
  });
});
</script>

 

Is there a way to do this without using the Code Injection feature? It is a premium paid feature. I am trying to solve the same problem of <br/> not working for me. Here is my website: https://www.hanamorrison.com/work

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.