Home Forums WoodMart support forum URGENT – Custom CSS for subcategories is not working

URGENT – Custom CSS for subcategories is not working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #680336

    fnanwebsite
    Participant

    Hello WoodMart Support Team,

    I need your help with a CSS issue on my category pages. I want to style the subcategories to appear as simple, imageless buttons.

    The settings in Customize > WooCommerce > Product Catalog are correctly set to “Show subcategories & products”, and my shop layout is “Full Width”.

    The subcategories appear, but I cannot style them correctly with custom CSS. My goal is to hide the image and style the text container as a button.

    This is the HTML structure of a single subcategory on my page:

    HTML

    <div class=”wd-col wd-cat cat-design-zoom-out without-product-count wd-with-subcat product-category product first” data-loop=”1″>
    <div class=”wd-cat-wrap”>
    <div class=”wd-cat-inner”>
    <div class=”wd-cat-thumb”>
    <div class=”wd-cat-image”>

    </div>
    </div>
    <div class=”wd-cat-content wd-fill”>

    <div class=”wd-cat-header”>
    <h3 class=”wd-entities-title”>
    Category Name
    </h3>
    </div>
    </div>
    </div>
    </div>
    </div>
    I have tried adding the following CSS to “Additional CSS”, but it results in a very bad layout, the text disappears, and the shape is wrong. It seems your theme’s JavaScript or an internal stylesheet is overriding it.

    CSS

    /* This is the code I tried */
    .product-category.wd-cat .wd-cat-thumb,
    .product-category.wd-cat .wd-cat-content > a.wd-fill {
    display: none !important;
    }
    .product-category.wd-cat {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    }
    .product-category.wd-cat .wd-entities-title a {
    display: block;
    padding: 15px 20px;
    color: #333333 !important;
    }
    Could you please provide me with the correct CSS code to achieve a simple, imageless button style for the subcategories that works with your theme’s structure?

    The temporary admin access I provided before is still active. Thank you.

    #680491

    Hello,

    Sorry to say, I do not fully understand your issue. Could you please elaborate on your concern more with some useful screenshots so that we can better understand and assist you accordingly with what you actually want?

    Best Regards

    #680718

    fnanwebsite
    Participant

    I’ve attached a screenshot. See how the subcategories look?
    Not very user-friendly.
    I want it to look better; it should be in a separate column above the products and look simpler.
    Note: The home page uses the current style (circled), so make sure it doesn’t change.

    #680728

    fnanwebsite
    Participant

    There’s also another issue – the logo on the checkout page works fine on the desktop version, but on the mobile version, it reverts to the default Woodmart theme logo. I’ve tried everything to resolve this issue, but to no avail. Please help. Thanks in advance.

    Attachments:
    You must be logged in to view attached files.
    #680731

    fnanwebsite
    Participant

    Apologize, I’ve attached the wrong pictures, here is the right ones for the first problem and the second.

    Attachments:
    You must be logged in to view attached files.
    #680848

    Hello,

    01. Please navigate to Appearance > Customize > WooCommerce > Product Catalog and under Shop page displays, select “Show products” only. This will remove the default category display from the shop loop.

    Then, edit your product archive layout with Elementor and manually add the Product Categories widget to display categories in a separate row above the products.

    This method gives you full control over the layout and prevents subcategories from overlapping with products.

    02. You are using the custom header on your site for the checkout page, Woodmart theme provides the option to create different headers for different pages: https://xtemos.com/docs-topic/how-to-set-different-header-for-specific-page/

    You can check the custom header for a checkout page and change the logo in the mobile header or change it with the default header.
    https://xtemos.com/docs-topic/options-for-pages/

    Best Regards

    #681005

    fnanwebsite
    Participant

    but when I open elmentor with the archive page I get an error and it doesn’t open

    Attachments:
    You must be logged in to view attached files.
    #681057

    Hello,

    You cannot edit these functional default WooCommerce pages with Elementor directly. Try to use the Theme’s Layout Builder, you can create Custom Layouts for WooCommerce pages like product archive .You can use that to create your own custom layouts for these pages to edit it.

    Further, you can read more about the Layout Builder here: https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/

    If you have any questions feel free to contact us.

    Best Regards

    #681319

    fnanwebsite
    Participant

    Why I’m unable to change the social media links thats in the footer, how can I change it?
    when I try to open it from the Elmentor it laggs and doesn’t open idk why

    #681343

    Hello,

    Your issue has been resolved. Navigate to Elementor > Setting > Post Types > Check the “HTML Block”.
    https://postimg.cc/fJ2g1PXF

    Now Navigate to HTML Blocks > Edit Footer Furniture 2 HTML Block with elementor and edit the social links.

    Best Regards

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