• Resolved johnnyxp64

    (@johnnyxp64)


    after the latest wc and your update the related products all of the sudden instead of been in the center as it was before are on the left corner aligned!?

    what happened?

    wrong alignment

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @johnnyxp64,

    Kindly share us your site URL and name of the theme used in the site if it is free.

    Thread Starter johnnyxp64

    (@johnnyxp64)

    do you have any email where i can email you that information? i try to avoid putting my sites here for spam bots.

    Thread Starter johnnyxp64

    (@johnnyxp64)

    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.

    Thread Starter johnnyxp64

    (@johnnyxp64)

    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

    Plugin Author WebToffee

    (@webtoffee)

    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.

    Thread Starter johnnyxp64

    (@johnnyxp64)

    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 3 years, 3 months ago by johnnyxp64.
    Thread Starter johnnyxp64

    (@johnnyxp64)

    hi! any update on this?

    Plugin Author WebToffee

    (@webtoffee)

    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

    Thread Starter johnnyxp64

    (@johnnyxp64)

    worked like a charm, kindly make this an option (checkbox) in your next update! is very handy!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘after WC and related update alignment is wrong’ is closed to new replies.