Difference between revisions of "Change scroll smooth"
(Created page with "When you create question single grid, if you use question layout '''Page''' It will use scroll page default, if you want to change it Please change CSS in layout questionnai...") |
|||
Line 1: | Line 1: | ||
− | When you create question single grid, if you use question layout | + | When you create question single grid, if you use question layout Page |
− | |||
It will use scroll page default, if you want to change it | It will use scroll page default, if you want to change it | ||
− | |||
Please change CSS in layout questionnaire. | Please change CSS in layout questionnaire. | ||
− | |||
Advanced - Survey - Layouts - Search layout name that you are using - Open - Tab Layout detail - Style sheet | Advanced - Survey - Layouts - Search layout name that you are using - Open - Tab Layout detail - Style sheet | ||
Search CSS: | Search CSS: | ||
+ | - if it really existed, please change number in css code (ex: 800) | ||
− | < | + | <source lang="css"> |
− | + | .question_layout_paged_mobile .cg-ui-answer-option { | |
− | .question_layout_paged_mobile .cg-ui-answer-option { | + | --smooth-scroll-duration: 800; |
− | + | } | |
− | + | </source> | |
− | .question_layout_paged_mobile .cg-ui-answer-option { | + | - if it doesn't exist yet, please copy code css bellow, paste in tab Style sheet and save. Please change number in css code if you want (ex: 800) |
+ | <source lang="css"> | ||
+ | .question_layout_paged_mobile .cg-ui-answer-option { | ||
+ | --smooth-scroll-duration: 800; | ||
+ | } | ||
+ | </source> |
Revision as of 10:53, 15 November 2021
When you create question single grid, if you use question layout Page It will use scroll page default, if you want to change it Please change CSS in layout questionnaire. Advanced - Survey - Layouts - Search layout name that you are using - Open - Tab Layout detail - Style sheet
Search CSS: - if it really existed, please change number in css code (ex: 800)
.question_layout_paged_mobile .cg-ui-answer-option {
--smooth-scroll-duration: 800;
}
- if it doesn't exist yet, please copy code css bellow, paste in tab Style sheet and save. Please change number in css code if you want (ex: 800)
.question_layout_paged_mobile .cg-ui-answer-option {
--smooth-scroll-duration: 800;
}