Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline CSS and Section background #2394

Closed
x10sys opened this issue Sep 15, 2017 · 3 comments
Closed

Inline CSS and Section background #2394

x10sys opened this issue Sep 15, 2017 · 3 comments
Labels
bug Indicates a bug with one or multiple components.

Comments

@x10sys
Copy link

x10sys commented Sep 15, 2017

I'm trying to use inline CSS for multiple reasons.

I made a template in Ocean WP Library, placed it with a shortcode on a page.

When using external CSS option in Elementor - it all works ok. When i switch to internal CSS option in Elementor and resave that template the problem occurs: a section doesn't display the background image.
The image url is not shown in source at all.

Hope you will correct this bug.

@x10sys
Copy link
Author

x10sys commented Sep 15, 2017

These are the differences:

Taken from external file

.elementor-element.elementor-element-qioxlbl{ background-image:url("https://server/wp-content/uploads/beaches/opatija/lido.jpg"); background-position:center center; background-repeat:no-repeat; background-size:cover; transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}

Taken from inline css

<article data-id="qioxlbl" class="elementor-element elementor-element-qioxlbl elementor-section-full_width elementor-section-height-min-height elementor-section-height-default elementor-section-items-middle elementor-section elementor-top-section" data-settings="{&quot;background_background&quot;:&quot;classic&quot;}" data-element_type="section" style="">

As you can see, style is set to nothing in inline css :\

@arielk arielk added the bug Indicates a bug with one or multiple components. label Sep 17, 2017
@arielk
Copy link
Member

arielk commented Sep 17, 2017

Fix for v1.7.4: #2410

Thanks for your feedback!

@arielk arielk closed this as completed Sep 17, 2017
@DownUnder1
Copy link

This is still happening 4 years later! But alas, This is Elementor and basic functionality working correctly seems to come second to bells and whistles, smoke and mirrors, burger and fries. You get the gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a bug with one or multiple components.
Projects
None yet
Development

No branches or pull requests

3 participants