XStore – remove "Product Information" heading from all single product pages

This topic has 3 replies, 2 voices, and was last updated 5 years ago ago by Rose Tyler

  • Avatar: themadguru
    Robert
    Participant
    April 15, 2019 at 02:11

    Hi

    I want to remove “Product Information” heading from all single product pages?

    I do not want this to be replaced by the Product title and I want the title to remain in the breadcrumbs. I just want to get rid of the Heading “Product Information”.

    I see in the theme file, single-product-content-booking.php this:

    <div class="col-md-5 product-information">
        <div class="product-information-inner">
            <?php if (  etheme_get_option('product_name_signle') ): ?>
                <h4 class="title"><?php esc_html_e('Product Information', 'xstore'); ?></h4>
            <?php else: ?>
                <?php woocommerce_template_single_title(); ?>
            <?php endif ?>

    I do not want to edit your XStore internal code, so would like a way to turn this heading off, please?

    Regards

    2 Answers
    Avatar: themadguru
    Robert
    Participant
    April 15, 2019 at 02:30

    Update… I think I’ve solved it using css. See my fix below:-

    /* Remove Product Information title on all product pages */
    .product-content .title, .product-content .product_title, .product-content .product-name {
        display: none;
    }
    
    /* Remove Product price on all product pages */
    .product-content .price {
        display: none;
    }

    Please let me know if this is OK to do this, or is there a better way? Also, if it’s OK, I hope this helps other people.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 15, 2019 at 07:31

    Hello,

    Sorry for the delay due to the weekends.
    Yes, your custom CSS code can be used to achieve the desired result. I would recommend replacing this part http://prntscr.com/nc1fap by

    .single-product .product-content .title {
        display:  none;
    }

    Regards

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘XStore – remove "Product Information" heading from all single product pages’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.