Custom CSS: Difference between revisions

Jump to navigation Jump to search
Line 251: Line 251:
By default this list goes up to 99. You can limit it with the following code. Substitute X for the desired number + 2. So, if you want the drop-down list to be limited to 10 then X=12.
By default this list goes up to 99. You can limit it with the following code. Substitute X for the desired number + 2. So, if you want the drop-down list to be limited to 10 then X=12.


<code>#inputnumadult option:nth-child(n+X){display:none;}</code>
<code>#inputnumadult option:nth-child(n+6){display:none;}</code>
 
<code>#inputnumchild option:nth-child(n+6){display:none;}</code>


=== Adjust alignment for RTL languages (Arabic, Hebrew)===  
=== Adjust alignment for RTL languages (Arabic, Hebrew)===