elementor / elementor/elementor

Price Tab Colour Formatting Issue

Open
#17,278 0 comments 0 reactions 0 assignees View on GitHub
mod/b* mod/e* product/pro type/styles widget/pro/price-table widget/settings
Dominant language
PHP
Stars
7.1k
Forks
1.6k
Avg merge
1d 5h
Merged PRs (30d)
193

Description

## Prerequisites

- [X] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- [X] The issue still exists against the latest stable version of Elementor.

## Description

When styling the price Table Wdiget, the Pricing Font Colour in incorrectly applying to the currency symbol of the Original price as well, even though the original price has a different colour applied. See example attached.
Screenshot 2021-12-22 at 13 50 01
Screenshot 2021-12-22 at 14 01 33

## Steps to reproduce

Insert Price Table Widget
Change colour of Original Price.
Change colour of main price field

Main Price colour is displayed on the Original price currency symbol with no option to stop it. When inspecting the code it appears that the colours are applied to the individual spans, instead of settings 1 level higher on the overarching span for these sections to allow you to overwrite the colour, and the currency symbol has the same class for both original and sale price, which is what results in this happening.

## Isolating the problem

- [X] This bug happens with only Elementor plugin active (and Elementor Pro).
- [X] This bug happens with a default WordPress theme active.
- [X] I can reproduce this bug consistently using the steps above.

## Environment

System Info

== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: MariaDB Server v5.7.36
PHP Version: 7.4.27
PHP Max Input Vars: 1000
PHP Max Post Size: 16M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 5.8.2
Site URL: https://madetothrive.co.za
Home URL: https://madetothrive.co.za
WP Multisite: No
Max Upload Size: 8 MB
Memory limit: 512M
Permalink Structure: /%category%/%postname%/
Language: en-ZA
Timezone: Africa/Johannesburg
Admin Email: cmsnotices@web-telecoms.co.za
Debug Mode: Inactive

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.