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

    Hi All,

    I hope somebody can help me out. Thanks for any help.
    1. I have a problem with the woocommerce shop base, i have read the other threads about it but dont get it.
    I choose under Layout to show only the Socket in the footer but there are 2 widgets that means it doesnt take effect to the shop base site i know that is because woocommerce doesnt recognize the theme css. How can i set the footer to the shop base and not the widgets?
    I have read in the forum that i have to create a new shop base but when i create a new page for shop base and put in the product grid there is the message that there are no products that match.

    2. Another Question is how can i change the size of the right sidebar on the shop site?

    best regards
    ts

    #203627

    Hi tsmedia!

    1) Replace this code in footer.php

    
    $the_id 				= avia_get_the_id(); //use avia get the id instead of default get id. prevents notice on 404 pages
    

    with

    
            if(is_shop()) $the_id = woocommerce_get_page_id( 'shop' );
    		if(empty($the_id)) $the_id = avia_get_the_id(); //use avia get the id instead of default get id. prevents notice on 404 pages
    
    

    and the option should work. We’ll fix this with the next update.

    2) In functions.php replace

    
    $avia_config['layout']['sidebar_right'] = array('content' => 'nine alpha',   'sidebar' => 'three alpha', 'meta' => 'two alpha', 'entry' => 'nine alpha');
    

    with

    
    $avia_config['layout']['sidebar_right'] = array('content' => 'nine alpha',   'sidebar' => 'three alpha', 'meta' => 'two alpha', 'entry' => 'nine alpha');
    
    if(is_shop()){
    $avia_config['layout']['sidebar_right'] = array('content' => 'eight alpha',   'sidebar' => 'four alpha', 'meta' => 'two alpha', 'entry' => 'eight alpha');
    }
    

    If necessary replace “eight” and “four” with other units. I.e. use “ten” instead of “eight” and “two” instead of “four” to decrease the sidebar size. Note that the value of the units must not exceed twelve. I.e. ten + three would break the layout.

    Best regards,
    Peter

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce Shop Base Styling’ is closed to new replies.