◼️
Infinite Options Docs
  • Getting Started
    • How to Install
    • Create custom options
    • Show options on a product
    • Expert Install Service
  • Set up and manage options
    • Assign Options by Tag
    • Assigning Options: Excluding a few products
    • Don't display options on certain products
    • Duplicate option sets
    • Bulk Add Values to Infinite Options
    • Reorder Option Sets
    • Make drop-downs required
    • Make Swatches required
    • Change where options display
    • Finding options on the admin side
    • Featured Product/Homepage
  • Install Infinite Options
    • Boundless Theme
    • Brooklyn theme
    • Colorblock Theme
    • Craft Theme
    • Crave Theme
    • Debut Theme
    • Dawn Theme
    • Minimal Theme
    • Origin Theme
    • Publisher Theme
    • Refresh Theme
    • Ride Theme
    • Sense Theme
    • Simple Theme
    • Studio Theme
    • Supply Theme
    • Taste Theme
    • Venture Theme
    • Locating the Product Form
    • Copy of Installing Infinite Options directly in the theme (1.0 theme)
  • Add a ShopPad team member to your store
  • Increase the Cost of an Option
    • Moving from Legacy to Native Bundling
    • Show price changes on the product page
    • Native Bundling
    • Product bundles
  • Conditional Logic
    • Conditional Logic
    • Uploadery
    • Dropdown menus
    • Swatches
  • Popular Setups
    • Up-charge Pricing + Text Box
    • Mix & Match Variety Pack or Gift Pack Example
    • Add on Gift Wrapping Option
    • Multiple Engraving Initials
  • Troubleshooting
    • Resolving "Cannot Find Variant" Error
    • Cancel your Subscription
    • Is the app installed?
    • How to disable Infinite Options
    • Quick Shop Feature
    • My options are not showing
    • Performance and Optimization
      • Remove loading delays
      • Bulk Add Values to Infinite Options
      • Hide _io_order_group and _io_parent_order_group from cart
      • Display option selections on customer account page
    • Why are option selections labeled "infinite_options_1"?
    • Options are showing on desktop and not mobile
    • Dashboard terms explained
    • Options are not showing on the backend
    • Display option selections in the cart page
  • Inputs and Field Settings
    • Swatches
      • Create Swatches
      • How to make Swatches required
      • Customize Swatches using CSS
      • Adjust Swatches - display the name once the swatch is hovered over
    • Change or translate required pop-up message/characters remaining text
    • Add a date picker to your store
      • Customize the date picker
  • Visual Changes - adding styling
    • Customize Options using CSS
    • Craft theme
    • Dawn theme
    • Debut theme
    • Studio theme
  • Display Options on Shopify Notifications
    • Shopify emails and packing slip templates
      • Order Confirmation
      • Packing Slip
      • Shipping Confirmation
      • New Order
      • Fulfillment Request
      • Abandoned Checkout
    • Order Printer/Pro templates
    • Legacy: Display Options on Shopify Notifications
      • Order Confirmation
      • Packing Slip
      • Shipping Confirmation
      • New Order
      • Fulfillment Request
      • Abandoned Checkout
  • Developer Resources
    • Event API
    • Development Store/Affiliate Store Plans
  • Integrations
    • Fablet store
    • Ecomposer
    • GemPages
    • PageFly
    • Replo Page Builder
    • UpOrder
    • Weglot
    • Zipify Pages
  • FAQs & How-tos
    • Can I export options with orders via a CSV file?
    • How do I create more than 100 variants?
Powered by GitBook
On this page
  1. Visual Changes - adding styling

Customize Options using CSS

PreviousVisual Changes - adding stylingNextCraft theme

Last updated 4 days ago

By default, Infinite Options inherits styles from your theme. Depending on the theme setup, these styles may not carry over in the best way possible.

Infinite Options fields can be styled with CSS code to correct this. This guide will provide introductions on how to target the correct HTML element within each option field.

A basic understanding of HTML and CSS code may be required to customize the options to your liking. If you can't seem to figure it out, we offer an Expert Install Service where we take care of the installation for you. Check out this article for more information.

Getting Started...

1. Starting with the Infinite Options app open, navigate to the Settings section in the left sidebar.

2. Locate the Custom CSS field.

3. Start off by selecting the element and copying the CSS snippet or view the full list below.

  • Label

  • Text

  • Large Text

  • Number

  • Radio Buttons

  • Checkboxes

  • Radio Buttons & Checkboxes Values

  • Drop Down

  • Spacing between Options

  • Placeholder Text (Text, Large Text, Number)

  • Tooltip

  • Tooltip (below field)


Label

#infiniteoptions-container div > label {

}

Text

#infiniteoptions-container input[type="text"] {

}

Large Text

#infiniteoptions-container textarea {

}

Number

#infiniteoptions-container input[type="number"] {

}

Radio Buttons

#infiniteoptions-container input[type="radio"] {

}

Checkboxes

#infiniteoptions-container input[type="checkbox"] {

}

Radio Buttons & Checkboxes Values

#infiniteoptions-container span label {

}

Drop-Down Menu

#infiniteoptions-container select {

}

Spacing between Options

#infiniteoptions-container > div {

}

Placeholder Text (Text, Large Text, Number)

#infiniteoptions-container input[type="text"]::placeholder {

}
#infiniteoptions-container textarea::placeholder {

}
#infiniteoptions-container input[type="number"]::placeholder {

}

Tooltip

#infiniteoptions-container .spb-tooltiptext {

}

Tooltip (below field)

#infiniteoptions-container .spb-helptext {

}

4. Insert the CSS snippet into the Custom CSS field.

5. Within the curly brackets, you will need to apply CSS properties (each on a new line) that will style your elements.

Not familiar with CSS properties? Here are some common examples.

  • Set text font to Helvetica,"Helvetica Neue",Arial,"Lucida Grande",sans-serif.

font-family: Helvetica,"Helvetica Neue",Arial,"Lucida Grande",sans-serif;
  • Set font size to 12px. (smaller font)

font-size: 12px;
  • Set font size to 24px. (larger font)

font-size: 24px;
  • Set text color to black. (color hex value: #000)

color: #000;
  • Set text to bold style.

font-weight: bold;
  • Set width to 100% within its container.

width: 100%;
  • Set height to 200px.

height: 200px;
  • Add 10px of spacing below an element.

padding-bottom: 10px;
  • Decrease 10px of spacing above an element.

margin-top: -10px;
  • Apply gray border with a 1px thick solid line. (color hex value: #808080)

border: 1px solid #808080;

For a full list of popular CSS properties, click here: https://cssreference.io/.

As an example, if you wanted to apply some of these CSS properties to the text field and tooltip (below field), here is how it would look.

#infiniteoptions-container input[type="text"] {
  font-family: Helvetica,"Helvetica Neue",Arial,"Lucida Grande",sans-serif;
  font-size: 12px;
  color: #000;
  width: 100%;
  padding-bottom: 10px;
}

#infiniteoptions-container .spb-helptext {
  margin-top: -10px;
}

6. Save your changes.

You can view your product pages to check out the styles you have applied. Good work! 🎊🚀