Hi @johnnyxp64,
Kindly share us your site URL and name of the theme used in the site if it is free.
do you have any email where i can email you that information? i try to avoid putting my sites here for spam bots.
wt-woocommerce-related-products/woocommerce/single-product/related.php
line 87, i manually added a <center> html tag to sort this for now temporary. This is where the problem is. I would like a more permanent solution thought.
also the theme we use it Porto. paid not free. the relates products used to use the themes style now they are broken, with borders around them and arrows instead of dots. For some reason after the last update 6 days ago, or WC update the plugin style completely broke up and is ugly.
waiting for your reply.
regards
John
Hi @johnnyxp64,
Kindly try adding the below code snippet to your active theme’s functions.php
add_action('wp_footer', 'wt_crp_theme_compatibility');
function wt_crp_theme_compatibility() {
if(!class_exists('Custom_Related_Products'))
return;
?>
<script>
jQuery(function() {
jQuery(".wt-related-products").addClass("container");
jQuery(".wt-related-products h2").addClass("slider-title");
});
</script>
<?php
}
Let us know the results.
As for the border and arrow issues, please try disabling the slider option from our plugin settings.
hi
this makes it look a little better bust still is not using the theme style as it was before
i am sharing some screenshots how we want it to look exactly (how it was)
how it looks with the plugin + slider
and how with plugin + no slider. we like to have the option of slider but not this style!
take a look here please:
View post on imgur.com
in other words we want the plugin Functionality only not this new style after the update! we want our related products to be using your great plugin, because we have put a lot of effort in assigning related products already, but we wish to keep our theme style for unified look. It was working like that for 2 months until last week’s plugin’s upgrade, the theme upgrade and the WC upgrade! i have open tickets to all of them to see whos fault is it. so far all evidence point to the plugin “overwriting” the themes related products style :/
-
This reply was modified 4 years, 5 months ago by
johnnyxp64.
Hi @johnnyxp64,
Previously it was your theme’s own related product functionality working in the site that made our plugin practically ineffective.
Please try adding the code snippet here to your active theme’s functions.php
worked like a charm, kindly make this an option (checkbox) in your next update! is very handy!