• Resolved threeonesix

    (@threeonesix)


    I’ve spent a lifetime trying to figure out how to disable the main product image showing on individual product pages. It’s the VERY LARGE image right underneath the product title that I am talking about, not the “featured” product image and image gallery. I’ve found 800 ways to disable the featured image but not one that disables or hides the “main” product image. To see what I am talking about please see http://70.168.143.67:9240/private/woocommerce_remove_product_image.png. The image I want to get rid of is the one with the red ‘X’.

    System status report:

    
    ### WordPress Environment ###
    
    Home URL: http://70.168.143.67:9240
    Site URL: http://70.168.143.67:9240
    WC Version: 3.4.4
    Log Directory Writable: ✔
    WP Version: 4.9.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Microsoft-IIS/10.0
    PHP Version: 7.1.10 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.55.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.21-log
    Max Upload Size: 20 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.4.4
    WC Database Prefix: gpa_
    MaxMind GeoIP Database: ✔
    Total Database Size: 24.02MB
    Database Data Size: 13.02MB
    Database Index Size: 11.00MB
    gpa_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB
    gpa_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    gpa_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    gpa_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    gpa_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    gpa_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    gpa_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    gpa_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    gpa_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    gpa_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    gpa_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    gpa_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    gpa_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    gpa_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    gpa_auction_bids: Data: 0.02MB + Index: 0.11MB
    gpa_commentmeta: Data: 0.00MB + Index: 0.01MB
    gpa_comments: Data: 0.01MB + Index: 0.01MB
    gpa_download_log: Data: 0.14MB + Index: 0.02MB
    gpa_esign_documents: Data: 0.25MB + Index: 0.00MB
    gpa_esign_documents_events: Data: 0.02MB + Index: 0.00MB
    gpa_esign_documents_fields_data: Data: 0.02MB + Index: 0.00MB
    gpa_esign_documents_meta: Data: 0.02MB + Index: 0.00MB
    gpa_esign_documents_signatures: Data: 0.02MB + Index: 0.00MB
    gpa_esign_documents_signer_field_data: Data: 0.02MB + Index: 0.00MB
    gpa_esign_documents_stand_alone_docs: Data: 0.02MB + Index: 0.00MB
    gpa_esign_document_users: Data: 0.02MB + Index: 0.00MB
    gpa_esign_invitations: Data: 0.02MB + Index: 0.00MB
    gpa_esign_settings: Data: 0.06MB + Index: 0.00MB
    gpa_esign_signatures: Data: 0.16MB + Index: 0.00MB
    gpa_esign_users: Data: 0.02MB + Index: 0.00MB
    gpa_ewwwio_images: Data: 0.37MB + Index: 0.26MB
    gpa_gf_addon_feed: Data: 0.02MB + Index: 0.02MB
    gpa_gf_addon_payment_callback: Data: 0.02MB + Index: 0.02MB
    gpa_gf_addon_payment_transaction: Data: 0.02MB + Index: 0.05MB
    gpa_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB
    gpa_gf_entry: Data: 0.30MB + Index: 0.06MB
    gpa_gf_entry_meta: Data: 1.52MB + Index: 4.55MB
    gpa_gf_entry_notes: Data: 0.02MB + Index: 0.03MB
    gpa_gf_form: Data: 0.02MB + Index: 0.00MB
    gpa_gf_form_meta: Data: 1.52MB + Index: 0.00MB
    gpa_gf_form_view: Data: 0.20MB + Index: 0.16MB
    gpa_links: Data: 0.00MB + Index: 0.00MB
    gpa_options: Data: 1.10MB + Index: 0.08MB
    gpa_postmeta: Data: 0.99MB + Index: 0.39MB
    gpa_posts: Data: 1.66MB + Index: 0.16MB
    gpa_redirection_404: Data: 0.02MB + Index: 0.06MB
    gpa_redirection_groups: Data: 0.02MB + Index: 0.03MB
    gpa_redirection_items: Data: 0.02MB + Index: 0.08MB
    gpa_redirection_logs: Data: 0.02MB + Index: 0.08MB
    gpa_rg_form: Data: 0.02MB + Index: 0.00MB
    gpa_rg_form_meta: Data: 1.52MB + Index: 0.00MB
    gpa_rg_form_view: Data: 0.20MB + Index: 0.16MB
    gpa_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB
    gpa_rg_lead: Data: 0.30MB + Index: 0.06MB
    gpa_rg_lead_detail: Data: 1.52MB + Index: 3.83MB
    gpa_rg_lead_detail_long: Data: 0.02MB + Index: 0.00MB
    gpa_rg_lead_meta: Data: 0.16MB + Index: 0.11MB
    gpa_rg_lead_notes: Data: 0.02MB + Index: 0.03MB
    gpa_rg_stripe: Data: 0.02MB + Index: 0.00MB
    gpa_rg_stripe_transaction: Data: 0.02MB + Index: 0.06MB
    gpa_termmeta: Data: 0.02MB + Index: 0.03MB
    gpa_terms: Data: 0.00MB + Index: 0.01MB
    gpa_term_relationships: Data: 0.02MB + Index: 0.04MB
    gpa_term_taxonomy: Data: 0.01MB + Index: 0.01MB
    gpa_usermeta: Data: 0.05MB + Index: 0.02MB
    gpa_users: Data: 0.00MB + Index: 0.01MB
    gpa_wc_download_log: Data: 0.02MB + Index: 0.03MB
    gpa_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    gpa_wplc_chat_msgs: Data: 0.02MB + Index: 0.00MB
    gpa_wplc_chat_ratings: Data: 0.02MB + Index: 0.00MB
    gpa_wplc_chat_sessions: Data: 0.02MB + Index: 0.00MB
    gpa_wplc_offline_messages: Data: 0.02MB + Index: 0.00MB
    gpa_wplc_webhooks: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 370
    customize_changeset: 5
    custom_css: 1
    dlm_download: 3
    dlm_download_version: 3
    jetpack_migration: 2
    jp_img_sitemap: 1
    jp_sitemap: 1
    jp_sitemap_master: 1
    nav_menu_item: 26
    page: 68
    popup: 1
    popup_theme: 6
    post: 42
    product: 5
    product_variation: 6
    revision: 621
    tablepress_table: 1
    tribe_events: 60
    tribe_organizer: 13
    tribe_venue: 58
    wpcf7_contact_form: 1
    wpephpcompat_jobs: 16
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (34) ###
    
    Gravity Forms: by rocketgenius – 2.3.2
    Advanced Custom Fields: Repeater Field: by Elliot Condon – 2.0.1
    Advanced Custom Fields: by Elliot Condon – 4.4.12
    Advanced Post Manager: by Modern Tribe
    Inc. – 4.4
    
    Akismet Anti-Spam: by Automattic – 4.0.8
    Call Now Button: by Jerry Rietveld – 0.3.1
    Custom CSS Manager: by MyWebsiteAdvisor – 1.5.2
    Disable Gravity Forms Fields: by Ren Ventura – 1.3.1
    Download Monitor: by Never5 – 4.1.0
    EWWW Image Optimizer: by Shane Bishop – 4.2.2
    Gravity Forms CSS Ready Class Selector: by Brad Vincent – 1.1
    Gravity Forms Data Persistence Add-On Reloaded: by Robert Iseley – 3.3.1
    Gravity Forms Multi-Page Notifications: by Travis Lopes – 1.0
    Gravity PDF: by Gravity PDF – 4.4.0
    Gravity Forms + Stripe: by gravity+ – 1.9.2.11
    Gravity Forms Toolbar: by David Decker - DECKERWEB / Milan Petrovic - Dev4Press – 1.7.0
    Gravity Forms Authorize.Net Add-On: by rocketgenius – 2.6
    Gravity Forms PayPal Standard Add-On: by rocketgenius – 3.1
    IgniteWoo Updater: by IgniteWoo.com – 2.1.11
    Jetpack by WordPress.com: by Automattic – 6.2.1
    PHP Compatibility Checker: by WP Engine – 1.4.5
    Popup Maker: by WP Popup Maker – 1.7.29
    Post Duplicator: by Metaphor Creations – 2.20
    Redirection: by John Godley – 3.3.1
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.0.2
    Semalt Redirect Manager: by Alex Moss – 1.1.3
    SEO Ultimate: by SEO Design Solutions – 7.6.5.9
    Simple Image Sizes: by Rahe – 3.2.0
    TablePress: by Tobias Bäthge – 1.9
    The Events Calendar: by Modern Tribe
    Inc. – 4.6.19
    
    TinyMCE Advanced: by Andrew Ozz – 4.7.11
    WooCommerce Auctions Pro: by IgniteWoo.com – 3.1.20 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.4.4
    WP Live Chat Support: by WP-LiveChat – 8.0.13
    
    ### 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)
    ignitewoo_auction (ignitewoo_auction)
    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)
    
    ### WC Pages ###
    
    Shop base: #8174 - /shop/
    Cart: #8175 - /cart/
    Checkout: #8176 - /checkout/
    My account: #8177 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: GPA
    Version: 1.0
    Author URL: 
    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: ❌ Not declared
    
    ### Templates ###
    
    Overrides: –
    

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Rynald0s.a11n

    (@rynald0s)

    Automattic Happiness Engineer

    Hi, @threeonesix!

    See if the following CSS code helps:

    .news .featuredimg {
    display: none;
    }

    You can add this CSS to the “Additional CSS” section found in your customizer

    Cheers!

    Thread Starter threeonesix

    (@threeonesix)

    Thank you, that works. Unfortunately it also has the side effect of removing the main images from blog posts elsewhere on the site. Do you know if there is a way to disable those images *only* for WooCommerce (to leave them in place elsewhere on the site)? If that isn’t possible it’s not a big deal, I can live with blog post main images not showing because there are ways around that.

    Again, thank you!

    Try making the selector more specific, so:

    .single-product .news .featuredimg {
      display: none;
    }
    Thread Starter threeonesix

    (@threeonesix)

    Winner winner chicken dinner! Thanks, @rynald0s and @lorro! This code removes the featured image from WooCommerce products but leaves the blog featured images in place:

    .single-product .featuredimg {
    display: none;
    }

    Hopefully that will help someone in the future.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove huge main product image’ is closed to new replies.