Home Forums Search Search Results for 'css'

Viewing 10 results - 921 through 930 (of 3,138 total)
  • Author
    Search Results
  • #31081

    In reply to: Mobile Sticky Menu

    Ok i put this code in and when i refreshed site it only showed a white screen with nothing on it. site not loading.  when i take your code out, then site loads normally. This is what is in the functions.php file already before adding your code.

    <?php
    /**
    * Claue child theme functions.
    *
    * @since 1.0.0
    * @package Claue
    */

    /**
    * Enqueue style of child theme
    */
    function jas_claue_enqueue_script() {
    wp_enqueue_style( ‘jas-claue-parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘jas_claue_enqueue_script’ );

    add_action( ‘woocommerce_checkout_after_order_review’, ‘add_product_slider_after_checkout’ );
    function add_product_slider_after_checkout() {
    echo ‘<h2 class=”mt_30″>BEFORE YOU GO…</h2>’;
    echo do_shortcode( ‘[claue_addons_products limit=”20″ slider=”yes” items=”4″ columns=”4″ issc=”1″ arrows=”true” autoplay=”true” flip=”true” id=”” order=”DESC” orderby=”rand”]’ );
    }

    if( ! function_exists( ‘yith_wcan_exclude_category_terms’ ) ){
    function yith_wcan_exclude_category_terms( $terms ){
    $to_exclude = array( 982, 379, 419, 420, 423, 427, 424, 426, 422, 429, 421, 428, 512, 1000, 1004, 982 );

    return array_merge( $terms, $to_exclude );
    }
    }
    add_filter( ‘yith_wcan_exclude_category_terms’, ‘yith_wcan_exclude_category_terms’ );

    /**
    * Remove decimals from Product prices in WooCommerce
    * @author Dhiren Patel
    * @link http://www.dhirenpatel.me/remove-decimals-product-prices-woocommerce/
    */

    // Trim zeros in price decimals
    add_filter( ‘woocommerce_price_trim_zeros’, ‘__return_true’ );

    #31065

    In reply to: Mobile Sticky Menu

    no.  check https://bestfitbybrazl.com.  Sexyleggingsusa.com is test site. and on sexy leggings sticky is ENABLED in your theme.  but on mobile no logo shows on scroll.  on Bestfitbybrazil.com, sticky is DISABLED, but stick still works on desktop just not on mobile device but log is there.  i just need mobile to stick by css code.

    Hi Karen,

    Please add below css code

    .wcvendors-table .wp-post-image {min-width: 90px;}

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #31051

    In reply to: Mobile Sticky Menu

    I can’t remember if code was created for this feature.  However, the only thing i need from you is how to make the movie stick on scroll so it looks like the image i sent before this using css.  The upper red section of menu should just scroll away as it is doing now, and leave only the black menu.  Logo is already set up on the menu.  Just need to make it stick.

    Micky
    Support Expired
    • Could you please explain a bit more point 2 (your last message above), I tried to modify the code in the additional CSS field but nothing is changing, I have 3 check-out buttons on mobile all with different dimension and location, it looks very messy. Also on Desktop the buttons are not synched with each other.

     

    • The phone field in the check-out is not responding to the settings I am modifying, the phone field is set as required but still it shows as optional in the check-out menu. For some reason when I change this setting to required it does not change, other settings here work perfectly. It’s not related to shipping calculations as you mention above, but it is the field itself which does not reacts to the change in settings (have a try yourself)

    Thanks for your support.

    Best,
    Michael

     

    #31034
    xandy_so
    Support Expired

    Hello:

    2. Please add below code to Claue > Theme Option > General Layout > Custom CSS

    R: This part is ok! Thank you! If it is possible to set this part straight on the page it would be nice too!

    1. Please go to Loco > Themes > Claue > find string “No more items to show” and translate.
    R: Excuse me! I could not find that way! Could you specify better?

    If you can put that part in the translation file it would be very good!
    In Popup also I could not translate: “Do not show it anymore.”

    Attached to the translation pt_BR

    Attachments:
    You must be logged in to view attached files.
    #31033

    Hi,

    Please add below code to claue-child > functions.php

    /* move category description below products */
    add_action( 'wp_head', 'remove_my_action' ); 
    function remove_my_action(){
    	remove_action( 'woocommerce_before_main_content', 'jas_claue_wc_page_head', 15 );
    }
    
    function jas_claue_child_wc_page_head() {
    	if ( ! cs_get_option( 'wc-enable-page-title' ) || ( class_exists( 'WCV_Vendors' ) && WCV_Vendors::is_vendor_page() ) ) return;
    
    	$title = cs_get_option( 'wc-page-title' );
    
    	$output = '<div class="page-head pr tc"><div class="jas-container pr">';
    		if ( is_search() ) {
    			$output .= '<h1 class="mb__5 cw">' . sprintf(__( 'Search Results for: %s', 'claue' ), '<span>' . get_search_query() . '</span>' ) . '</h1>';
    		} elseif ( is_shop() ) {
    			$output .= '<h1 class="mb__5 cw">' . esc_html( cs_get_option( 'wc-page-title' ) ) . '</h1>';
    			$output .= '<p class="mg__0">' . do_shortcode( cs_get_option( 'wc-page-desc' ) ) . '</p>';
    		} else {
    			// Remove old position of category description
    			remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
    			$output .= '<h1 class="cw">' . single_cat_title( '', false ) . '</h1>';
    			//$output .= do_shortcode( category_description() );
    			add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 );
    			add_action( 'woocommerce_after_shop_loop', 'woocommerce_product_archive_description', 110 );
    			
    		}
    		ob_start();
    		$output .= ob_get_clean();
    	$output .= '</div></div>';
    
    	echo wp_kses_post( $output );
    }
    add_action( 'woocommerce_before_main_content', 'jas_claue_child_wc_page_head', 15 );

    and below code to claue-child > style.css

    .term-description {
    	display: block;
    	width: 100%;
    	max-width: 1170px;
    	margin: 30px auto;
    }

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #31032

    Hi Xandy_so,

    1. Please go to Loco > Themes > Claue > find string “No more items to show” and translate.

    2. Please add below code to Claue > Theme Option > General Layout > Custom CSS

    .woocommerce .page-description .vc_row {background-color: #e1ecef;}

    Could you please attach Portuguese on this topic, our team will include this for the next update.

    Thanks

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #31031

    In reply to: Blog Listing

    Hi Rahim,

    1. If you don’t add “Read More” to content it print content with limited characters not all the content http://prntscr.com/nlskyp

    2. Please add below code to Custom CSS

    @media only screen and (max-width: 736px) {
    .jas-single-blog .mt__60 {margin-top: 30px;}
    }

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #31023

    In reply to: Blog Listing

    Hi Harry,

    Yours is like mine. http://prntscr.com/nlohgv

    I checked my custom CSS, I didn’t add any code for this purpose.

    How can I reduce this space?

    Regards

    Rahim Vaziri
    CEO & Founder at Look.ir

Viewing 10 results - 921 through 930 (of 3,138 total)