Web Analytics

Fill the form & Get Installation Support

Any Question or Concerns?
Let's discuss

    Magento 2: Add color background in drop-down

    Related articles

    Let’s say that you have a specific requirement to convert a simple drop-down into drop-down with color in the background.

    Step 1:  Add the “drop-down” class in the mentioned file “app/design/frontend/Magemonkey/luma_child/Magento_ConfigurableProduct/templates/product/view/type/options/configurable.phtml”

    Step 2:  Add the below js in the mentioned file

    This will convert the drop-down in HTML structure and set the color as a background.

    Contact us for scientific strategies to increase your site conversions

      Connect With Us