Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Template CSS Overrides Made Easy

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
6 years 10 months ago #302231 by krileon
Replied by krileon on topic Template CSS Overrides Made Easy

What "selector" do you use to only target frontend for the override?

Depends entirely on what page you're trying to style. There isn't a global selector indicating frontend. You just need to be more specific with your CSS. For example the CSS classes for the profile container div are as follows.

cbProfile cb_template cb_template_default

You can use .cb_template.cbProfile selector to target and override any profile CSS. Inspect pages using your browsers developer console for other CSS classes (typically pressing F12 will open the console).


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.

  • dewittds
  • dewittds
  • OFFLINE
  • Posts: 15
  • Thanks: 0
  • Karma: 0
6 years 6 months ago #305571 by dewittds
Replied by dewittds on topic Template CSS Overrides Made Easy
I have been unable to find the Css overrides per the instructions. I'm guessing this is due my not using the protostar template and not a CB template? Or could I be overlooking something else.

Thanks David

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
6 years 6 months ago #305572 by krileon
Replied by krileon on topic Template CSS Overrides Made Easy
CB CSS Overrides are within CBs template, not Joomlas. You need to be editing your CB template within CB > Plugin Management. This should just be the Default template plugin unless you've installed a 3rd party CB template then you'll need to edit it instead.


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.

  • dewittds
  • dewittds
  • OFFLINE
  • Posts: 15
  • Thanks: 0
  • Karma: 0
6 years 6 months ago #305574 by dewittds
Replied by dewittds on topic Template CSS Overrides Made Easy
Thanks for the quick response. It made me look again for the template. I found it this time. The first time I was looking for template in the name. The name was default and type is template. I hope this will help others.

Thanks again,
David

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

  • dmolina
  • dmolina
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 0
1 year 6 months ago #334130 by dmolina
Replied by dmolina on topic Template CSS Overrides Made Easy
Hello, is this still valid? I don't see the CB Template in my plugins.

How can I override the css?

I've tried creating the override.css file in the path components/com_comprofiler/plugin/templates/default but it doesn't seem to work...

Thank you.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
1 year 6 months ago #334141 by krileon
Replied by krileon on topic Template CSS Overrides Made Easy
Yes it's still valid. Please see the following.

CB > Plugin Management
 

Overrides
 


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