-
Good Morning,
I purchased the LearnPress plugin and need to remove the “Number of Students Enrolled” however the LifeCoach WordPress Theme is overriding it. Is there any way you can help me put in the code to not display this?the code they told me to use is:
Please try to use the css code below:
.course-students-number {
display: none;
Your help would be greatly appreciated
TerriHello Terri and thanks for reaching us.
Andrea here from Themes2go Customer Support.
I’ve just talked with one of our developer and the CSS snippet they provide you it can’t work because it will hide only the number and not the entire text string.I’ve just checked the theme code and it does not override that particular string, it’s only how the plugin output works and its developers should tell you a better way to support you.
I can suggest you to reply back that there is no p selector in the output and it can’t be handled easily with CSS.
Said so, the issue could be fixed by going on the plugin files, looking for that particular string and edit it but this it goes out of our support territory and we can’t help. You could hire a developer on codeable.io or envato studio, but first I will try to ask it to LearnPress developers or support.
For now, I can only suggest a path to follow in order to fix your issue.
If you have any other questions or doubt I would be happy to help you.Keep me posted on this please.
Best,Andrea
Good Morning,
I reached out to the support on LearnPress again and this is their response. If you cannot do this for me could you provide instructions how. Any help would be appreciated.Dear TerriThomas,
Just active the theme default on your site then use the css code I gave before and check it..course-students-number {
display: none;
}Thanks,
TerriBest regards,
Huyen AnhHi Terri,
in order to get rid of that string, you should edit the file named content-course.php.
You can find it through this path: themes/lifecoach/learnpress.At line 61, delete
<?php echo $course->get_students_html(); ?>
Save it and now the student number should be gone.
Hope this helps you considering it’s out of the support territory 😉
Andrea
The topic ‘Override CSS code’ is closed to new replies.