• Resolved thebeardedguy

    (@thebeardedguy)


    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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author shazdeh

    (@shazdeh)

    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;
    }
    

    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

    (@shazdeh)

    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://www.ads-software.com/plugins/widgets-reloaded/ or https://www.ads-software.com/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.