Title: Display problem
Last modified: May 14, 2020

---

# Display problem

 *  Resolved [thebeardedguy](https://wordpress.org/support/users/thebeardedguy/)
 * (@thebeardedguy)
 * [6 years ago](https://wordpress.org/support/topic/display-problem-45/)
 * I made a widget of product category and put it on the shop page. The category
   are being listed one below the other. I want to show them next to each other 
   and I added the following css but it is still now working. Please advice-
 *     ```
       #woocommerce_product_categories-5 {
           width: 100%;
           background-color: #f0edee;
           display: inline-block;
           list-style-type: none;
           float: left;
       }
       ```
   
 * Img- ﻿﻿﻿﻿﻿https://www.dropbox.com/s/rw3xm6x62rqftaj/Screenshot%202020-05-14%2018.24.23.
   png?dl=0
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdisplay-problem-45%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [shazdeh](https://wordpress.org/support/users/shazdeh/)
 * (@shazdeh)
 * [6 years ago](https://wordpress.org/support/topic/display-problem-45/#post-12835940)
 * This is more related to your theme than this plugin; nonetheless, you could use:
 *     ```
       .product-categories {
           text-align: center;
       }
       .product-categories li {
           display: inline-block;
           margin: 0 10px;
       }
       ```
   
 *  [unipew](https://wordpress.org/support/users/unipew/)
 * (@unipew)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/display-problem-45/#post-12948523)
 * Let me try this the best I can. I have 6 categories and I would like to have 
   them displayed on my home page not just my navigation bar. The following is the
   widget [/] shortcode: [product_categories limit=”6″ columns=”3″ orderby=”menu_order”].
 * The issue is that I only want parent categories displayed. Unfortunately the 
   code counts down on my menu six categories and that includes subcategories. I
   have not been able to move my parent cat. with out the subcat. moving with the
   parent. I thought there might be a way to count parent cat. and skip over the
   subcategories.
 * I hope I explained well enough.
 *  Plugin Author [shazdeh](https://wordpress.org/support/users/shazdeh/)
 * (@shazdeh)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/display-problem-45/#post-12951878)
 * This is also not related to this plugin. “What” the widgets display is entirely
   in the control of the widget itself. I’d recommend taking a look at [https://wordpress.org/plugins/widgets-reloaded/](https://wordpress.org/plugins/widgets-reloaded/)
   or [https://wordpress.org/plugins/wp-advanced-categories-widget/](https://wordpress.org/plugins/wp-advanced-categories-widget/)
   or similar plugins.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Display problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-shortcode.svg)
 * [Widget Shortcode](https://wordpress.org/plugins/widget-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/widget-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-shortcode/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [shazdeh](https://wordpress.org/support/users/shazdeh/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/display-problem-45/#post-12951878)
 * Status: resolved