Difference between revisions of "Change scroll smooth"

From Catglobe Wiki
Jump to: navigation, search
(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...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
When you create question single grid, if you use question layout '''Page'''
+
When you create question single grid, if you use question layout <strong>Page</strong>.<br/>
 +
[[File:2021-11-15_16-39-58.png]]<br/>
 +
It will use scroll page default, if you want to change speed.<br/>
 +
Please change CSS in layout questionnaire.<br/>
 +
Advanced - Survey - Layouts - Search layout name that you are using - Open - Tab Layout detail - Style sheet<br/><br/>
 +
Search CSS:<br/>
 +
- if it really existed, please change number in css code (ex: 800)<br/>
  
It will use scroll page default, if you want to change it
+
<source lang="css">
 
+
.question_layout_paged_mobile .cg-ui-answer-option {
Please change CSS in layout questionnaire.
+
--smooth-scroll-duration: 800;
 
+
}
Advanced - Survey - Layouts - Search layout name that you are using - Open - Tab Layout detail - Style sheet
+
</source>
 
+
<br/><br/>
Search CSS:
+
- 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)<br/>
 
+
<source lang="css">
<span class="VIiyi" jsaction="mouseup:BR6jm" jsname="jqKxS" lang="en"><span class="JLqJ4b ChMk0b" jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb;bmeZHc:iURhpf;Oxj3Xe:qAKMYb,yaf12d" jsname="txFAF" data-language-for-alternatives="en" data-language-to-translate-into="vi" data-phrase-index="0" data-number-of-phrases="1" jscontroller="Zl5N8" jsdata="uqLsIf;_;$144" jsmodel="SsMkhd"><span jsaction="click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje" jsname="W297wb">- if it really existed, please change number in css code (ex: 800)</span></span></span>
+
.question_layout_paged_mobile .cg-ui-answer-option {
 
+
--smooth-scroll-duration: 800;
.question_layout_paged_mobile .cg-ui-answer-option {<br>&nbsp;--smooth-scroll-duration: 800;<br>}
+
}
 
+
</source>
- <span class="VIiyi" jsaction="mouseup:BR6jm" jsname="jqKxS" lang="en"><span class="JLqJ4b ChMk0b" jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb;bmeZHc:iURhpf;Oxj3Xe:qAKMYb,yaf12d" jsname="txFAF" data-language-for-alternatives="en" data-language-to-translate-into="vi" data-phrase-index="0" data-number-of-phrases="1" jscontroller="Zl5N8" jsdata="uqLsIf;_;$154" jsmodel="SsMkhd"><span jsaction="click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje" jsname="W297wb">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)</span></span></span>
+
[[Category:Questionnaire]]
 
 
.question_layout_paged_mobile .cg-ui-answer-option {<br>&nbsp;--smooth-scroll-duration: 800;<br>}
 

Latest revision as of 11:21, 15 November 2021

When you create question single grid, if you use question layout Page.
2021-11-15 16-39-58.png
It will use scroll page default, if you want to change speed.
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;
}