Home Forums WoodMart support forum How to delete or hide only the first line of the “clase” attribute

How to delete or hide only the first line of the “clase” attribute

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #584182

    anabsw
    Participant

    Hello
    Please I need the first line of the table, the “class” attribute line, not to be shown in the table, of any product.

    Since the badges for those features are already shown, they don’t need to be shown in the table (it also looks bad)
    (Attached image)

    How could I prevent that first row of the table from being displayed?

    I wait for your help.

    Thank you!
    Ana

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

    Hello,

    Please try to use the below custom CSS code and paste it to Theme Settings >> Custom CSS >> Global CSS section:

    .summary-inner.set-mb-l.reset-last-child table.woocommerce-product-attributes tbody tr:first-child {
        display: none;
    }

    Best Regards.

    #585311

    anabsw
    Participant

    Hello,

    Please, if you are so kind, can you tell me how to do these things?

    How can I make the text in the row shown above in “bold”? Although it is in the first row, I think it is really the 2nd row.
    Note: The first row is hidden (remember to help me with this?)

    There is also a lot of space between the table and the SERIES, at the bottom, how can I reduce that space?

    (I attach an image to help you understand what I explain)

    With these things I think everything will be correct. 🙂

    I look forward to your help.
    Thank you!
    Ana

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

    Hello,

    Please try to use the below custom CSS code and paste it to Theme Settings >> Custom CSS >> Global CSS section:

    .single-product .wd-before-add-to-cart, .wd-after-add-to-cart {
        display: none;
    }
    
    .summary-inner.set-mb-l.reset-last-child table.woocommerce-product-attributes tbody td {
        font-size: 20px;
        font-weight: bold;    
    }

    Best Regards.

    #585376

    anabsw
    Participant

    Hi Aizaz,

    This code acts on the entire table, but I only want to bold the first row of the table.

    .summary-inner.set-mb-l.reset-last-child table.woocommerce-product-attributes tbody td {
    font-size: 20px;
    font-weight: bold;
    }

    What needs to be modified so that only the first row is bold.
    Thank you

    #585380

    anabsw
    Participant

    Add image

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

    Hello,

    Please try to use the below custom CSS code:

    .summary-inner.set-mb-l.reset-last-child table.woocommerce-product-attributes tbody td :first-child {
        font-size: 20px;
        font-weight: bold;    
    }

    Best Regards.

    #585457

    anabsw
    Participant

    HI Aizaz,

    Sorry, but I pasted the code and I don’t see any changes. 🙁

    Please, if you don’t mind…can you check what I’m doing wrong?

    Gracias
    Ana

    #585460

    anabsw
    Participant

    Aizaz,

    We hidden the first line, remember? (see the beginning of this ticket)
    Maybe that’s why the code ignores it?

    Is it possible that, even though it is in first position, that is the second line? (because it is the first in display:none)

    I was attentive to your answer.

    Thank you for your kindness Aizaz.

    Ana

    #585701

    Hello,

    Yes, please use the below code, I am sure your issue will be solved:

    table.woocommerce-product-attributes tbody tr:nth-child(2) {
        font-weight: bold;
    }

    Best Regards.

    #585706

    anabsw
    Participant

    Hi Aizaz!

    Brilliant!
    Thank you very much for your kindness in helping me.

    Have a great day!

    Ana

    #585709

    Most Welcome 🙂

    If you do not mind, can you please leave 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in future. It would encourage our work a lot. If you like our Theme and Support.

    Have a great day 🙂

    Topic Closed.
    Best Regards.

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

The topic ‘How to delete or hide only the first line of the “clase” attribute’ is closed to new replies.