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

[FIX] don't create inline-css for background unless value exists. #413

Merged
merged 1 commit into from
May 15, 2018

Conversation

pxamike
Copy link
Contributor

@pxamike pxamike commented May 15, 2018

If you don't use the Element overlay color (rgba) field in the content element Hero Image, the result is some stray inline css:

<div class="hero-image__caption-wrp _center-align" style="height: 340px; background-color:;">

This pull request will fix that.

@dmh dmh merged commit b9a1fcb into master May 15, 2018
@pxamike pxamike deleted the fix_hero-image_transparent-layer branch May 23, 2018 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants