Jump to content

Changing font size in photo collage, but not button font or size

Recommended Posts

Site URL: https://amphibian-porcupine-6hk9.squarespace.com/interior-design-services-1

Hi! 

 

Website: https://amphibian-porcupine-6hk9.squarespace.com/interior-design-services-1

 

I am trying to change the font of the photo collage, here is the CSS I used, however it is also changing the font size & button size which I dont want to do. What code can I use for the buttons?

Photo Collage Css for photo 1

#block-yui_3_17_2_1_1644973731428_100716  .image-card-wrapper *  {
    font-size: 16px !important;
}

 

Photo Collage Css for photo 2

#block-yui_3_17_2_1_1645029683755_75017
 .sqs-dynamic-text  {
    font-size: 16px !important;
}

Thanks!

Link to comment
  • Replies 6
  • Views 405
  • Created
  • Last Reply

Top Posters In This Topic

  • 10 months later...
On 1/18/2023 at 1:25 AM, freshlypressed said:

And how can I resize the text in this "learn more" button for mobile only?

 

I have been using this code: 

@media screen and (max-width:767px) {
#block-yui_3_17_2_1_1566528255613_9552 .image-title-wrapper * {
    font-size: 20px !important;
.image-button  a {font-size: 20px !important;}
}
}

 

This is the website: https://www.decordiva.ca/

Screenshot 2023-01-17 at 10.21.34 AM.png

Use this CSS
 

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1566528255613_9552 a {
    font-size: 30px !important;
}
}

 

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.