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

Changing Global Style deletes existing Additional CSS #39

Closed
waxingmedia opened this issue May 22, 2023 · 3 comments
Closed

Changing Global Style deletes existing Additional CSS #39

waxingmedia opened this issue May 22, 2023 · 3 comments

Comments

@waxingmedia
Copy link

Describe the bug
Additional Global CSS Styles are deleted upon save after choosing a new style

To Reproduce

  1. Go to theme customizer
  2. Click on styles icons to bring up styles
  3. Click vertical ellipse menu and select Additional CSS
  4. Add CSS
  5. Click SAVE
  6. Navigation back to main global styles pane and select "Browse Styles"
  7. Select a new styles
  8. Click SAVE
  9. Click vertical ellipse menu and select Additional CSS to see styles are gone

Expected behavior
The style shouldn't be deleted upon style change

Screenshots
https://youtu.be/g1VXoOjMmOI

Desktop (please complete the following information):

  • OS: Mac OS Ventura 13.3.1
  • Browser : Safari
  • Version: 16.4
@waxingmedia
Copy link
Author

waxingmedia commented May 22, 2023

I'm reopening this. I still don't understand why CSS styles would be deleted when enabling a different style. If I change to another style and then go back to the original, shouldn't my old CSS remain?

@waxingmedia waxingmedia reopened this May 22, 2023
@mikemcalister
Copy link
Collaborator

Hi there, thanks for reporting this. This is actually a bug in WordPress core, and it has been reported here. Hopefully it makes the cut for the next release!

@waxingmedia
Copy link
Author

waxingmedia commented May 23, 2023 via email

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

No branches or pull requests

2 participants