Home Forums Free Themes Clean Commerce goods grid in the CLEAN COMMERCE theme

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42413
    Gluka
    Participant

    Good day! Tell me how to align grid items in the CLEAN COMMERCE theme

      vash-komplekt.ru
    #42414
    wensolutions
    Keymaster

    Hello @gluka,

    As far as we have checked the theme locally it is working absolutely fine as you can see in below screen shot:
    http://image.prntscr.com/image/38770cd2672f4880ac88e2a8368e9058.png

    So please once verify whether you have changed the original code in the theme to display the column or not ? If you have then please do not make the modification directly in your original theme as the original modification will be lost .

    For the fix you need to activate the child theme . After activating the child theme in your child themes functions.php file paste below given code .

    function loop_columns(){
      return 3;
    }
    
    add_filter( 'loop_shop_columns', 'loop_columns', 30 );

    Hope this helps.

    Best Regards!!

    #42416
    Gluka
    Participant

    How to activate a child theme?

    #42521
    wensolutions
    Keymaster

    Hello @gluka,

    You can simply create and activate the child theme manually by taking the references from the link below :
    https://codex.wordpress.org/Child_Themes

    You can also create the child theme by using plugin and below is the link to one of them.
    https://wordpress.org/plugins/wp-child-theme-generator/

    Then after creating the child theme in your child theme functions.php file paste the given code .

    Hope this helps.

    If you have any confusion further please let us know.

    Best Regards!!

    #42526
    Gluka
    Participant

    Thank you, I already did it.
    everything worked out.

    #42534
    wensolutions
    Keymaster

    Hello @gluka,

    Nice to know that your issue is solved .

    If you have any issue further, please let us know .

    Best Regards!!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.