Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
900 stars 357 forks source link

TextBook Theme: Log in button disappearing on the Premium Content Block within the editor #5667

Open sharonlaker19 opened 2 years ago

sharonlaker19 commented 2 years ago

Quick summary

In the TextBook theme, while customizing the Premium Content Block guest view, the log in button disappears within the editor when you update the color to one of the predefined ones.

loginbutton

Steps to reproduce

  1. Activate the TextBook theme on your site
  2. Create a new page with the Premium Content Block or edit an existing one
  3. For the Guest View, click on the Log in button and choose one of the theme's predefined colors to update it to

What you expected to happen

I expected the Log in button to get updated to my chosen predefined theme color and still stay visible within the edit screen like the Subscribe button does.

What actually happened

The Log in button disappeared from within the editor when I selected the predefined color but works okay when I clear or select a custom color.

https://user-images.githubusercontent.com/71630911/157914091-7970ba7a-d578-4d9b-804c-856d87554926.mp4

Context

No response

Simple, Atomic or both?

Simple, Atomic

Theme-specific issue?

TextBook Theme

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, easy to implement

Workaround details

Instead of selecting the predefined theme colors, choose a custom one for the buttons. Clear the selected color to reveal the button.

Robertght commented 2 years ago

I can confirm the issue is happening, however, one thing that struck me is that you'll need to add the Premium content after you've changed the theme because somehow you won't see the issue.

Also, I'm not sure if this is related in any way, but it's a similar behavoiur.