Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Is there a way to custom format the comment block at the bottom of blog posts in 7.1?


BlackRidersDesign

Question

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Home > Design > Custom CSS: h3.comment-count { font-size: calc(.7 * 1.2vw + 1rem); } h3.comment-count span { visibility: hidden; } h3.comment-count span:before { visibility:

2 answers to this question

Recommended Posts

  • 0

Add to Home > Design > Custom CSS:

h3.comment-count {
  font-size: calc(.7 * 1.2vw + 1rem);
}
h3.comment-count span {
    visibility: hidden;
}
h3.comment-count span:before {
    visibility: visible;
    content: "Marginalia";
}

This will change the word and the font size. (Just a heads up, replacing the word "Comments" also removes the comment count # in parentheses after it.) I've applied the same font sizing as the previous/next post links on your blog for consistency, but you can change "calc(.7 * 1.2vw + 1rem)" to whatever font size setting you'd like.

(Credit for the code to change the word "Comments" goes to @tuanphan in this forum post)

Edited by dvgdvgdvg
Link to post
  • 0

BRILLIANT! Thank you both!

I was able to further refine your recommendation and opted to retain the "Comments (x)" portion for now, and then also took your font size calc to further hack some other custom CSS I already had to adjust the word cloud module.

Many thanks again!

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...