Remove The Field | SP Kindergarten - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Remove The Field | SP Kindergarten

S

svetlana

Extension 4 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?

0
5 Answers
S
svetlana
Accepted Answer
4 years ago #37667

and also want to disable the Subject List

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #37674

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

0
S
svetlana
Accepted Answer
4 years ago #37686

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

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #37688

Glad to know that it works!

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

Best Regards

0
S
svetlana
Accepted Answer
4 years ago #37923

I found where the problem is myself

0