storefront icon indicating copy to clipboard operation
storefront copied to clipboard

Inconsistency with dashboard view and frontend view

Open WillBrubaker opened this issue 6 years ago • 1 comments

Describe the bug

Creating a block with a cover image and an H1 tag with a color other than black results in the preview and what is actually seen to be different.

Isolating the problem (mark completed items with an [x]):

  • [x ] I have deactivated other plugins and themes and confirmed this bug occurs when only WooCommerce + Storefront theme are active.
  • [x ] I can reproduce this bug consistently using the steps below.

To Reproduce

  1. Create a cover image block
  2. Add a header in that block
  3. Change the text color of that header to anything other than black
  4. See what it looks like in preview: see screen shot
  5. See what it looks like on the frontend: see screen shot https://d.pr/i/F4MCj2

Screenshots

If applicable, add screenshots to help explain your problem.

Expected behavior

A clear and concise description of what you expected to happen.

Browser Environment

Please provide as much detail as possible about your testing environment.

  • Platform: e.g. macOS, Windows, iOS
  • Browser(s):

WordPress Environment

Please provide relevant details of your WordPress setup and server environment.

``` Website Status Report (Required for WooCommerce. Find this at: Your website > Dashboard > WooCommerce > Status): ` ### WordPress Environment ###

WordPress address (URL): https://stockedpantry.co.uk Site address (URL): https://stockedpantry.co.uk WC Version: 4.0.1 REST API Version: ✔ 1.0.7 WC Blocks Version: ✔ 2.5.14 Action Scheduler Version: ✔ 3.1.4 WC Admin Version: ✔ 1.0.3 Log Directory Writable: ✔ WP Version: 5.3.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_GB External object cache: –

Server Environment

Server Info: nginx/1.10.3 PHP Version: 7.0.33-0+deb9u3 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.52.1 OpenSSL/1.0.2r

SUHOSIN Installed: – MySQL Version: 5.6.40 Max Upload Size: 2 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ✔ GZip: ✔ Multibyte String: ❌ Your server does not support the mbstring functions - this is required for better character encoding. Some fallbacks will be used instead for it. Remote Post: ✔ Remote Get: ✔

Database

WC Database Version: 4.0.1 WC Database Prefix: wp_ Total Database Size: 4.42MB Database Data Size: 3.02MB Database Index Size: 1.40MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 2.08MB + Index: 0.06MB + Engine InnoDB wp_postmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_posts: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

Post Type Counts

attachment: 18 customize_changeset: 3 page: 10 post: 2 product: 12

Security

Secure connection (HTTPS): ✔ Hide errors from visitors: ✔

Active Plugins (6)

Facebook for WooCommerce: by Facebook – 1.10.2 Jetpack by WordPress.com: by Automattic – 8.3 Google Ads for WooCommerce: by Kliken – 1.0.4 Mailchimp for WooCommerce: by Mailchimp – 2.3.5 WooCommerce Services: by Automattic – 1.22.5 WooCommerce: by Automattic – 4.0.1

Inactive Plugins (3)

Akismet Anti-Spam: by Automattic – 4.1.3 Coming Soon Page, Under Construction & Maintenance Mode by SeedProd: by SeedProd – 5.1.0 Hello Dolly: by Matt Mullenweg – 1.7.2

Settings

API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5)

Connected to WooCommerce.com: –

WC Pages

Shop base: #6 - /?page_id=6 Basket: #7 - /?page_id=7 Checkout: #8 - /?page_id=8 My account: #9 - /?page_id=9 Terms and conditions: ❌ Page not set

Theme

Name: Storefront Version: 2.5.5 Author URL: https://woocommerce.com/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme

WooCommerce Support: ✔

Templates

Overrides: –

Action Scheduler

Complete: 2 Oldest: 2020-03-25 23:46:53 +0000 Newest: 2020-03-26 18:15:29 +0000

`8:26am```

WillBrubaker avatar Mar 29 '20 18:03 WillBrubaker

I ran into the same issue in 23417092-hc

In this case, it seems that the Customizer settings under Typography > Hero heading color are overriding the individual colors set on the blocks.

E.g. if you set the Hero heading color to red under Typography:

Screen Shot 2020-09-09 at 10 22 40 AM

And then you add h1 to the cover block and change the color to something else, the view in the editor is:

Screen Shot 2020-09-09 at 10 23 59 AM

But the view on the site overrides the blue color and remains red:

Screen Shot 2020-09-09 at 10 24 52 AM

katinthehatsite avatar Sep 09 '20 14:09 katinthehatsite