Thanks for the quick response! You're right, I meant the theme's function.php file. This is what I pasted in:
// Change columns in product loop to 3
add_filter('loop_shop_columns', 'woostore_loop_columns');
function woostore_loop_columns() {
return 4;
}
I got that function from the theme-woocommerce.php file and changed "return 3" to return 4" because I wanted to display 4 products per row instead of 3.
In the meantime I managed to access the functions.php file via cPanel and delete the code I pasted in, and now everything is back to normal. Do you by any chance know another way to set the number of products per row? Thanks.