Comment Widget Width

The comment widget seems to be a fixed width but on my websites I’d like to be able to change it based on where I am putting it. Even if I stretch it out it is still only a set width. Is there any CSS code I can add to adjust them individually?

2 Likes

Hi there, @Victoria_Hansen :waving_hand:

Sure, this CSS code will do the trick:

[class*="widget__Container-sc"] {
  max-width: 1500px;
}

Please try it out and let me know if it worked :wink:

1 Like

@Max, that worked, and I also tried 100% and that worked too. I’ve adjusted a few times to get the width I want based on the side width I’ve chosen. So all good thank you.
Can I use this for other widgets I want to be wider, should I require it?
Also, when using the Comment Widget, how will this apply to an indivdual blog Post. I can only add it at the moment to the overall blog page, so when the blog post opens to be read in its entirety, a visitor cannot coment on that post, just on the blog page, which will also make it difficult for me to reply as I may not know which post they’re commenting on.

Hi! Stepping in for Max today to answer this one :smiling_face:

First, I’m glad that the solution worked for you! You can definitely use this CSS code to modify any Comments widget :raising_hands:

As for the other apps, the codes for changing the width may be slightly different. You can try and search for the width setting first, and if it’s not there, we’ll be happy to assist you with the new CSS.

Speaking of the separate Comments section under each Blog post, unfortunately, it’s not possible to achieve as of now due to the technical peculiarities of both apps. However, I totally see the vision – it would be great to implement such a functionality in the future :100:

Here’s a Wishlist topic that sounds like what you have in mind: Ability for visitors to leave a comment. Leave a vote here to be notified of any changes. Stay tuned!

1 Like