TigriWeb

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 61 total)
  • Author
    Posts
  • in reply to: Product buttom #269
    TigriWeb
    Keymaster

    To remove related products, you need to add the following code to functions.php via FTP:
    remove_action( 'kampina_content_after', 'kampina_woocommerce_output_related_products', 10 );

    Alternatively, you can hide them using the following CSS, which you can add via
    Appearance → Customize → Additional CSS:

    .single-product .product .entry-summary + .product_tab-title,
    .single-product .related-products {
    	display: none;
    }

    Best regards,
    TigriWeb Team

    in reply to: Product buttom #267
    TigriWeb
    Keymaster

    I can’t log in to your website: https://prnt.sc/d6zWHCiU-3Rg.

    Perhaps you have other IP addresses blocked.

    Best regards,
    TigriWeb Team

    in reply to: Product buttom #265
    TigriWeb
    Keymaster

    I can’t log in to your website.

    What URL do you use for login? /wp-admin shows “Not acceptable” error.

    Best regards,
    TigriWeb Team

    in reply to: Product buttom #263
    TigriWeb
    Keymaster

    What URL do you use for login? /wp-admin shows “Not acceptable” error.

    Best regards,
    TigriWeb Team

    in reply to: Product buttom #261
    TigriWeb
    Keymaster

    Could you create a user “administrator” and send access to the admin panel to the email – tw-dev@tigriweb.dev ?

    Best regards,
    TigriWeb Team

    in reply to: Product buttom #259
    TigriWeb
    Keymaster

    If you only need to translate the button text, you can use the Loco Translate plugin by following the guide below:
    How to translate themes and plugins using Loco Translate

    Best Regards,
    TigriWeb Team

    in reply to: Product buttom #256
    TigriWeb
    Keymaster

    Hi Gisele,

    We use the woocommerce_loop_add_to_cart_link hook to modify the button. You can add the following function to functions.php, and it will override ours, because we wrap it with:
    if ( ! function_exists( 'kampina_woocommerce_loop_add_to_cart_link' ) ) :

    /**
     * Function for <code>woocommerce_loop_add_to_cart_link</code> filter-hook.
     *
     * @param string $html
     * @param object $product
     * @param array  $args
     *
     * @return string
     */
    function kampina_woocommerce_loop_add_to_cart_link( $html, $product, $args ) {
    	$button_text = $product->add_to_cart_text();
    	$svg_icons   = '<svg class="icon-arrow" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
    		<path d="M15.691,8.703l-4,4c-0.375,0.406-1.031,0.406-1.406,0c-0.406-0.375-0.406-1.031,0-1.406l2.281-2.312H1.004c-0.562,0-1-0.438-1-1c0-0.594,0.438-1,1-1h11.563l-2.281-2.281c-0.406-0.375-0.406-1.031,0-1.406c0.375-0.406,1.031-0.406,1.406,0l4,4C16.098,7.672,16.098,8.328,15.691,8.703z" fill="currentColor"/>
    	</svg>';
    
    	switch ( $product->get_type() ) {
    		case 'simple':
    			$svg_icons .= '<svg class="icon-load" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
    				<path d="M3,8c0-0.828-0.672-1.5-1.5-1.5S0,7.172,0,8s0.672,1.5,1.5,1.5S3,8.828,3,8z M3.403,1.903c-0.828,0-1.5,0.672-1.5,1.5s0.672,1.501,1.5,1.501s1.5-0.672,1.5-1.5S4.231,1.903,3.403,1.903z M3.403,11.097c-0.828,0-1.5,0.672-1.5,1.5s0.672,1.5,1.5,1.5s1.5-0.672,1.5-1.5S4.231,11.097,3.403,11.097z M8,13c-0.828,0-1.5,0.672-1.5,1.5S7.172,16,8,16s1.5-0.672,1.5-1.5S8.828,13,8,13z M14.5,6.5C13.672,6.5,13,7.172,13,8s0.672,1.5,1.5,1.5S16,8.828,16,8S15.328,6.5,14.5,6.5z M12.597,11.097c-0.828,0-1.5,0.672-1.5,1.5s0.672,1.5,1.5,1.5s1.5-0.672,1.5-1.5S13.425,11.097,12.597,11.097z M8,0C7.172,0,6.5,0.672,6.5,1.5S7.172,3,8,3s1.5-0.672,1.5-1.5S8.828,0,8,0z" fill="currentColor"/>
    			</svg>';
    			$svg_icons .= '<svg class="icon-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
    				<path d="M5.033,13.986L5.033,13.986c-0.267-0.001-0.526-0.103-0.715-0.292L0.295,9.671c-0.393-0.393-0.393-1.029,0-1.422c0.393-0.393,1.029-0.393,1.422,0l3.312,3.313l9.254-9.253c0.393-0.393,1.029-0.393,1.422,0c0.393,0.393,0.393,1.029,0,1.422l-9.958,9.957C5.559,13.876,5.299,13.986,5.033,13.986z" fill="currentColor"/>
    			</svg>';
    			break;
    
    		case 'variable':
    			$button_text = apply_filters( 'woocommerce_product_add_to_cart_text', $product->is_purchasable() ? __( 'Check Availability', 'kampina' ) : __( 'Read more', 'kampina' ), $product );
    			break;
    	}
    
    	$html = sprintf(
    		'<a href="%s" data-quantity="%s" class="%s" %s>%s%s</a>',
    		esc_url( $product->add_to_cart_url() ),
    		esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ),
    		esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ),
    		isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '',
    		esc_html( $button_text ),
    		wp_kses( $svg_icons, 'kampina-svg' )
    	);
    
    	return $html;
    }

    Best Regards,
    TigriWeb Team

    in reply to: Review comments #254
    TigriWeb
    Keymaster

    Hi Gisele,

    You can completely disable product reviews in WooCommerce here:
    https://prnt.sc/cVrQ5ObCAtH1

    Best Regards,
    TigriWeb Team

    in reply to: Review comments #252
    TigriWeb
    Keymaster

    Hi Gisele,

    to delete Reviews in product go to Product → Reviews – there will be list all of the product reviews easy to delete.

    to delete Comments in the Dashboard go to Comments – there will be also list of all of the comments
    Select them and move to Trash
    https://prnt.sc/-Dkjdkmg-Iew

    in reply to: search icon and cart icon #250
    TigriWeb
    Keymaster

    Hi Gisele,

    The Kampina theme does not have such an option, but you can hide these buttons using the following CSS code, which you can add here: Appearance → Customize → Additional CSS.

    .site__header__button--search,
    .site__header__button--cart {
    	display: none !important;
    }
    
    @media (min-width:992px) {
      .site__header__button__list {
        display: none
      }
    }

    Best Regards,
    TigriWeb Team

    in reply to: Regarding the Kampina website theme #248
    TigriWeb
    Keymaster

    Hi Ken,

    You can fix this by adding the following CSS code under Appearance → Customize → Additional CSS:

    .site__header {
    	position: sticky !important;
    	top: var(--wp-admin--admin-bar--height, 0px);
    }
    .site__header__sticky-area {
    	background-color: var(--kampina--color--header-bg) !important;
    }
    
    .header-is-fixed .site__header__content::after {
    	content: none;
    }
    @media screen and (max-width:600px) {
    	#wpadminbar {
    		position: fixed;
    	}
    }

    This will make the header sticky on all pages as well.

    Best regards,
    TigriWeb Team

    in reply to: Regarding the Kampina website theme Archive Types>Category #246
    TigriWeb
    Keymaster

    Hi Ken,

    From your description, it sounds like the blue border lines are part of the post item styling used in the Category archive layout provided by the theme, not a specific Category setting.

    At the moment, there is no separate option in the Category settings to control post borders individually. These borders are defined via CSS.

    All custom style adjustments in WordPress can be added globally via:
    Appearance → Customize → Additional CSS

    For example, if the border comes from the post card component, it can typically be hidden with a CSS rule similar to:

    .query-post__wrap .query-post__thumbnail a::after {
    	border-color: rgba(0, 51, 255, 0.2);
    }
    .query-post__wrap .query-post__content::before {
    	background-color: rgba(0, 51, 255, 0.2);
    }
    .query-post__wrap .query-post__content::after {
    	background-color: rgba(0, 51, 255, 0.2);
    }

    I do not know the exact color value used on your site, so I used a random blue color as an example. If you want to completely hide these lines, you can simply replace the color value with transparent.

    Best regards,
    TigriWeb Team

    in reply to: Regarding the Kampina website theme footer #243
    TigriWeb
    Keymaster

    Hi Ken,

    Thank you for your question.

    In the current Kampina theme structure, the footer consists of these rows:

    • Footer Top
    • Footer Columns 1–4 (a row with four predefined widget areas)
    • Footer Bottom

    The theme provides four dedicated footer columns by default, and this number cannot be extended to six through the theme settings.

    However, you can still create a six-section footer layout:
    You may add six separate widgets in the Footer Top area, remove all content from Footer Columns 1–4, and apply a small amount of custom CSS to display those six widgets as six columns. This approach allows you to achieve the layout you described without modifying the theme’s core structure.

    Best regards,
    TigriWeb Team

    in reply to: Kampina theme homepage “Transparent Header” option #241
    TigriWeb
    Keymaster

    Hi Ken,

    You can fix this issue by adding the following CSS code under Appearance → Customize → Additional CSS:

    .home .site__header {
    	margin-bottom: 0;
    }

    If you need this change for the header on all pages, not just the homepage, then use this code instead:

    .site__header {
        margin-bottom: 0;
    }

    Best regards,
    TigriWeb Team

    TigriWeb
    Keymaster

    Hi Ken,

    Thank you for your message.
    You can fix this issue by adding the following CSS code under Appearance → Customize → Additional CSS:

    @media screen and (max-width: 991px) {
    	.site__header,
    	.site__header__sticky-area {
    		position: sticky;
    		top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--kampina--announcement-bar--height, 0px) );
    	}
    }
    @media screen and (max-width: 600px) {
    	.site__header,
    	.site__header__sticky-area {
    		position: sticky;
    		top: calc(var(--kampina--announcement-bar--height, 0px) * -1);
    	}
    }

    This will make the header sticky on mobile devices as well.

    Best regards,
    TigriWeb Team

Viewing 15 posts - 1 through 15 (of 61 total)