Remove the field | SP Kindergarten - Forum | JoomShaper
Awaiting an answer Extensions

Remove the field | SP Kindergarten

Asked by svetlana 5 years ago Last activity 5 years ago

Hi! I want to disable the "Class Size" field in the kids courses list. Is it possible to make the fields be disabled from the back-end without correcting the component files?

5 replies

svetlana Asked this

and also want to disable the Subject List

Rashida Rahman Staff

Hi there!

Thanks for your query.

There is no default way to do that. However, yu can try some custom CSS proposed below.

If you want to hide the the "Class Size" field from the backend https://prnt.sc/1vh4b3j then you can use the following code in your custom CSS:

label#jform_class_size-lbl, #jform_class_size {
    display: none;
}

If you want to disable the "Class Size" field from the frontend https://prnt.sc/1vh4dbx
then you can use the following code:

.course-info li.size {
    display: none!important;
}

Here is the code to disable the Subject List from frontend:

.subject-list-wrapper {
    display: none;
}

If you want to remove the subject list from the backend, then you can click on each of the subjects shown in the screenshot:
https://prnt.sc/1vh3g1p

Note: Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Best Regards

svetlana Asked this
5 years ago · edited

It's work. Thanks
But there is also .course-single-meta in course card. How disable "Class Size" field here? There is no list
https://prnt.sc/1vkju6a

Rashida Rahman Staff

Glad to know that it works!

Would you please give me a link that redirect me to that area?

Best Regards

svetlana Asked this

I found where the problem is myself

Log in to reply.