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

Lativ theme: Unable to set a solid background color in global styles #80838

Open
jp-imagines opened this issue Aug 20, 2023 · 12 comments
Open

Lativ theme: Unable to set a solid background color in global styles #80838

jp-imagines opened this issue Aug 20, 2023 · 12 comments
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] Global Styles The Global Styles tools in the site editor and theme style variations. [Feature Group] Appearance & Themes Features related to the appearance of sites. [Platform] Atomic [Platform] Simple [Pri] Low [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. Triaged To be used when issues have been triaged. [Type] Bug User Report This issue was created following a WordPress customer report

Comments

@jp-imagines
Copy link

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

  1. Activate the Lativ theme.
  2. Open global styles at Appearance > Editor > Styles > Edit.
  3. Click Background and try to select a solid background color.

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 a background 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

@jp-imagines jp-imagines added [Type] Bug [Feature Group] Appearance & Themes Features related to the appearance of sites. Needs triage Ticket needs to be triaged [Feature] Global Styles The Global Styles tools in the site editor and theme style variations. [Product] WordPress.com All features accessible on and related to WordPress.com. labels Aug 20, 2023
@github-actions
Copy link

github-actions bot commented Aug 20, 2023

Support References

This comment is automatically generated. Please do not edit it.

  • 6696455-zen
  • 6867014-zen
  • 6898452-zen
  • 6776945-zen
  • 6960580-zen
  • 7462451-zen
  • 7462546-zen
  • 7546597-zen
  • 7622563-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Aug 20, 2023
@cuemarie cuemarie added the User Report This issue was created following a WordPress customer report label Aug 21, 2023
@cuemarie
Copy link

📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain

  • Tested on Simple – Replicated
  • Tested on Atomic – Replicated
  • Tested on P2 (optional) – Replicated / Could Not Replicate / Uncertain
  • Replicable outside of Dotcom – Yes/No

📌 FINDINGS/SCREENSHOTS/VIDEO

  • Replicated across simple and AT. On my AT site where I have a non-default style selected from activation, changing the background color just resets the bg color to the default style.
  • Could not replicate on TT2 or Didone; these themes let me select any background color as expected.
  • I couldn't find any other themes with a gradient default background to test, so unsure if this is Lativ-specific

Screenshots/Recordings

Atomic - Serif Mint style

VxyxWN.mp4

Simple - Default Style

TKzPGB.mp4

📌 ACTIONS

  • @Automattic/t-rex for your awareness

@cuemarie cuemarie added [Platform] Simple and removed Needs triage Ticket needs to be triaged labels Aug 22, 2023
@dsas
Copy link
Contributor

dsas commented Aug 31, 2023

Looks like it is a Gutenberg bug: WordPress/gutenberg#42105

@cuemarie cuemarie added the [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. label Aug 31, 2023
@mgozdis
Copy link

mgozdis commented Sep 16, 2023

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.

@jp-imagines
Copy link
Author

Another report in 6898452-zd-a8c

@cuemarie
Copy link

cuemarie commented Sep 18, 2023

Noted this here: p1695047721869529-slack-C03EUR81G3V

@jordesign
Copy link
Contributor

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

@mdtanjid0
Copy link

  • 6776945-zen, another one with the Lativ theme. ( needs to be followed up )

@devNigel
Copy link

Another report: 6960580-zd-a8c

@cuemarie cuemarie added the Triaged To be used when issues have been triaged. label Oct 5, 2023
@edequalsawesome
Copy link

Also reported in 7462451-zen, follow-up requested in 7462546-zen

@kspilarski
Copy link

Also cannot set a solid background color in Global Styles settings in the Lativ theme on 7546597-zen

@dsas dsas changed the title Lativ theme: Unable to set a solid background color in global stlyes Lativ theme: Unable to set a solid background color in global styles Jan 8, 2024
@ckmccoy2
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] Global Styles The Global Styles tools in the site editor and theme style variations. [Feature Group] Appearance & Themes Features related to the appearance of sites. [Platform] Atomic [Platform] Simple [Pri] Low [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. Triaged To be used when issues have been triaged. [Type] Bug User Report This issue was created following a WordPress customer report
Projects
Development

No branches or pull requests

10 participants