I feel kind of dumb, guys. I fixed this issue thanks to Kyle's guidance, but now I cannot for the life of me figure out where to put the css to hide the number of registered members in my lists.
I know the css I need is:
.cbUserListResultCount {
display: none !important;
}
The code that controls the display of "[SITENAME] has # registered members" is in public_html > components > com_comprofiler > plugins > templates > default.php. So after watching Nick's excellent template override tutorial I figured I'd create an override file in the default template folder.
override.css didn't work, nor did override.php.
I cleared the Joomla cache a couple of times. Still no change.
I guess I might mention here that I'm using a Gantry 5 template, just in case that makes a difference. I also tried to add the code to my custom.css files in the joomla template custom folder. (UPDATE: I think I need to recompile the CSS. I'll try that tomorrow...or later today.)
I think though it might be nice to have this customization in the CB template folder, which would maintain it if I decide to change joomla templates.
So what am I not doing this time that worked so well a few months ago?
Last edit: 9 years 4 months ago by krileon. Reason: Added [SOLVED] tag to subject
Custom CSS should be added to your Joomla template CSS file or if it has a override.css/custom.css file you should use that. The alternative is a CB template override plugin as shown below.
If you're using Gantry though your CSS is probably cached and you'll need to clear cache in the backend.
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.
Created an scss file in the custom folder as directed. Pasted the css Kyle provided here on this forum. Went to my Gantry template in the administrator and clicked on Recompile CSS.
Voila! The lines are gone from my member lists.
I'm adding this procedure to a file for myself so I can recreate if/when I change templates.