skip to Main Content

add dynamic class with css binding – Magento

I want to add a class behind payment-method by function with the knockout css binding (in Magento 2.1). So this is the current code: <div class="payment-method" data-bind="css: {'_active': (getCode() == isChecked())}"> <div class="payment-method-title field choice"> <input type="radio" name="payment[method]" class="radio" data-bind="attr:…

VIEW QUESTION

Divi theme – How to create custom Divi module?

How can I add a custom module for Divi Wordpress theme? http://www.elegantthemes.com/gallery/divi/ Original modules are created in main-modules.php Example: class ET_Builder_Module_Gallery extends ET_Builder_Module { .... } But the ET_Builder_Module class is not accessible in my plugin, or in theme functions.php

VIEW QUESTION
Back To Top
Search