Home Forums Etch shop with 5 columns

This topic contains 5 replies, has 2 voices, and was last updated by  Joshua 11 hours ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46422

    boavida.maria
    Participant

    hello,
    by default on demo i imported, my shop page has only 3 columns, but i would like it to have 4 or 5, where can i change this?
    thank you,
    maria boavida

    #46424

    Joshua
    Keymaster

    Woocommerce does not let you do this with a setting, but you can change it by adding the following to your child theme’s functions.php file:

    function etch_child_loop_columns() {
    	return 5;
    }
    add_filter('loop_shop_columns', 'etch_child_loop_columns');
    #46444

    boavida.maria
    Participant

    Hi joshua,
    thank you for such fast reply and for the info, however i’m not being able to make this change, due to my inexperience with wordpress;

    I placed the code on the functions.php file, but the site went down right away. I was able to put it back, but maybe this is because i don’t have the “child”-theme?

    I don’t know what this is or how this is created, is this an important thing to do?
    what are the consequences of not using a child theme?
    i saw the wordpress help that suggest we make one, if there are many functions to change, however when do i know those changes are being “too much”?

    thank you

    #46448

    Joshua
    Keymaster

    You should always make a child theme for edits like this regardless of how many.

    There is a child theme included with the package you download from ThemeForest under the “Developers” folder. Try uploading that and add the above code to its functions.php file.

    #46453

    boavida.maria
    Participant

    ah! Ok!
    i’ve upload the child theme and i placed the code on the functions.php, but nothing happened..
    i placed the code after what was already written there; should i make something different?

    i have another question regarding the shop:
    the shop is only one page, but i would like to make sub-pages were i can organize the products. I create a new page but how do i tell it that that page is as well a ahop, so the products should appear there?
    i alredy told the page her parent is the “shop”.

    thank you!

    #46454

    Joshua
    Keymaster

    Did you activate your child theme? If so, can you link to your site so I can take a look at the shop page?

    For separate shop pages, you might want to look into categories as an easy fix for what you’d like to do – http://chrislema.com/woocommerce-category-pages/

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

You must be logged in to reply to this topic.