Changing Font Colour of Blocks, Chages Colour of Profile Comments

On the 7.0.9 test site it has been brought to my attention that changing the font colour of the blocks results in the profile comments being displayed in that colour as well.  Evidently the text of the profile comments are sharing the same class or id.  As a result, the text in the profile comments can be difficult to read. 

I need to change the class or id of the text or the division for profile comments.  Can anyone that has worked with this help me with what file I need to edit to resolve this?

Geeks, making the world a better place
Quote · 4 Oct 2012

Hello

Could you please specify where exactly did you change the font color of the blocks? I think it would be better to change the color for blocks only then creating and applying new CSS style for comment, because your modification may affect some other Dolphin parts in addition to Comments.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 4 Oct 2012

My apologies, the post wasn't very clear.  I installed the Profile Customiser module to allow users to change their profile.  One user changed the font colour for his blocks and noticed that the same colour was also used for the text of the comments, making it hard to read the text of the comment if a light colour for fonts were used.  I figure it would be easier to point the comment style to a new class so that the Profile Customiser would not override it.

Geeks, making the world a better place
Quote · 4 Oct 2012

Hello!

 

Profile Composer doesn't use any additional classes for blocks. It uses standard Dolphin's classes for blocks. If members block's styles influence on comment part of the profile page, then maybe member added new styles to HTML block or maybe block contains are not closed HTML tags in its content.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 5 Oct 2012

Yes, exactly.  so what I need to do is to isolate the comment CSS so that profile composer will not change the colour of the text in the comments.  I need to create a new CSS class for the comment text and point the comment table to that CSS.  Then profile composer will not change it.

I was hoping that someone could save me some time by pointing me to the proper place.  However, I can use the "inspect element" thingy of the browser and then use my code editor to search through the Dolphin files.

Thanks for your help. 

Geeks, making the world a better place
Quote · 6 Oct 2012

Hello!

 

I think, you may load comment's css styles file (cmts.css) at the begging of the comments block, but not at the beginning of the page like it works by default. In this case your styles will not be overwritten.
You need to make corrections in this file templates\base\scripts\BxBaseCmtsView.php of it. Add css styles file at the begging of this function _getBrowse. 

P.S. If you like, I can do it for you. Provide me with your server's access info via inbox.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 8 Oct 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.