Tagged: x
-
AuthorPosts
-
September 21, 2016 at 1:12 pm #1185118
outfitarenaParticipantHi dear X team,
Can you please help me to change the text colors of the title, text and links within the product desciption area?
September 21, 2016 at 1:13 pm #1185119
outfitarenaParticipantThis reply has been marked as private.September 21, 2016 at 1:28 pm #1185160
Prasant RaiModeratorHello There,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.woocommerce div.product .woocommerce-tabs h2 { color: #000 !important; } .x-tab-content .x-tab-pane.fade.in.description_pane { color: #000 !important; } .x-tab-content .x-tab-pane.fade.in.description_pane a { color: #000 !important; }Please change color code as per your requirement.
Thanks.
September 22, 2016 at 12:10 pm #1186674
outfitarenaParticipantThis reply has been marked as private.September 22, 2016 at 12:33 pm #1186709
Prasant RaiModeratorHello There,
Thanks for writing in!
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.
add_filter( 'woocommerce_product_tabs', 'woo_custom_description_tab', 98 ); function woo_custom_description_tab( $tabs ) { $tabs['description']['callback'] = 'woo_custom_description_tab_content'; // Custom description callback return $tabs; } function woo_custom_description_tab_content() { echo '<h2>Outfit Description</h2>'; }Let us know how it goes.
Thanks.
September 23, 2016 at 5:26 am #1187754
outfitarenaParticipantThis reply has been marked as private.September 23, 2016 at 7:35 am #1187841
Paul RModeratorHi,
You can try this code instead.
add_filter( 'woocommerce_product_description_heading', 'change_product_description_heading' ); function change_product_description_heading() { return 'Outfit Description'; }Hope that helps.
September 23, 2016 at 10:34 am #1188019
outfitarenaParticipantPerfect, thank you guys!!!
September 23, 2016 at 10:51 am #1188041
RahulModeratorGlad we were able to help you out.
Let us know if we can help with anything else.
Thank you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1185118 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
