Message CB native

4 years 8 months ago #313518 by Jimmm
Replied by Jimmm on topic Message CB native
What CSS class specifically surrounding the envelope I need to change ? Please provide the CSS code what is needed to change.

I use browsers developer tools to review that class by right clicking on it and clicking inspect element. This open browsers developer tools where I review the HTML structure carefully for CSS classes. Using available CSS classes cb changes colours of everything including envelope I need to change only number.

I use default cb and protostar template.

Maybe you know how to change css that it changes only in cb new messages count colour as in picture above (for example only figure 2 is changed colour)?

Please Log in to join the conversation.

4 years 8 months ago #313533 by krileon
Replied by krileon on topic Message CB native
There isn't a CSS class specifically around just the number. The CSS class is around the entire element, which will include the envelope. The envelope is a font icon so font color will change its color. To avoid this add to your CSS to avoid styling the font awesome class. Additionally this is all template driven. You can create a custom template by making a copy of the default template folder below and just directly change the HTML as needed.

/components/com_comprofiler/plugin/user/plug_pms_mypmspro/templates/default

Note your template folder only needs to contain the template files you intend to change. Once your template folder is created you can select it within Private Message System plugin parameters.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.196 seconds

Facebook Twitter LinkedIn