This topic has 4 replies, 2 voices, and was last updated 6 years, 5 months ago ago by Rose Tyler
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;
}
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
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?
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
You must be logged in to reply to this topic.Log in/Sign up