| @@ -1,22 +1,23 @@ | ||
| 1 | 1 | <?php namespace TierPricingTable\Integrations\Themes; |
| 2 | 2 | |
| 3 | 3 | class Avada { |
| 4 | - | |
| 4 | + | |
| 5 | 5 | public function __construct() { |
| 6 | 6 | add_action( 'wp_head', function () { |
| 7 | 7 | ?> |
| 8 | + <!--Compatibility with Avada theme--> | |
| 8 | 9 | <style> |
| 9 | - .price-rules-table tbody tr { | |
| 10 | - height: inherit; | |
| 10 | + .tiered-pricing-table tbody tr { | |
| 11 | + height: inherit !important; | |
| 11 | 12 | } |
| 12 | 13 | |
| 13 | - .price-rules-table tbody td { | |
| 14 | - padding: 15px 0 15px 10px; | |
| 14 | + .tiered-pricing-table tbody td { | |
| 15 | + padding: 15px 0 15px 10px !important; | |
| 15 | 16 | } |
| 16 | 17 | |
| 17 | - .price-rules-table th { | |
| 18 | - padding-left: 10px; | |
| 18 | + .tiered-pricing-table th { | |
| 19 | + padding-left: 10px !important; | |
| 19 | 20 | } |
| 20 | 21 | </style> |
| 21 | 22 | <?php |
| 22 | 23 | } ); |