Custom CSS: Difference between revisions

Jump to navigation Jump to search
Andrian (talk | contribs)
Andrian (talk | contribs)
Line 152: Line 152:




Example 1: Set the range of the optional quantity selector for your 5th upsell item to 0-20:
Example 2: 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;}