Comments Plugin
-
what happens when you use the default comments that came with the template?
If I use the default comments it seems ok.
So why are you changing to a plugin?
🙂
It seems the plugins are inserting past the point where the div is closing, make it the full width. You’ll have to look at the template files inside the plugin maybe and modify those… not sure, as I would need to see all your files to figure it out.
Maybe someone else has a quick fix for you. Good luck.
I want to change to a plugin because a plugin allows me to write comments with disqus, facebook, google or anything like that.
Hi Belzun,
Add the following to your style.css and see if it works.
*/ Settings for Disqus */ DIV#layout { position: relative; max-width: 78rem; padding: 0px 4rem; margin: 0px auto;I found the inspiration css applied to the the content area in the css file content-sidebar.css at line 30
Hope this helps.
That doesn’t work, it looks the same.
Okay my guess is that disqus is loading after style.css has loaded. In that case it may not apply the style.
wrap you disqus embed in a div like so
<div class="disqus-container"> <!--embbed goes here --> </div>The update the css to read this instead
*/ Settings for Disqus */ div.disqus-container { position: relative; max-width: 78rem; padding: 0px 4rem; margin: 0px auto;disqus is responsive so it’s parent should determine the width.
This is happening because Disqus is replacing the entire comments function in the theme and thereby bypassing the existing styling that keeps the comments contained. I may update the theme to address this in the future.
Thank you Morten!
Like with the other issue I had, you were very comprehensive!
The topic ‘Comments Plugin’ is closed to new replies.

(@belzun)
11 years, 8 months ago
Hi,
I have an issue with every plugin of comments I try to use.
The problem is that the comments use all the width of the page, and I would like the width of the comments to be as the text of the page I write.
I tried to change the code, but I could’t change that.
You can see what I’m saying here, at the bottom of the page: http://masqueuniversidad.es/2014/08/18/prueba/
Thanks!