Title: DIfficulty with correct code
Last modified: June 14, 2020

---

# DIfficulty with correct code

 *  Resolved [gasbas74](https://wordpress.org/support/users/gasbas74/)
 * (@gasbas74)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/difficulty-with-correct-code/)
 * Hi,
 * I wouldn’t mind some documentation on how to implement.
    I saw some old topics
   and you answering to remove the double quotes to replace them with short codes.
   But which short codes exactly? Copying the short code as-is, doesn’t display 
   any of my defined cross sell products.

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/difficulty-with-correct-code/?output_format=md)
[1](https://wordpress.org/support/topic/difficulty-with-correct-code/?output_format=md)
2

 *  Plugin Author [logicfire](https://wordpress.org/support/users/logicfire/)
 * (@logicfire)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/difficulty-with-correct-code/page/2/#post-13010714)
 * Thanks!.. You can use not only 3 classes but as many classes you want using space
   in between like in the example shortcode.
 *  Thread Starter [gasbas74](https://wordpress.org/support/users/gasbas74/)
 * (@gasbas74)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/difficulty-with-correct-code/page/2/#post-13012454)
 * Yeah, unfortunately, any class I create is applied to a block of combined product
   as if they were one single image. All styles, even grid-based styles, consider
   the output of the shortcode as 1 element and position it as such…
 *  Thread Starter [gasbas74](https://wordpress.org/support/users/gasbas74/)
 * (@gasbas74)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/difficulty-with-correct-code/page/2/#post-13012665)
 * i.e.
 * display:grid;
    grid-template-columns:repeat(auto-fill,auto); grid-gap:10px
 *  Plugin Author [logicfire](https://wordpress.org/support/users/logicfire/)
 * (@logicfire)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/difficulty-with-correct-code/page/2/#post-13014928)
 * Class will be applied to the main container of the products.
    You can style inner
   products based on that class.

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/difficulty-with-correct-code/?output_format=md)
[1](https://wordpress.org/support/topic/difficulty-with-correct-code/?output_format=md)
2

The topic ‘DIfficulty with correct code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-cross-sell-products-display.
   svg)
 * [Cross Sell Products Slider For Woocommerce](https://wordpress.org/plugins/woocommerce-cross-sell-products-display/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-cross-sell-products-display/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-cross-sell-products-display/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-cross-sell-products-display/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-cross-sell-products-display/reviews/)

 * 19 replies
 * 2 participants
 * Last reply from: [logicfire](https://wordpress.org/support/users/logicfire/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/difficulty-with-correct-code/page/2/#post-13014928)
 * Status: resolved