roboto font shouldn't be set on .wc_backward
Prerequisites
- [X] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- [X] The issue still exists against the latest stable version of Elementor.
Description
Please feel free to close this if nobody can tidy up the issue, I just don't have time; I'm in the middle of the site launch. I've ticked the prerequisites, but I haven't really checked either of them they are just required to submit this info.
It looks like roboto is being applied when it shouldn't be:
It's hard coded into the template, and in fact occurs 4 times in that css file:
Steps to reproduce
- make a purchase then use the back button to go back to the checkout
Isolating the problem
- [ ] This bug happens with only Elementor plugin active (and Elementor Pro).
- [ ] This bug happens with a Blank WordPress theme active (Hello theme).
- [ ] I can reproduce this bug consistently using the steps above.
System Info
### WordPress Environment ###
WordPress address (URL): https://knepp.co.uk
Site address (URL): https://knepp.co.uk
WC Version: 7.2.0
REST API Version: ✔ 7.2.0
WC Blocks Version: ✔ 8.9.2
Action Scheduler Version: ✔ 3.4.0
Log Directory Writable: ✔
WP Version: 6.1.1
WP Multisite: –
WP Memory Limit: 2 GB
WP Debug Mode: –
WP Cron: –
Language: en_GB
External object cache: –
### Server Environment ###
Server Info: LiteSpeed
PHP Version: 7.4.33
PHP Post Max Size: 64 MB
PHP Time Limit: 500
PHP Max Input Vars: 6000
cURL Version: 7.84.0
OpenSSL/1.1.1p
SUHOSIN Installed: –
MySQL Version: 5.7.40-log-cll-lve
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
### Database ###
WC Database Version: 7.2.0
WC Database Prefix: wp_
Total Database Size: 302.18MB
Database Data Size: 273.00MB
Database Index Size: 29.18MB
wp_woocommerce_sessions: Data: 0.06MB + 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.06MB + 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: 2.52MB + Index: 2.08MB + 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: 2.52MB + Index: 1.94MB + Engine InnoDB
wp_addonlibrary_addons: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
wp_addonlibrary_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_aryo_activity_log: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
wp_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_automatewoo_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_automatewoo_log_meta: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
wp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_cky_banners: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_cky_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_cky_cookie_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_jckwds: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_jet_post_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_jet_rel_default: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_jet_taxonomies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_lecm_rewrite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_litespeed_crawler: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wp_litespeed_crawler_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_litespeed_img_optm: Data: 1.52MB + Index: 0.39MB + Engine InnoDB
wp_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + 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: 17.41MB + Index: 0.19MB + Engine InnoDB
wp_pmxe_exports: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
wp_pmxe_posts: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_hash: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_images: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_imports: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_posts: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_postmeta: Data: 155.52MB + Index: 15.75MB + Engine InnoDB
wp_posts: Data: 67.08MB + Index: 2.39MB + Engine InnoDB
wp_redirection_404: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_redirection_items: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
wp_redirection_logs: Data: 0.27MB + Index: 0.05MB + Engine InnoDB
wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 2.03MB + Index: 2.05MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp_wc_bookings_availability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_bookings_availabilitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + 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_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + 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
wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wfconfig: Data: 0.48MB + Index: 0.00MB + Engine InnoDB
wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wffilemods: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
wp_wfhits: Data: 0.28MB + Index: 0.05MB + Engine InnoDB
wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wflogins: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfnotifications: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpo_wcpbn_batch_numbers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_yoast_indexable: Data: 1.52MB + Index: 0.67MB + Engine InnoDB
wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_links: Data: 0.23MB + Index: 0.19MB + Engine InnoDB
### Post Type Counts ###
acf-field: 6
acf-field-group: 1
attachment: 1316
aw_workflow: 31
bookable_person: 1
elementor_library: 26
elementor_snippet: 2
global_product_addon: 2
jet-engine: 8
jet-menu: 7
jet-popup: 3
jet-woo-builder: 21
nav_menu_item: 94
oembed_cache: 5
page: 136
pewc_field: 1
pewc_group: 1
post: 85
product: 39
recipes: 9
revision: 831
seedprod: 1
shop_coupon: 633
shop_order: 4
tablepress_table: 3
team-member: 42
wc_booking: 3
wp_global_styles: 1
### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔
### Active Plugins (56) ###
Unlimited Elements for Elementor (Premium): by Unlimited Elements – 1.5.43
Advanced Custom Fields PRO: by WP Engine – 6.0.6
Activity Log: by Activity Log Team – 2.8.5
Astra Pro: by Brainstorm Force – 3.9.4
AutomateWoo: by WooCommerce – 5.6.0
Cachebuster: by Albert Peschar – 1.3
Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.15.7
CookieYes | GDPR Cookie Consent: by CookieYes – 3.0.7
Disable User Login: by Saint Systems – 1.3.3
Yoast Duplicate Post: by Enrico Battocchi and Team Yoast – 4.5
Duplicator Pro: by Snap Creek – 4.5.8.3
Duplicator Pro: by Snap Creek – 4.5.8.3
Elementor Pro: by Elementor.com – 3.9.0
Elementor: by Elementor.com – 3.9.0
ElementsKit Lite: by Wpmet – 2.8.0
Products & Order Export for WooCommerce: by WPWhale – 2.0
Flexible Shipping: by Octolize – 4.18.0
WooCommerce Delivery Slots by Iconic: by Iconic – 1.18.0
JetBlocks For Elementor: by Crocoblock – 1.3.5
JetEngine - Custom visibility conditions: by Crocoblock – 1.0.0
JetEngine - Repeater field values: by Matthew Harris
runthings.dev – 1.1.1
JetEngine - Trim string callback: by Crocoblock – 1.0.0
JetEngine: by Crocoblock – 3.0.8
JetMenu: by Crocoblock – 2.2.4
JetPopup: by Crocoblock – 1.6.3
JetTricks: by Crocoblock – 1.4.3
JetWooBuilder - Category Custom Product Template: by Matthew Harris
runthings.dev – 1.2.0
JetWooBuilder For Elementor: by Crocoblock – 2.1.1
LiteSpeed Cache: by LiteSpeed Technologies – 5.3.1
Mailgun: by Mailgun – 1.8.9
MainWP Child: by MainWP – 4.3.1
Premium Addons for Elementor: by Leap13 – 4.9.44
Premium Addons PRO: by Leap13 – 2.8.17
Really Simple SSL: by Really Simple Plugins – 6.0.12
Redirection: by John Godley – 5.3.6
Knepp Custom Checkout Question - 12+ Confirmation: by Matthew Harris
runthings.dev – 1.2.1
Current Year Shortcode: by Matthew Harris
runthings.dev – 1.1.0
WooCommerce Accommodation Bookings: by WooCommerce – 1.1.36
WooCommerce Bookings: by WooCommerce – 1.15.69
DPD UK & DPD Local Labels and Tracking: by Octolize – 1.13.0
WooCommerce Stripe Gateway: by WooCommerce – 7.0.1
WooCommerce Knepp Accommodation Bookings: by Matthew Harris
runthings.dev – 1.4.0
WooCommerce Print Order List: by WP Overnight – 1.9.0
PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.2.5
WooCommerce Product Add-ons: by WooCommerce – 5.0.2
WooCommerce Product Batch Numbers: by WP Overnight – 1.8.1
WooCommerce Shipping & Tax: by WooCommerce – 2.1.0
WooCommerce Store Credit: by Themesquad – 4.2.4
WooCommerce: by Automattic – 7.2.0
Wordfence Security: by Wordfence – 7.8.2
WordPress Importer: by wordpressdotorg – 0.8
Yoast SEO: by Team Yoast – 19.12
WP All Export Pro: by Soflyy – 1.8.1
WP All Import Pro: by Soflyy – 4.7.8
WP All Export - WooCommerce Export Add-On Pro: by Soflyy – 1.0.5
WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 3.3.4
### Inactive Plugins (0) ###
### Settings ###
API Enabled: –
Force SSL: –
Currency: GBP (£)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: accommodation-booking (accommodation-booking)
booking (booking)
external (external)
grouped (grouped)
simple (simple)
store_credit (store_credit)
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: ✔
Enforce Approved Product Download Directories: –
Order datastore: WC_Order_Data_Store_CPT
### WC Pages ###
Shop base: ❌ Page not set
Basket: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
Checkout: #639 - /checkout/
My account: #640 - /my-account/
Terms and conditions: #7544 - /legal/terms-of-use/
### Theme ###
Name: Knepp
Version: 1.0.0
Author URL: https://sokastudio.co.uk/
Child Theme: ✔
Parent Theme Name: Astra
Parent Theme Version: 3.9.4
Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
WooCommerce Support: ✔
### Templates ###
Overrides: /home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/checkout/form-checkout.php
/home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/checkout/thankyou.php
knepp/woocommerce/emails/customer-new-account.php
/home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/myaccount/dashboard.php
/home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/myaccount/downloads.php
/home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/myaccount/form-edit-account.php
/home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/myaccount/form-login.php
/home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/myaccount/my-address.php
/home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/myaccount/orders.php
/home/kneppco/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/content-product_cat.php
### Admin ###
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
Disabled Features: minified-js
new-product-management-experience
settings
Daily Cron: ✔ Next scheduled: 2022-12-15 16:48:19 +00:00
Options: ✔
Notes: 88
Onboarding: completed
### Action Scheduler ###
Complete: 6,967
Oldest: 2022-11-13 20:34:43 +0000
Newest: 2022-12-14 17:35:49 +0000
Pending: 4
Oldest: 2022-12-14 18:00:49 +0000
Newest: 2023-01-01 07:40:06 +0000
### Store Credit ###
Prices entered with tax: yes
Show My Account: yes
Delete after use: yes
Individual use: no
Include tax: no
Apply to shipping: yes
Coupon code format: {coupon_code}
Overrides: -
### Status report information ###
Generated at: 2022-12-14 17:46:34 +00:00
Workaround for now, put this in your styles.css / global styles
/* fix: remove roboto dependency in elementor pro */
.e-wc-error-notice .woocommerce-error .wc-backward {
font-family: var( --e-global-typography-text-font-family ), sans-serif;
font-size: inherit;
}
Hello @rtpHarry!
Thank you for submitting your issue! 🙏
I can confirm the font is present in the mentioned stylesheet woocommerce-notices.css, but I can assure you it does not affect any site negatively, since if the font is not found, it will fallback to sans-serif, and Elementor will not enqueue the font unless it's selected throughout your website. Although I do see that it would make more sense to use the font defined in Site Settings as default.
It's also worth mentioning that if you edit the WooCommerce Notices in your Site Settings, and change the font, it will override this rule as well.
I will however forward this to the team so they can verify if it's something that can be modified. I believe there is a reason why this is there.
Anyway, thank you for your feedback! 🙏
Best regards
I'm not sure that you are correct in those statements.
I have modified the fonts using the 'site settings' are of the site. This seems to be a specific rule which targets .wp-backward, and overrides those font settings.
Further, it doesn't set sans-serif as a fallback (see screenshot), so that means without Roboto it defaults to the browser default of Times New Roman.
It's a pretty rare error message, as its only ever shown in the basket when you click back after completing a purchase. I don't know why it has its own special class, but I do think that this is a legitimate bug.