Skip to content

Conflict Between Elementor theme styler and forced line-height:1 in frontend.min.css #10649

@LeMiira

Description

@LeMiira

Prerequisites

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

Description

When I set line-height for headings, in theme styler, it's not apply because of this rule

.elementor-widget-heading .elementor-heading-title {
    padding: 0;
    margin: 0;
    line-height: 1;
}

in frontend.min.css

thisis the rule that not apply:

body.elementor-kit-19 h2 {
    color: #0B214E;
    font-size: 30px;
    line-height: 1.25em;
}

image

image

I see this issue is around . but nothing replied from elementor team.

https://wordpress.org/support/topic/line-heights-set-on-elementor-stylesheet-set-to-1/

Steps to reproduce

Isolating the problem

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

Environment

System Info

== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: MySQL Community Server (GPL) v5.7.29
PHP Version: 7.3.14
PHP Max Input Vars: 1000
PHP Max Post Size: 20M
GD Installed: Yes
ZIP Installed: No
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 5.3.2
Site URL: https://testhosting.co.uk/efia
Home URL: https://testhosting.co.uk/efia
WP Multisite: No
Max Upload Size: 20 MB
Memory limit: 256M
Permalink Structure: /%postname%/
Language: en-US
Timezone: 0
Debug Mode: Inactive

== Theme ==
Name: Efia
Version: 1.0
Author:
Child Theme: No

== User ==
Role: administrator
WP Profile lang: en_US
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 OPR/66.0.3515.72

== Active Plugins ==
Advanced Custom Fields PRO
Version: 5.8.7
Author: Elliot Condon

All-in-One WP Migration
	Version: 7.17
	Author: ServMask

All-in-One WP Migration FTP Extension
	Version: 2.59
	Author: ServMask

Contact Form 7
	Version: 5.1.6
	Author: Takayuki Miyoshi

Contact Form 7 styler for Elementor
	Version: 1.0.0
	Author: Essential Addons

Custom Post Type UI
	Version: 1.7.3
	Author: WebDevStudios

DynamicConditions
	Version: 1.4.4
	Author: RTO GmbH

Ele Custom Skin
	Version: 1.3.10
	Author: Dudaster.com

Elementor
	Version: 2.9.2
	Author: Elementor.com

Elementor Pro
	Version: 2.8.4
	Author: Elementor.com

Lenix Elementor Leads addon
	Version: 1.8.0
	Author: Lenix

Really Simple SSL
	Version: 3.2.9
	Author: Rogier Lankhorst, Mark Wolters

reSmush.it Image Optimizer
	Version: 0.3.0
	Author: reSmush.it

SVG Support
	Version: 2.3.17
	Author: Benbodhi

Yoast SEO
	Version: 13.1
	Author: Team Yoast

== Elements Usage ==

footer : 1
	heading : 7
	icon-list : 4
	image : 1
header : 1
	icon : 1
	image : 1
loop : 2
	button : 2
	heading : 5
popup : 1
	nav-menu : 1
section : 3
	button : 1
	heading : 2
	image-carousel : 1
	spacer : 1
	text-editor : 1
wp-post : 0
	button : 3
	call-to-action : 9
	form : 1
	heading : 5
	image : 2
	posts : 1
	spacer : 13
	template : 3
	text-editor : 2
wp-page : 7
	accordion : 1
	breadcrumbs : 1
	button : 12
	call-to-action : 18
	eael-contact-form : 1
	form : 1
	heading : 36
	icon-box : 3
	image : 12
	posts : 1
	spacer : 45
	template : 13
	text-editor : 3

== Log ==

Log: showing 10 of 102019-12-12 12:07:37 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.8.0',
'to' => '2.8.1',
)]
2020-01-14 09:49:47 [info] elementor::elementor_updater Started
2020-01-14 09:49:47 [info] Elementor/Upgrades - _v_2_8_3_recalc_usage_data Start
2020-01-14 09:49:47 [info] Elementor/Upgrades - _v_2_8_3_recalc_usage_data Finished
2020-01-14 09:49:47 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.8.1',
'to' => '2.8.3',
)]
2020-01-14 09:49:47 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '2.8.1',
'to' => '2.8.3',
)]
2020-01-14 09:50:18 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.7.3',
'to' => '2.8.3',
)]
2020-02-13 13:12:33 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.8.3',
'to' => '2.8.5',
)]
2020-02-17 10:59:02 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.8.5',
'to' => '2.9.2',
)]
2020-02-17 11:00:17 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.8.3',
'to' => '2.8.4',
)]

JS: showing 4 of 4JS: 2020-02-13 12:54:26 [error X 8][http://testhosting.co.uk/efia/wp-content/themes/efia/js/script.js?ver=5.3.2:144:30] $(...).magnificPopup is not a function
JS: 2020-02-17 12:11:56 [error X 1][https://testhosting.co.uk/efia/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.2:31:167093] Cannot read property 'isDesignable' of undefined
JS: 2020-02-18 11:45:56 [error X 2][https://testhosting.co.uk/efia/wp-content/plugins/elementor/assets/lib/e-select2/js/e-select2.full.min.js?ver=4.0.6-rc.1:1:74235] Cannot read property 'destroy' of undefined
JS: 2020-02-24 13:45:15 [error X 19][https://testhosting.co.uk/efia/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.2:7:83366] Cannot read property 'elements' of undefined

PHP: showing 1 of 1PHP: 2020-02-18 11:04:57 [notice X 2][/home/hakunamatata/public_html/efia/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-image.php::44] Undefined offset: 1 [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.status/mergedIndicates when a Pull Request has been merged to a Release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions