elementor / elementor/elementor

🐞 When we type Selector it is being replaced by the WP-PAGE.Class + .Element, it shouldn't be like this.

Open
#23,953 6 comments 1 reaction 0 assignees View on GitHub
component/code component/pro/custom-css document/assets mod/e* product/pro type/styles
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

In the CSS box, we type SELECTOR and in the front-end it is replaced by:

_.elementor-4464 .elementor-element.elementor-element-49214dc_ {
margin-top: 0!important;
}

And it should be replaced without the wp-page element, that is, I can't insert anything before the SELECTOR because it is added to the page class.

.elementor-4464 is the wp-page page class.

### Steps to reproduce

put SELECTOR in CSS Box each widget

### Isolating the problem

- [X] This bug happens with only Elementor plugin active (and Elementor Pro).
- [X] This bug happens with a Blank WordPress theme active ([Hello theme](https://wordpress.org/themes/hello-elementor/)).
- [X] I can reproduce this bug consistently following the steps above.

### System Info

Click to reveal

````txt


== Server Environment ==
Operating System: Linux
Software: LiteSpeed
MySQL version: Ubuntu 20.04 v10.3.34
PHP Version: 7.4.33
PHP Memory Limit: 1224M
PHP Max Input Vars: 8000
PHP Max Post Size: 164M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 6.3.1
Site URL: https://wip.marks.art.br/no-idea-cc
Home URL: https://wip.marks.art.br/no-idea-cc
WP Multisite: No
Max Upload Size: 164 MB
Memory limit: 40M
Max Memory limit: 1224M
Permalink Structure: /%postname%/
Language: pt-BR
Timezone: -3
Debug Mode: Inactive

== Theme ==
Name: By Marks.art.br
Version: 1.1.4.1632168674
Author: Marconi
Child Theme: Yes
Parent Theme Name: Hello Elementor
Parent Theme Version: 2.7.1
Parent Theme Author: Elementor Team

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

== Active Plugins ==
Admin and Site Enhancements
Version: 5.2.10
Author: Bowo

Admin Columns Pro
Version: 5.6.4
Author: AdminColumns.com

Advanced Database Cleaner PRO
Version: 3.2.2
Author: Younes JFR.

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

All-in-One WP Migration Unlimited Extension
Version: 2.52
Author: ServMask

DynamicTags
Version: 1.2.2
Author: RTO GmbH

Elementor
Version: 3.14.1
Author: Elementor.com

Elementor Pro
Version: 3.14.1
Author: Elementor.com

JetEngine
Version: 3.2.3.2
Author: Crocoblock

JetTricks
Version: 1.4.4
Author: Crocoblock

ManageWP - Worker
Version: 4.9.17
Author: GoDaddy

Page scroll to id
Version: 1.7.7
Author: malihu

Qi Addons For Elementor
Version: 1.6.2
Author: Qode Interactive

Query Monitor
Version: 3.12.3
Author: John Blackbourn

Retarget Marks
Version: 2.35
Author: Marconi

WP Offload SES Lite
Version: 1.6.5
Author: Delicious Brains

== Must-Use Plugins ==
ManageWP - Worker Loader
Version: 1.0.0
Author: GoDaddy

== Uso dos elementos ==

header : 2
container : 18
icon : 2
mega-menu : 4
qi_addons_for_elementor_text_marquee : 2
page : 2
alert : 3
animated-headline : 1
blockquote : 2
button : 16
container : 11
countdown : 1
divider : 15
form : 2
heading : 26
html : 2
icon : 2
icon-box : 2
image : 3
image-carousel : 1
jet-listing-dynamic-terms : 1
jet-listing-grid : 1
qi_addons_for_elementor_animated_text : 1
qi_addons_for_elementor_image_gallery_pinterest : 2
reviews : 1
spacer : 12
testimonial-carousel : 1
text-editor : 2
popup : 2
container : 1
form : 1
heading : 3
section : 1
icon-list : 1
jet-inline-svg : 1
widget : 0
icon : 1
wp-post : 0
button : 1
container : 8
form : 1
heading : 9
html : 2
image : 3
image-carousel : 1
qi_addons_for_elementor_animated_text : 1
qi_addons_for_elementor_image_gallery_pinterest : 2
text-editor : 2
wp-page : 9
animated-headline : 4
button : 12
container : 121
form : 5
heading : 23
html : 22
icon : 9
icon-list : 1
image : 7
image-box : 2
image-carousel : 2
jet-listing-grid : 3
loop-grid : 1
lottie : 7
mega-menu : 8
menu-anchor : 1
qi_addons_for_elementor_animated_text : 9
qi_addons_for_elementor_text_marquee : 9
qi_addons_for_elementor_typeout_text : 3
social-icons : 1
template : 1
text-editor : 7
video : 2
loop-item : 2
container : 2
image : 1
jet-listing-items : 0
button : 1
container : 4
heading : 2
html : 1
qi_addons_for_elementor_animated_text : 1

== Configurações ==

cpt_support: post, page, cases-editor
allow_tracking: yes
unfiltered_files_upload: 1
font_display: fallback
meta_generator_tag: 1

== Recursos ==
Custom Fonts: 0
Custom Icons: 0

== Integrações ==

== Experimentos do Elementor ==
Saída DOM otimizada: Ativo
Carregamento melhorado de recursos: Ativo
Carregamento melhorado de CSS: Ativo
Ícones da fonte inline: Inativo
Melhorias na acessibilidade: Ativo
Pontos de quebra adicionais personalizados: Inativo
admin_menu_rearrangement: Inativo por padrão
Contêiner Flexível: Ativo
Atualize a biblioteca Swiper: Ativo
Grid Container: Ativo
Padrão para Novo Construtor de Tema: Inativo
Tema Hello - Cabeçalho & Rodapé: Inativo
Barra Superior do Editor: Inativo
Landing Pages: Inativo
Elementos aninhados: Ativo
Nested Accordion: Inativo por padrão
Imagens com carregamento gradual: Ativo
Global Style Guide: Ativo
Transições da página: Inativo
Atividades Desempenhadas: Inativo
Repetir: Ativo por padrão
Envios do formulário: Ativo
Pressão da Rolagem: Inativo
Menu: Ativo

== Registo ==

== Elementor - Compatibility Tag ==

Elementor Pro: Compatibilidade não especificada
Qi Addons For Elementor: Compatibilidade não especificada

== Elementor Pro - Compatibility Tag ==

````

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.