-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Lativ theme: Unable to set a solid background color in global styles #80838
Comments
Support References This comment is automatically generated. Please do not edit it.
|
📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain
📌 FINDINGS/SCREENSHOTS/VIDEO
Screenshots/RecordingsAtomic - Serif Mint style VxyxWN.mp4Simple - Default Style TKzPGB.mp4📌 ACTIONS
|
Looks like it is a Gutenberg bug: WordPress/gutenberg#42105 |
Another user report here: 6867014-zd-a8c Set all gradient control points to solid color as a workaround, however, if the user ever selects a solid background color again, it immediately reverts to the default gradient again. |
Another report in 6898452-zd-a8c |
Noted this here: p1695047721869529-slack-C03EUR81G3V |
There's some discussion in WordPress/gutenberg#47391 on how to approach this kind of problem - looks like it's a not-so-simple solution |
|
Another report: 6960580-zd-a8c |
Also reported in 7462451-zen, follow-up requested in 7462546-zen |
Also cannot set a solid background color in Global Styles settings in the Lativ theme on 7546597-zen |
another instance 7622563-zd. Was able to set an all while background (what user wanted), by creating a custom gradient and setting both to #ffffff |
Closing this out as a duplicate of WordPress/gutenberg#47391. |
Quick summary
The
Lativ
theme uses a gradient background by default. You can change this to a different gradient, but selecting any solid background color does not work.Steps to reproduce
What you expected to happen
The selected background color should apply to the site.
What actually happened
Nothing happens. The site's CSS shows the background color is applied via a
background-color
CSS style at the same place as abackground
rule for the gradient, which overwrites the solid color.Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Atomic
Logs or notes
Only tested on Atomic so far, and only on Lativ. Unsure if this affects other themes (including themes where a gradient background isn't the default).
Workaround: Create a custom gradient with two identical colors and set that as the background instead. (CSS also works.)
Initial report: 6696455-zd-a8c
The text was updated successfully, but these errors were encountered: