Resolved2 modifications requried

This topic contains 1 reply, has 2 voices, and was last updated by  Alex 6 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13384

    al-sirwan
    Participant

    Hi,

    I have bought this theme and have commented on the themeforest page.

    I am a developer, so I can add some code to get this removed if you can supply me with the correct code.

    I need to know the following :-

    1) How do you remove the loading animation of the products on the category page. I do not want the products to load with any animation at all.

    2) How do I remove the basket page from animating down, when you click the basket page. Currently I want to stop the basket from dropping down, when you click the basket icon.

    #13388

    Alex
    Keymaster

    Hi al-sirwan,

    Please make following changes in the child theme.

    1. Use the following CSS:

    div.prod_hold {
       opacity: 1 !important;
       transform: scale(1, 1) !important;
    }

    2. To achieve that, you need to override the function that outputs that link and will change the id so js function will not affect it.
    Paste following function in your child theme’s functions.php:

    function grosso_cart_link() {
    	if (is_cart()) {
    		$class = 'current-menu-item';
    	} else {
    		$class = '';
    	}
    	?>
    	<li class="<?php echo sanitize_html_class($class); ?>">
    		<a id="grosso_quick_cart_direct_link" class="cart-contents" href="<?php echo esc_url(wc_get_cart_url()); ?>" title="<?php esc_attr_e('View your shopping cart', 'grosso'); ?>">
    			<span class="count"><?php echo WC()->cart->get_cart_contents_count(); ?></span>
    		</a>
    	</li>
    	<?php
    }

    Regards,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 12277, followers 686
Login and Registration Log in · Register