Home Forums Basel support forum DISSABLE MOVE ANIMATION IN TABS BUTTONS – product page

DISSABLE MOVE ANIMATION IN TABS BUTTONS – product page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #46331

    eliparodi
    Participant

    Hi, in product page when i click in description or shipping, exits a movement animation, like a scroll that i want to disable,

    for example in this link http://ferrettiperu.com/product/holland-high-basin-single-hole-bathroom-faucet/

    #46335

    eliparodi
    Participant

    Hi, i want to add my account button in my header next to wishlist, button, i have differents headers in my page, so when i try to use the codes that i found in the comments sections in themeforest didnt work, can you help with this please

    #46358

    Artem Temos
    Keymaster

    Hello,

    By default WooCommerce and our theme don’t have such movement animation. Most likely, it is added by some of the installed plugins or custom JS coding.

    This header layout doesn’t have Login/Register link. But you can add it manually placing the following code snippet to the functions.php file in the child theme.

    add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 );
    
    function basel_custom_header_configuration() {
    
    		return array(
    			'container' => array(
    				'wrapp-header' => array(
    					'logo',
    					'main_nav',
    					'right-column' => array(
    						'header_links',
    						'search',
    						'wishlist',
    						'cart',
    						'mobile_icon',
    					)
    				)	
    			),
    		);
    }

    Kind Regards

    #46534

    eliparodi
    Participant

    Hi, i used your code but my second bar disappear, im using two header layouts, header with category menu in my home, and in the others simplified header

    #46557

    Artem Temos
    Keymaster

    In this case, could you please provide us your admin and FTP access so we can prepare a code snippet for you.

    #46585

    eliparodi
    Participant

    yes

    #46674

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to do this

    add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 );
    
    function basel_custom_header_configuration() {
    	
    	if ( is_front_page() ) {
    		return array(
    			'container' => array(
    				'wrapp-header' => array(
    					'logo',
    					'main_nav',
    					'right-column' => array(
    						'header_links',
    						'wishlist',
    						'cart',
    						'mobile_icon',
    					)
    				)	
    			),
    			'secondary-header' => array(
    				'container' => array(
    					'categories_menu',
    					'search_extended',
    				)
    			)
    		);
    	}
    	
    	return array(
    		'container' => array(
    			'wrapp-header' => array(
    				'logo',
    				'main_nav',
    				'right-column' => array(
    					'header_links',
    					'search',
    					'wishlist',
    					'cart',
    					'mobile_icon',
    				)
    			)	
    		),
    	);
    	
    }

    And this part to the custom CSS

    .right-column {
       width: 350px;
    }

    Regards

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