Jump to content

Smaller font size for single section between 1024 - 768px

Go to solution Solved by Web_Solutions,

Recommended Posts

Posted (edited)

I'm trying to make under "Sector Challenges" the body text, Supply Chain, Inflation, Decarbonization, smaller between the screen sizes of 1024px - 768px

The word Decarbonization breaks between those screen sizes, so I would like to fix that.

This is what I've tried

@media only screen and (max-width: 1024px) and (min-width: 768px) {
   section[data-section-id="6669ea64948c85390d74c4b3"], .your-section-class {
        font-size: 14px;
    }
}

Thanks!

Edited by Craigers
  • Replies 4
  • Views 951
  • Created
  • Last Reply

Top Posters In This Topic

Posted
10 hours ago, Craigers said:

I'm trying to make under "Sector Challenges" the body text, Supply Chain, Inflation, Decarbonization, smaller between the screen sizes of 1024px - 768px

The word Decarbonization breaks between those screen sizes, so I would like to fix that.

This is what I've tried

@media only screen and (max-width: 1024px) and (min-width: 768px) {
   section[data-section-id="6669ea64948c85390d74c4b3"], .your-section-class {
        font-size: 14px;
    }
}

Thanks!

Can you share your website URL? It will be easier to check.

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted
11 hours ago, Web_Solutions said:

Can you share your website URL? It will be easier to check.

Ahh, forgot to include that.

Railhaul.ca/home-1

  • Solution
Posted
11 hours ago, Craigers said:

Ahh, forgot to include that.

Railhaul.ca/home-1

Replace your code with the code below 

@media only screen and (max-width: 1024px) and (min-width:768px) {
  section[data-section-id="6669ea64948c85390d74c4b3"] .list-item-content__title {
    font-size: 14px !important;
  }
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted
9 hours ago, Web_Solutions said:

Replace your code with the code below 

@media only screen and (max-width: 1024px) and (min-width:768px) {
  section[data-section-id="6669ea64948c85390d74c4b3"] .list-item-content__title {
    font-size: 14px !important;
  }
}

 

Amazing, thank you!

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.