Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Woocommerce Category Page Breaks when new product added

woocommerce
    • 5 years, 2 months ago kentsmythe
      Participant

      Expired

      I’m using the Specular theme and WooCommerce. I recently updated both to the latest versions. Then I added 5 new products to one category. This broke the display of products on the category page by taking it from 3 products per row to 2; but two products left aligned, then the next row has 2 right aligned. If I switch to 2019 theme it displays correctly. It doesn’t seem to matter which category it is, or how many products are in the category. If I add a new product, any category I assign it to will break. I can’t figure out why this is happening. Any suggestions are appreciated.

    • 5 years, 2 months ago Ludjon
      Keymaster

      Hi,

      Sorry, but I can’t help you without sharing a link or a screenshot. Also, give WP credentials so we will fix it directly.

      Thanks

    • 5 years, 2 months ago kentsmythe
      Participant

      Expired

      This reply has been marked as private.
    • 5 years, 2 months ago Ludjon
      Keymaster

      Hi,

      try to add this code on functions.php

      add_filter('loop_shop_columns', 'codeless_custom_loop_columns', 999);
      if (!function_exists('codeless_custom_loop_columns')) {
      	function codeless_custom_loop_columns() {
      		return 3; // 3 products per row
      	}
      }
      

      Thanks

    • 5 years, 2 months ago kentsmythe
      Participant

      Expired

      This works on the category pages but also changes my shop page. On the shop page I want 4 products per row as I don’t have a sidebar on the shop page. Can I keep 4 products/row on the shop page and do 3 per row on the category pages?

    • 5 years, 2 months ago Eldo
      Keymaster
      This reply has been marked as private.
Viewing 5 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password