Jump to content

How can I make the category text in my blog posts bold?

Go to solution Solved by Lesum,

Recommended Posts

  • Replies 8
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Great thank you! It would also be great if you also knew how to make the just the categories in my blogs highlighted inside a pill shape box (see image) but no worries if not!

image.png.56d1efe6b5c92064bf140d8c80cf703f.png

URL: silver-indigo-58zg.squarespace.com

Password: londnrmagazine

Link to comment

@Here's code snippet you can try. Let me know how it goes. Thanks!

.blog-item-category {
	font-weight: 900 !important;
	border: 2px solid black;
	border-radius: 30px;
	padding-left: 0.3rem;
	padding-right: 0.3rem;
	padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}
.blog-item-category-wrapper {
	margin-bottom: 10px !important;
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment
  • Solution

@LONDNR Sure, here's the updated code:

.blog-item-category {
	font-weight: 900 !important;
	text-transform: uppercase !important;
	border: 2px solid black;
	border-radius: 30px;
	padding-left: 0.3rem;
	padding-right: 0.3rem;
	padding-top: 0.15rem;
	padding-bottom: 0.1rem;
}
.blog-item-wrapper .blog-meta-item span {
	margin-bottom: 15px !important;
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

@LONDNR Sorry, I missed a block of code. Add this code snippet as well:

.tweak-blog-item-show-categories .blog-item-wrapper .blog-meta-item--categories {
    margin-bottom: 15px !important;
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.