You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the preview, if the styles define different fonts or colours, they override the custom fonts and colours in the Customizer preview.
This is because, in the preview, the style pack styles are enqueued via JavaScript, and at the very end of the header. Any styles that come before it are overridden.
I'm not totally convinced we need to include colours/fonts in the style packs, but this would be a nice thing to fix.
Steps to reproduce:
Navigate to Customizer > Style Packs, and pick Style Pack 1.
Navigate to Typography, and set up a custom typeface.
Note it's not previewing.
Navigate to front end; note the style pack and typeface is correct.
Navigate back to the customizer - the font will not be wrong.
The text was updated successfully, but these errors were encountered:
In the preview, if the styles define different fonts or colours, they override the custom fonts and colours in the Customizer preview.
This is because, in the preview, the style pack styles are enqueued via JavaScript, and at the very end of the header. Any styles that come before it are overridden.
I'm not totally convinced we need to include colours/fonts in the style packs, but this would be a nice thing to fix.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: