• Resolved prideofjapan

    (@prideofjapan)


    In the Description Column, I bring text data from products short description from products page. I want to display smaller font. Although I tried to set each font setting in “style for element”, but not effected. please let me know how to set target font size. Thank you in advance.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author WC Product Table

    (@wcproducttable)

    Hi,

    Thank you for using WooCommerce Product Table Lite (WCPT). I have viewed the link, which makes the issue quite clear. Here is why it is happening –

    You are pulling in data from the products, like you said, but this data itself is in an HTML table. And those HTML tables have inline styles on their elements. These inline styles are overriding any styling option you set through WCPT.

    Ideally, instead of using these HTML tables you should setup your products to have attributes and custom fields to store this information. Then you can use the options available in WCPT Lite to display attributes and custom fields in a much neater manner. This will give you a lot more control over the table layout.

    You can create multiple rows within a single column, thus simulating a table like setup. Please follow the available plugin tutorials for more information or get in touch with me through the support form on the plugin site and I will guide you further on how to create such a setup.

    However, if none of this is possible for you and you need a quick fix right now, you can use this css:

    .wcpt table table *,
    .wcpt table p strong {
    font-size: 16px !important;
    font-weight: normal !important;
    color: black;
    }

    I do not recommend this setup, but it will work for now.

    Second issue:
    You are using Product Categories to filter over Size, Material and Thickness which are sub categories, with child categories of their own. This setup has one flaw – the categories relationship is ‘OR’, not ‘AND’. This means, if a visitor has selected Size: Big and Material: Gampi then they will see all products that have Size: Big ‘OR’ Material: Gampi. So this result set may contain products that have Size: Big and Material: Kozo or Size: Small and Material: Gampi.

    The plugin does not give the option to have an ‘AND’ type relation between the category terms, this is because it will create more confusion – when a visitor selects Size: Big or Small and Material: Kozo or Gampi then the query will look for products that have categories: Big, Small, Kozo and Gampi. This is impossible, you follow?

    Therefore, you should create 3 separate ‘Attribute’ filters – ‘Size’, ‘Material’ and ‘Thickness’. Attribute filters are part of the PRO version of the plugin. You can see demos for this setup on the plugin homepage.

    For example, the Courses and Events demos both let you use multiple separate attribute filters to narrow down on the relevant results.

    If any of this is unclear to you, please get in touch with me and I will do my best to help you achieve the product tables you require.

    – Kartik

Viewing 1 replies (of 1 total)

The topic ‘Font Size’ is closed to new replies.