This topic has 9 replies, 3 voices, and was last updated 5 months, 1 weeks ago ago by Andrew Mitchell
Hi,
Please advise how to move the “size guide” link location on my product pages.
This is currently beneath my “shipping & delivery” description, I require to place this under the product description (dress/abaya) but above the “size & fit” title.
Thanks.
Hi @Ajaz,
Please try adding this custom code under functions.php file locates in your child theme:
function n2t_custom_js() {
?>
<script>
jQuery(document).ready(function($){
$('.single-product div.size-guide').insertBefore($('.single-product div.woocommerce-product-details__short-description > p:nth-child(2)'));
});
</script>
<?php
}
add_action( 'wp_footer', 'n2t_custom_js', 999 );
Best Regards,
8Theme’s Team
Hi,
I am not using the child theme, also, I am not sure where the “functions.php” file location is. Please advise exactly where to add the custom code.
Thanks.
Dear Ajaz,
We hope this message finds you well. To facilitate the insertion of custom codes without the use of a child theme, we recommend utilizing the following plugin: [Code Snippets](https://wordpress.org/plugins/code-snippets/).
Should you require any further assistance, please do not hesitate to reach out.
Best Regards,
The 8Theme Team
I have downloaded, installed, and activated the plugin, where do I enter the custom code?
Hi @Ajaz,
Please take a look at the documents of plugin: https://help.codesnippets.pro/en/.
Best Regards,
The 8Theme Team
You have provided the link to the FAQ page but I asked how do I add the code and where, my question shows that I clearly do not know how to add the code and where through the app you have advised to download and install.
This has has only complicated the matter for me, don’t you think it is simple to give me the steps showing where to go on the snippet app and add the code rather than being more technical and complicated?
I asked for your help, please keep it simple and provide the steps to add the code and resolve it.
Hi @Ajaz,
The provided custom code is in PHP language. So please put the custom code under PHP tab.
For more information, please check this video: https://www.youtube.com/watch?v=29jD2BcBX5w&ab_channel=FerdyKorpershoek.
Screenshots:
– https://ps.w.org/code-snippets/assets/screenshot-2.png?rev=2256244
– https://ps.w.org/code-snippets/assets/screenshot-3.png?rev=2256244
Hope it helps 🙂
Dear Ajaz,
In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?
Click here to share your thoughts: https://themeforest.net/downloads
Being part of our community means a lot, and your feedback contributes immensely.
Best Regards,
The 8Theme Team
The issue related to '‘Move the “size guide” link location on my product pages’' has been successfully resolved, and the topic is now closed for further responses