New Landing How can we help? Themeforest Theme Support Flexform Woocommerce Product Categories

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #10437
    Peter Slaughter
    Member
    Post count: 4

    I have used the built in Woocommerce Product Category Widget but I have noticed that the display is not showing the hierarchy indented correctly. So they all look like top level categories instead of top and sub categories. You will see in the screenshot that the A4 and other leaflets should show as subcategories of the leaflets category.

    I want to change the look of this as I don’t like the bordered effect that happens by default. Can you please advise the CSS that would be needed for that?

    Also, can the font size in the select drop downs and the label text be easily edits as these come across as big and clunky. I have attached a screenshot of this.

    Thanks

    Pete

    #10884
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Pete,

    That widget comes from Woocommerce, so the theme is not the one styling it. But it’s an easy thing to style – please link to that page and I’ll be glad to help out.

    For the select dropdowns, it’s not very easy, but do link to that page and I’ll try to see if it’s doable.

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #10981
    Peter Slaughter
    Member
    Post count: 4
    This reply has been marked as private.
    #11168
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hmmm, I take that back. It’s not easy, because that Woocommerce widget is not generating HTML code for what you need. What I mean by that, is that the subcategory items are not nested lists inside a parent list item.

    So you will need to know the category ID for the list items you want to shift to the right. You can use any browser code inspection tool, I used Firebug. You can also go to your product categories and hover the category name – the status bar in your browser will show you the ID for that category.

    Here’s how you can shift those A4-6 leaflets:

    .widget_product_categories .cat-item-45, .widget_product_categories .cat-item-46, .widget_product_categories .cat-item-51 {
        padding-left: 15px;
    }

    And here’s some code for the product variations select dropdown:

    .variations_form option {
        font-size: 12px;
        padding: 5px 0;
    }

    The padding is there to add some top and bottom margins, so they’re better spaced. Adjust as necessary.

    Regards,
    ————————————————————————————————————

    Cosmin – Support

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register