Tagged: x
-
AuthorPosts
-
September 15, 2016 at 5:25 am #1176365
outfitarenaParticipantHi X theme team,
CAn you please help with to remove the cart icon and rename the “read more” to “see more” and align it to the center of the button?
Thanks a lot in advance
September 15, 2016 at 5:25 am #1176367
outfitarenaParticipantThis reply has been marked as private.September 15, 2016 at 7:44 am #1176513
ChristianModeratorHey there,
I see that you’re not using a child theme. Changing the “Read more” text would require adding code to functions.php so if you put it in the parent X’s file, it will be lost when updating. Please backup everything especially exporting the Customizer settings then install the child theme. See https://community.theme.co/kb/how-to-setup-child-themes/.
Once done, please add the code below in your child theme’s functions.php
function change_text( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Read more' : $translated_text = __( 'See more', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'change_text', 20, 3 );For the icon, please add the code below in your Appearance > Customize > Custom > Global CSS
.woocommerce .button.product_type_simple:before, .woocommerce .button.single_add_to_cart_button:before { display: none; }Hope that helps. 🙂
September 15, 2016 at 9:15 am #1176655
outfitarenaParticipantThanks Christian but I still have few questions. I installed the child theme and now
1. Where do I find functions.php. Should I go to my hosting page’s file manager?
2. For the icon, I added the code to Global css, but nothing happened.September 15, 2016 at 9:25 am #1176672
outfitarenaParticipantOk, I found functions.php, added the code and everything is working but still can’t figure out the icon issue. WIth global css it doesn’t work
September 15, 2016 at 11:23 am #1176824
RupokMemberHi there,
I can’t see the code on your site and the code is correct :
.woocommerce .button.product_type_simple::before, .woocommerce .button.single_add_to_cart_button::before { display: none; }If you added this to Customzier then make sure your other codes are properly closed.
Cheers!
September 15, 2016 at 11:40 am #1176853
outfitarenaParticipantRight, now it works perfect. Thanks Rupok!!!
Cheers
September 15, 2016 at 12:35 pm #1176929
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1176365 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
