- This topic has 5 replies, 2 voices, and was last updated 7 years, 4 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › Clean Commerce › goods grid in the CLEAN COMMERCE theme
Tagged: clean commerce
Good day! Tell me how to align grid items in the CLEAN COMMERCE theme
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!!
How to activate a child theme?
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!!
Thank you, I already did it.
everything worked out.
Hello @gluka,
Nice to know that your issue is solved .
If you have any issue further, please let us know .
Best Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |