Remove e-Mail to a friend - by kw13 - on WordPress WooCommerce support

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

  • Avatar: kw13
    kw13
    Participant
    June 15, 2018 at 04:00

    I’d like to remove the ’email to a friend’ feature on product pages, I don’t see an option to turn this off. I’ve also tried this code in the Custom CSS and it didn’t work:

    .product-information .email-link {
    display: none;
    }

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 15, 2018 at 07:47

    Hello,

    This custom css code

    .product-information .email-link {
       display: none;
    }

    should work fine.
    Did you add the code in Custom css of Theme Options or in style.css file of child theme? Have you cleared cache before checking the effect of the code?

    Regards

    Avatar: kw13
    kw13
    Participant
    June 15, 2018 at 12:04

    I added it to the Global Custom CSS of the Theme Options and cleared the cache. Is it supposed to go in the style.css file instead?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 15, 2018 at 12:43

    If you added custom css code in Theme Options > Custom css, please note that from the 4.0 update, all the custom styles come not like inline CSS but as styles from separate file – dynamic.css (to speed up the site loading). If you created child theme before 4.0 update, you need to create the dynamic.css file in royal-child theme folder and set permissions 777 for the file + add wp_enqueue_style( 'dynamic-css', get_stylesheet_directory_uri() . '/dynamic.css' ); in royal-child/functions.php file. Then go to Theme Options and re-save them.
    Do not forget to clear cache before checking the result.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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