New Landing How can we help? Atelier Edit Filter on top of the page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #254500
    andreafabbri
    Member
    Post count: 13

    Hello,
    how can I do to change this section?

    #254510
    David Martin – Support
    Moderator
    Post count: 20834

    What are you looking to change?

    – David.

    #254512
    andreafabbri
    Member
    Post count: 13

    Remove the ability to change the type of display

    #254515
    David Martin – Support
    Moderator
    Post count: 20834

    Use this CSS:

    .shop-layout-opts {
        display: none;
    }

    Thanks.

    #254575
    andreafabbri
    Member
    Post count: 13

    Thanks, but from that page (of source code) i can change the bar?

    #254585
    David Martin – Support
    Moderator
    Post count: 20834

    If you want to change the output of those, you will need to activate your child theme – within the child theme functions.php add this and make your edits:

        /* SHOP LAYOUT OPTIONS
        ================================================== */
       	if ( ! function_exists( 'sf_shop_layout_opts' ) ) {
       	    function sf_shop_layout_opts() {
    
       	    	global $sf_options;
       	    	$product_multi_masonry = $sf_options['product_multi_masonry'];
       			$product_display_type = $sf_options['product_display_type'];
       			if (isset($_GET['product_display'])) {
       				$product_display_type = $_GET['product_display'];
    			}
       	    	if ( $product_multi_masonry || !sf_theme_supports('product-layout-opts') ) {
       	    		return;
       	    	}
    
       	    ?>
       	    	<div class="shop-layout-opts" data-display-type="<?php echo $product_display_type; ?>">
       	    		<a href="#" class="layout-opt" data-layout="standard" title="<?php _e("Standard Layout", "swiftframework"); ?>"><i class="sf-icon-atelier-shop-standard"></i></a>
       	    		<a href="#" class="layout-opt" data-layout="list" title="<?php _e("List Layout", "swiftframework"); ?>"><i class="sf-icon-atelier-shop-list"></i></a>
       	    		<a href="#" class="layout-opt" data-layout="grid" title="<?php _e("Grid Layout", "swiftframework"); ?>"><i class="sf-icon-atelier-shop-grid"></i></a>
       	    	</div>
       	    <?php }
        	add_action( 'woocommerce_before_shop_loop', 'sf_shop_layout_opts', 10 );
        }
Viewing 6 posts - 1 through 6 (of 6 total)

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

License required for one of the following items
Login and Registration Log in · Register