Skip to Content Skip to Menu

🍾 Happy New Year! Great Savings on Professional and Developer Memberships! Get 25% off now with code NEWYEAR-2026!

Need an help to override CB template (css in dark mode)

4 weeks 15 hours ago #342588 by Toulouzing
Hello !

I am dummy in css and i do not find how to override the profile page to get texts in white while in dark mode. Currently, it is black on black (unreadable).

Is there a kind helper who could help me ?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49986
  • Thanks: 8543
  • Karma: 1466
4 weeks 12 hours ago #342593 by krileon
If you're on Joomla 4, 5, or 6 then I recommend navigating to CB > Configuration > Integrations and set "Bootstrap (Frontend)" to "Bootstrap 5 Compatible" and then CB will just inherit all its bootstrap styling from Joomla. That general fixes coloring conflicts with Joomla templates. Alternatively see the below on how to add custom CSS to CB easily.

www.joomlapolis.com/blog/kyle/18711-template-css-overrides-made-easy


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 or Create an account to join the conversation.

3 weeks 6 days ago #342602 by Toulouzing
Thank you so much Kyle, i did not wanted to bother you with this, trying to find some customers to help me 

I tried The BS 5 compatibility with no visible results. I do not know which class to override to get white caracters in dark mode is this screen ( see capture) , while keeping the appropriate font color in light ( i use a toggle switch)

Somebody to help providing the good CSS custom code ?
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49986
  • Thanks: 8543
  • Karma: 1466
3 weeks 4 days ago #342612 by krileon
My guess is your dark mode isn't properly switching Joomla to dark mode. Joomla and Bootstrap expose a lot of CSS variables for doing this It's how backend dark mode can work. So whomever implemented dark mode I'd recommend contacting. I'm guessing it's part of your Joomla template?


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum