Forum Replies Created
-
AuthorPosts
-
March 4, 2021 at 10:01 am in reply to: Filter Option for Unchecked Child Category by default on Selection Parent #31982
theonlyit59
ParticipantHmm…Thank you for all the support you have given.
Regards,
Shayan AhmedMarch 3, 2021 at 7:08 pm in reply to: Filter Option for Unchecked Child Category by default on Selection Parent #31960theonlyit59
ParticipantPlus, when I check any child category while keeping the parent category as checked. Results are showing according to parent category which includes all the child categories. Child categories are not further getting filtered.
Thank you
Regards,
Shayan AhmedMarch 3, 2021 at 6:46 pm in reply to: Filter Option for Unchecked Child Category by default on Selection Parent #31955theonlyit59
ParticipantWell brother,
I also tested these steps.
– Initially the “Backup restore” is unchecked.
– Then I click “Server management”, the “Backup restore” still unchecked.
– Then I click the “Backup restore” it changes to checked state.
– Then I click “Server management” again while keeping the “Backup Restore” as checked, the “Backup restore” remains checked which I don’t want. What I want is when the parent category gets unchecked all the child categories should be unchecked as well. I Hope you got my point.Thank you
Regards,
Shayan AhmedMarch 3, 2021 at 9:11 am in reply to: Filter Option for Unchecked Child Category by default on Selection Parent #31927theonlyit59
ParticipantYou cannot access this content.
March 3, 2021 at 8:54 am in reply to: Filter Option for Unchecked Child Category by default on Selection Parent #31925theonlyit59
ParticipantYou cannot access this content.
March 2, 2021 at 2:51 pm in reply to: Filter Option for Unchecked Child Category by default on Selection Parent #31900theonlyit59
ParticipantYou cannot access this content.
March 2, 2021 at 12:26 pm in reply to: Filter Option for Unchecked Child Category by default on Selection Parent #31890theonlyit59
ParticipantYou cannot access this content.
theonlyit59
ParticipantHi,
I hope you are doing well. I think there is a little bit of confusion. Actually, I hide all the checkboxes as you can see in the above attachment, and apply a little bit of CSS in the search settings -> category level 1 -> option label. Just to make this more clear, this is the CSS I have used.
div.asp_w.asp_sb_2_1.searchsettings .asp_option_inner, div.asp_w.asp_sb_2_1.searchsettings fieldset legend{ display: none; } .asp_w.asp_sb_2_1.searchsettings .asp_option_cat_level-0 .asp_option_label, .asp_w.asp_sb_2_1.searchsettings .asp_option_cat_level-0 .asp_option_label{ padding: 10px 20px; text-align: center; color: #ffffff; font-family: "SofiaPro", Sans-serif; font-weight: 400; font-size: 14px; line-height: 18px; border-radius: 50px; background-color: #1a1962; box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 50%); } .asp_w.asp_sb_2_1.searchsettings .asp_option_cat_level-1 .asp_option_label, .asp_w.asp_sb_2_1.searchsettings .asp_option_cat_level-1 .asp_option_label{ padding: 10px 20px; text-align: center; color: #858383; font-family: "SofiaPro", Sans-serif; font-weight: 400; font-size: 14px; line-height: 18px; border-radius: 50px; background-color: #e6e6e6; box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 50%); } .asp_w.asp_sb_2_1.searchsettings .asp_option_cat_level-1 .asp_option_label:hover, .asp_w.asp_sb_2_1.searchsettings .asp_option_cat_level-1 .asp_option_label:hover{ padding: 10px 20px; text-align: center; color: #ffffff; font-family: "SofiaPro", Sans-serif; font-weight: 400; font-size: 14px; line-height: 18px; border-radius: 50px; background-color: #1161b7; box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 50%); }Everything works fine, all I need is when the child category gets checked it changes the child category option label background as you can see in the attachment.
Thank you
Regards,
Shayan AhmedMarch 1, 2021 at 6:28 pm in reply to: Filter Option for Unchecked Child Category by default on Selection Parent #31872theonlyit59
ParticipantHi,
I have tried your code but nothing happens, By default, all the parent category checkboxes are unchecked. When I click one of the parent category checkboxes, all of the related child category checkboxes are shown but all of them are checked which I don’t want. After adding the above code this is the output I’m getting. Please see the attachment for reference.
Thank you
Regards,
Shayan Ahmed -
AuthorPosts