Template CSS Overrides Made Easy

6 months 4 weeks ago #302231 by krileon

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 - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
2 months 3 weeks ago #305571 by dewittds
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
2 months 3 weeks ago #305572 by krileon
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 - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
2 months 3 weeks ago #305574 by dewittds
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
Moderators: beatnantkrileon
Time to create page: 0.381 seconds
Facebook Twitter Google LinkedIn