Custom CSS: Difference between revisions
Jump to navigation
Jump to search
| Line 147: | Line 147: | ||
Example 1: | Example 1: Set the range of the optional quantity selector for your 2nd upsell item to 0-4: | ||
#optextra2 option:nth-child(n+6) {display:none;} | #optextra2 option:nth-child(n+6) {display:none;} | ||
Example | Example 1: Set the range of the optional quantity selector for your 5th upsell item to 0-20: | ||
#optextra5 option:nth-child(n+22) {display:none;} | #optextra5 option:nth-child(n+22) {display:none;} | ||