1. Fabio Colzada
  2. Bugs
  3. Sunday, 09 June 2013
  4.  Subscribe via email
I am having a little problem with Ccomment: I don't have indentation of replies (all comments have the same space from border).
I am aware it could be a template issue, but where should I look to find the code that implement the "indentation" feature? Any tips on how to solve this?

Thanks :)
Attachments (1)
Responses (8)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Just go to the backend and enable nested comments. Once you do so people will see a button -> reply. And if they use it comments will get indented.
Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
Accepted Answer Pending Moderation
I did it, I see the reply button and I can add comments as reply, but they are not nested, they come right after the one I replied to, but at their same level, this is why I thought of some kind of css problem.
  1. more than a month ago
  2. Bugs
  3. # 2
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Yes, most probably the margin is removed by your template. Without a link to your page I cannot tell you what the problem could be.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 3
Accepted Answer Pending Moderation
It's ok, maybe I will ask again once the website will be online. I will try to figure out what the problem is. Do you know the folder where I can find the css of ccomment? And/or the css class responsible for the nesting effect?
  1. more than a month ago
  2. Bugs
  3. # 4
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Use this tool:
http://www.youtube.com/watch?v=FsX6qwQqGgQ

And a new window into the world of web development will open in front of your eyes :)

Cheers,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 5
Accepted Answer Pending Moderation
I knew it ;) but maybe I still have to learn all its secrets :P I'll let you know if I find something new about my issue. Thanks for now!
  1. more than a month ago
  2. Bugs
  3. # 6
Accepted Answer Pending Moderation
Got it!
I see Ccomment relies on the current template nesting rule for <ul> tags. In my case, for some reason, it has been set by the template owners to... no margin at all.

Getting the code from your Ccomment css template page I added:

[code type=css]
.ccomment-replies{
margin: 0.5em 0;
margin: 0 0 0 2em;
}
[/code]

in /media/com_comment/templates/default/css/default.css

In this way (I suppose) it overrides my template css for that specific class and now it looks great!
I don't know if this override will work in any case, but if it is so... maybe it would be useful to add it to the component css by default? So that it will be independent by some weird template setting. Just a suggestion, eheh. Have a good day guys!
  1. more than a month ago
  2. Bugs
  3. # 7
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Thank you for sharing this! I added a margin to .ccomment-replies just in case it is needed.
By the way -> the code that you have above only the second margin is applied as it overrides the rules of the first one.

Regards,
Daniel

P.S. Don't forget to leave a review about the component over here: http://extensions.joomla.org/extensions/contacts-and-feedback/articles-comments/24030 Thanks!
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

PHP 8.1.12 Deprecated: strlen()
There is a problem with php 8.1.12 in Latest comments module. In php 8.0 is all ...
0 Replies
Posted on Friday, 25 November 2022
  • New
    • #PHP Deprecated
    Email notifications not being sent to admin when n
    I am not receiving notifications of new comments by email and I have searched th...
    2 Replies
    Posted on Thursday, 24 November 2022
  • New
  • JQuery lokal einbinden
    Hallo zusammen, wie kann ich es umgehen das die JQUery funktionen von Google ...
    1 Replies
    Posted on Tuesday, 22 November 2022
  • New
  • Matukio stable version for Joomla! 4
    Hello, is there an expected date when a stable version of Matukio will be rel...
    13 Replies
    Posted on Friday, 11 March 2022
    • #Matukio 7.00 RC1
    Frontends comments "occasionally" not vi
    Hi Devs, we think to have found a bug on CComment 6.1.7. In particular, it occ...
    5 Replies
    Posted on Tuesday, 25 October 2022