This topic has 6 replies, 3 voices, and was last updated 5 years, 1 months ago ago by Olga Barlow
Hello, I am trying to set the widgets to only display two items instead of the three they show by default – simply so it is less space. Is there an easy way to do this?
Thank you.
Hello,
Could you, please, provide URL and temporary wp-admin access?
Regards
in private content area
Hello,
You can add this code in Theme Options > Custom CSS:
.categories-products-two-rows .bottom-product {
display: none;
}
but this is not the best solution because hidden products are loaded on the page still.
Another solution is a bit more complicated – copy etheme_category_shortcode function from wp-content/plugins/et-core-plugin/inc/shortcodes/category.php file into your child-theme/functions.php and remove this part of code – http://prntscr.com/pf64h3
Regards
So, I made the change to the functions.php file but it did not seem to make a difference?
I copied that entire files contents and deleted the portion you show in the screenshot. – making sure this is what you meant?
Thank you.
Hello,
Your functions.php file of the child theme did not include any customized function. We have added the mentioned function and everything works as accepted.
Regards
You must be logged in to reply to this topic.Log in/Sign up