Jump to content

Changing portfolio grid overlay font and size for 2 lines

Recommended Posts

  • Replies 5
  • Views 742
  • Created
  • Last Reply

Top Posters In This Topic

On 1/18/2022 at 4:20 AM, bjornsorensen said:

Site URL: http://bjornsorensen.com

See the portfolio sectionat the page bottom. I want the overlay text as 2 separate lines. First line with bold weight 30px and second line with regular weight 20px. How can I do this?

Add to Design > custom CSS

a.grid-item h3 {
    font-weight: bold;
}
a.grid-item h3:after {
    display: block;
    font-size: 20px;
    font-weight: normal;
}
a.grid-item[href="/home/linak-film"] h3:after {
    content: "Employer Branding film";
}
a.grid-item[href="/home/oj-product-branding"] h3:after {
    content: "Produkt Branding";
}

Repeat similar for other items

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

Link to comment
  • 10 months later...

Hello I am trying to apply this to my site and really failing at adjusting the code, can you assist please.

I want the hover text on the portfolio pages (all projects) to be on two lines. I also want the top line text to be larger.

 

www.emmapartridge.co.uk

 

thanks

Edited by Emmapartridge
Link to comment
On 11/21/2022 at 6:18 AM, Emmapartridge said:

Hello I am trying to apply this to my site and really failing at adjusting the code, can you assist please.

I want the hover text on the portfolio pages (all projects) to be on one line. I also want the top line text to be larger.

 

www.emmapartridge.co.uk

 

thanks

What is password?

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

Link to comment
On 11/25/2022 at 4:49 AM, Emmapartridge said:

Nola

I want the hover text on the portfolio pages (all projects) to be on one line. I also want the top line text to be larger.

You mean one line or two lines???

If one line, what is top line text?

image.thumb.png.fc4e85cc796c138d4b5b19e651a30ccc.png

https://www.emmapartridge.co.uk/projects

Nola

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

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.