Style Catalog variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-29-2022 04:32 PM
Hi all,
I need a requirement to create multiple choice check box. But the label needs to be bold. Is there any way to achive this.
Ex : Select that all apply(should be bold)
1 . Check box A
2.Check box A 1
3.Check box A 2
4.Check box A 3
5.Check box A 4
Thanks in advance!
Regards,
Abirami
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-29-2022 10:03 PM
Can you take a screenshot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-30-2022 04:36 PM
Hi @Tuan Vu ,
Sorry , I couldn't take screenshot of it. But I can explain you.
Variable name : u_notice_type
Question : Notice Type
Notice Type
1. Check box A
2.check box B
3. Check box C
4.Check box D
5. Check box E
6. Check box F
the code which you gave me working like this,
Notice Type
1. Check box A
2.check box B
3. Check box C
4.Check box D
5. Check box E
6. Check box F
But I need like this,
Notice Type
1. Check box A
2.check box B
3. Check box C
4.Check box D
5. Check box E
6. Check box F
Appreciate your help.
Regards,
Abirami
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-30-2022 05:40 PM
Could you check which element wrap the text "Notice Type" . that element has any class or ID that is different from other checkboxes.
For ex, "Notice type" is wrapped by label tag and has class "field-label-question", you can change jquery selector like this
function onLoad() {
setTimeout(function() {
this.$('#u_notice_type label.field-label-question').css('font-weight', 'bold');
}, 200);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-01-2022 07:41 PM
Hi @Tuan Vu ,
The above code is not working. I tried like following code,
function onLoad() {
setTimeout(function() {
this.$('#u_notice_type .field-label-Notice Type').css('font-weight', 'bold');
}, 200);
}
As my Variable Name: u_notice_type
question : Notice Type
Thanks in a bunch in advance .
Regards,
Abirami Thirumoorthi