R Robert9 Well-known member Mar 20, 2025 #1 How can i use css in help pages only, please? This does not work Code: [data-template="help_wrapper"] { ul li, ol li { padding-top: 16px; padding-bottom: 14px; } }
How can i use css in help pages only, please? This does not work Code: [data-template="help_wrapper"] { ul li, ol li { padding-top: 16px; padding-bottom: 14px; } }
frm Well-known member Mar 20, 2025 #2 Try: Less: [data-template="help_page"] { ul li, ol li { padding-top: 16px; padding-bottom: 14px; } } Upvote 0 Downvote
R Robert9 Well-known member Mar 20, 2025 #3 Thank you, but this does not work for me, too; i can do: .template_help_page { } but this works for all ul/li and not for my text only. I tried a lot of things here, but i can not solve it. The next step would be to add own css with a template_mod as hook. Upvote 0 Downvote
Thank you, but this does not work for me, too; i can do: .template_help_page { } but this works for all ul/li and not for my text only. I tried a lot of things here, but i can not solve it. The next step would be to add own css with a template_mod as hook.
frm Well-known member Mar 20, 2025 #4 Are you putting it in your extra.less template? Can you give me a snippet of your help pages with the lists you want in a HTML code block to debug it if you have that in your extra.less template? Upvote 0 Downvote
Are you putting it in your extra.less template? Can you give me a snippet of your help pages with the lists you want in a HTML code block to debug it if you have that in your extra.less template?
R Robert9 Well-known member Mar 21, 2025 #5 This works for me: Code: .template-help_page .p-body-pageContent { ul li, ol li { padding-top: 16px; padding-bottom: 14px; } } Upvote 0 Downvote
This works for me: Code: .template-help_page .p-body-pageContent { ul li, ol li { padding-top: 16px; padding-bottom: 14px; } }