• Resolved jlstysis

    (@jlstysis)


    When looking at product details, additional information tab, the product attributes are displayed as a table. If all formatting is removed via a Theme, the table is shown as an outline with zebra stripes. I would like for this table to not be visible at all and to reduce padding to make the text a little tighter.
    I’ve been trying different snips of CSS in Theme custom CSS. I was able to change background color, but the table outline is still visible and of course the padding is unchanged.
    Please let me know whether this is possible and what css code to use.

    The link provided is just one example. This is default behavior for Woocommerce.

    Thank you!

    • This topic was modified 2 years, 7 months ago by jlstysis.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @jlstysis! Thanks for reaching out to us!

    I’m afraid that this is related to your theme and its stylesheets. However, we’ll do our best to help you out!

    Can you share with us a full screenshot of an example of that behavior? You can use this tool (or any other tool that you prefer) to paste and share a screenshot with us!

    Also, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.

    Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    My very best,

    Thread Starter jlstysis

    (@jlstysis)

    Hello Andre @chiape,
    Thank you so much!
    The behavior is the same with the Woocommerce Bookshop theme and with Astra. I’ve also tried using Elementor to modify the product page and display attributes at the top, and I’m still getting the same table.
    Here’s the screen shot. It’s in Russian, but it’s showing the default product page with “Additional Information” tab at the bottom, which is listing product attributes.
    https://snipboard.io/fEUjbI.jpg
    I’ve circled the table that I’m trying to hide. I just want the text displayed in a clean way.

    Here’s the System Status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.mybiblioteka.com
    Site address (URL): https://www.mybiblioteka.com
    WC Version: 6.3.1
    REST API Version: ? 6.3.1
    WC Blocks Version: ? 6.9.0
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.2.1
    Log Directory Writable: ?
    WP Version: 5.9.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: ru_RU
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.25
    PHP Post Max Size: 505 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 3000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.28-0ubuntu0.20.04.3
    Max Upload Size: 500 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.3.1
    WC Database Prefix: wp_yefkxr_
    Total Database Size: 17.44MB
    Database Data Size: 13.55MB
    Database Index Size: 3.89MB
    wp_yefkxr_woocommerce_sessions: Data: 0.14MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_yefkxr_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_yefkxr_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_yefkxr_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_actionscheduler_actions: Data: 0.25MB + Index: 0.31MB + Engine InnoDB
    wp_yefkxr_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_actionscheduler_logs: Data: 0.23MB + Index: 0.16MB + Engine InnoDB
    wp_yefkxr_aioseo_cache: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_yefkxr_aioseo_posts: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_ce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    wp_yefkxr_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_e_submissions: Data: 0.02MB + Index: 0.23MB + Engine InnoDB
    wp_yefkxr_e_submissions_actions_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_e_submissions_values: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_fastflow_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_gla_budget_recommendations: Data: 0.20MB + Index: 0.11MB + Engine InnoDB
    wp_yefkxr_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yefkxr_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_newsletter_templates: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yefkxr_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_yefkxr_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yefkxr_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_yefkxr_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_yefkxr_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_options: Data: 6.20MB + Index: 0.17MB + Engine InnoDB
    wp_yefkxr_postmeta: Data: 0.45MB + Index: 0.38MB + Engine InnoDB
    wp_yefkxr_posts: Data: 0.38MB + Index: 0.13MB + Engine InnoDB
    wp_yefkxr_rnb_availability: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_rnb_inventory_product: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_tags_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_tinvwl_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_tinvwl_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_tinvwl_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yefkxr_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_yefkxr_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yefkxr_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yefkxr_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_yefkxr_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yefkxr_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yefkxr_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    astra_adv_header: 2
    astra-advanced-hook: 3
    attachment: 29
    custom_css: 6
    customize_changeset: 191
    elementor_library: 2
    inventory: 1
    mailpoet_page: 1
    nav_menu_item: 5
    page: 11
    post: 2
    product: 11
    revision: 74
    seedprod: 1
    shop_order: 16
    shop_order_refund: 2
    shop_subscription: 1
    sumomasterlog: 23
    sumomem_masterlog: 9
    sumomembers: 4
    sumomembershipplans: 2
    sumosubs_cron_events: 11
    sumosubscriptions: 8
    wp_global_styles: 6
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (26) ###
    
    All in One SEO: by All in One SEO Team – 4.1.10
    Astra Pro: by Brainstorm Force – 3.6.6
    Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.10.0
    DreamHost Panel Login: by DreamHost
    danielbachhuber – 1.0.0
    
    Elementor Pro: by Elementor.com – 3.6.4
    Elementor: by Elementor.com – 3.6.2
    Fast Flow: by FastFlow.io – 1.2.10
    Fast WooCredit Pro: by FastFlow – 1.4.3.3
    Flying Pages by WP Speed Matters: by Gijo Varghese – 2.4.2
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.5.0
    Google Authenticator: by Ivan Kruchkoff – 0.53
    Jetpack: by Automattic – 10.8
    Change Storefront Footer Copyright Text: by QuadLayers – 1.1.4
    SUMO Memberships: by Fantastic Plugins – 6.5
    SUMO Subscriptions: by Fantastic Plugins – 13.6
    Theme Customisations: by WooThemes – 1.0.0
    Proxy Cache Purge: by Mika Epstein – 5.1.0
    Out of Stock Message for WooCommerce: by coderstime – 1.0.6
    Wish List for WooCommerce Pro: by Thanks to IT – 1.9.6
    WooCommerce Stripe Gateway: by WooCommerce – 6.3.0
    WooCommerce Payments: by Automattic – 3.9.3
    WooCommerce PayPal Payments: by WooCommerce – 1.7.1
    WooCommerce Security Deposits: by codeCraze – 1.2.5
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.25
    WooCommerce: by Automattic – 6.3.1
    WPForms Lite: by WPForms – 1.7.3
    
    ### Inactive Plugins (11) ###
    
    Checkout Field Editor for WooCommerce (Pro): by ThemeHigh – 3.1.10
    Cost of Goods for WooCommerce: by WPFactory – 2.5.4
    Creative Mail by Constant Contact: by Constant Contact – 1.5.2
    Google Listings and Ads: by WooCommerce – 1.12.4
    Mailchimp for WooCommerce: by Mailchimp – 2.6.2
    MailPoet 3 (New): by MailPoet – 3.86.0
    Menu Icons: by ThemeIsle – 0.12.11
    Multi-Step Checkout for WooCommerce: by SilkyPress – 2.19
    TI WooCommerce Wishlist: by TemplateInvaders – 1.42.1
    WC Order Limit: by Xfinity Soft – 4.1.8
    WP Mail SMTP: by WPForms – 3.3.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    redq_rental (redq_rental)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Astra Child
    Version: 1.0.0
    Author URL: https://wpastra.com/about/
    Child Theme: ?
    Parent Theme Name: Astra
    Parent Theme Version: 3.7.9
    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/wp_s579c6/mybiblioteka.com/wp-content/plugins/fast-woocredit-pro/includes/woocommerce/checkout/thankyou.php
    /home/wp_s579c6/mybiblioteka.com/wp-content/plugins/fast-woocredit-pro/includes/woocommerce/emails/email-order-details.php
    /home/wp_s579c6/mybiblioteka.com/wp-content/plugins/fast-woocredit-pro/includes/woocommerce/emails/email-order-items.php
    /home/wp_s579c6/mybiblioteka.com/wp-content/plugins/fast-woocredit-pro/includes/woocommerce/myaccount/orders.php
    /home/wp_s579c6/mybiblioteka.com/wp-content/plugins/fast-woocredit-pro/includes/woocommerce/order/order-details-item.php
    /home/wp_s579c6/mybiblioteka.com/wp-content/plugins/fast-woocredit-pro/includes/woocommerce/order/order-details.php
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ?
    Shop country code: US
    WooCommerce currency supported: ?
    PayPal card processing available in country: ?
    Pay Later messaging available in country: ?
    Webhook status: –
    Vault enabled: ?
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    
    ### WooCommerce Payments ###
    
    Version: 3.9.3
    Connected to WPCOM: Yes
    Blog ID: 203753291
    Account ID: acct_1Kbd8m2EBnoJD9mD
    
    ### Action Scheduler ###
    
    Complete: 767
    Oldest: 2022-03-20 20:51:47 -0400
    Newest: 2022-04-07 20:28:51 -0400
    
    Failed: 3
    Oldest: –
    Newest: –
    
    Pending: 8
    Oldest: -0001-11-29 19:03:58 -0456
    Newest: 2022-04-12 13:25:19 -0400
    
    ### Status report information ###
    
    Generated at: 2022-04-07 20:44:00 -04:00
    
    • This reply was modified 2 years, 7 months ago by jlstysis.
    • This reply was modified 2 years, 7 months ago by jlstysis.
    Plugin Support Kaushik S. a11n

    (@kaushiksomaiya)

    Hi there!

    Thanks for the additional information!

    You could try the CSS code below:

    
    .woocommerce table.shop_attributes tr:nth-child(2n) td, .woocommerce table.shop_attributes tr:nth-child(2n) th {
      background: transparent !important;
    }
    
    .woocommerce table.shop_attributes td, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes{
    	border: 0 !important;
    }
    
    .woocommerce table.shop_attributes td, .woocommerce div.product .woocommerce-tabs .shop_attributes th{
    	padding: 3px 6px !important;
    }
    

    Please feel free to adjust the padding values for spacing. ??

    I hope this helps!

    Thread Starter jlstysis

    (@jlstysis)

    Works beautifully! THANK YOU SO MUCH FOR YOUR HELP!!!!!!
    I also added the following:
    .woocommerce table.shop_attributes th {text-align: right; !important;}

    • This reply was modified 2 years, 7 months ago by jlstysis.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product Attributes Table Formatting’ is closed to new replies.