How to make Comments widget smaller

Hi there, @Adele_Grievson :waving_hand:

Do I get it right that you’d like to decrease just the height of the widget container?

Hi, yes. I’ve added a screenshot to show how large it is on my page. I’m not able to put anything aside from it, other than 1 post. Everything else goes under the section. ty

Thanks for clarification!

The code below will reduce the height of the widget container and add a vertical scroll:

[class*="widget__Container-sc"] {
  max-height: 400px;
  overflow-y: auto;
}

If you’d like to set a separate height for mobile, this code will do the trick:

@media screen and (max-width: 640px) {
  [class*="widget__Container-sc"] {
    max-height: 600px;
  }
}

Please add it to the Custom CSS field on the Style tab of your widget’s settings and let me know if you like the result :wink:

You rock! :wink: tysm.

It’s my pleasure!

In the meantime, we’d like to invite you to join our Giveaway, where you could win 4 FREE Months for your subscription.

Check the details and join in: May Giveaway: Celebrate Community Anniversary & Win 4 FREE MONTHS! :wrapped_gift: