Support » Plugin: WooCommerce » Product Category Shortcode displays horribly

  • Resolved rr2017

    (@rr2017)


    As you can see in the link, the product category shortcode displays really badly when used on a page. The products are not automatically resized to the store dimensions nor are any of the other store design attributes applied.

    I want this page to display just like the shop (please look at the link to the shop in the link above to see what I mean). I can’t just use the category page because I need more than one category.

    Does anybody know the code I can use to override my theme’s settings. The support for my premium theme has been horrible the last couple of weeks and I need to fix this now.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    the problem is that the css rules that are applied to the css classes are too specific.

    A example

    //would work for both products
    .product {
    	color: #fff;
    }
    
    //will only work for the first product because this also looks at .page-1
    .page-1 .product {
    	color: #fff;
    }
    
    <div class="page-1">
    	<div class="product">
    	</div>
    </div>
    
    <div class="page-2">
    	<div class="product">
    	</div>
    </div>

    so you have to adjust the output of the templates files or apply css more specifically by adding css yourself

    Beautiful! You are fantastic! Thank you so much!

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