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
- This topic has 11 replies, 2 voices, and was last updated 4 months, 3 weeks ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
July 18, 2024 at 12:44 pm #584182
anabswParticipantHello
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!
AnaAttachments:
You must be logged in to view attached files.July 18, 2024 at 3:37 pm #584261
Aizaz Imtiaz AwanKeymasterHello,
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.
July 24, 2024 at 11:27 am #585311
anabswParticipantHello,
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!
AnaAttachments:
You must be logged in to view attached files.July 24, 2024 at 1:51 pm #585374
Aizaz Imtiaz AwanKeymasterHello,
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.
July 24, 2024 at 1:56 pm #585376
anabswParticipantHi 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 youJuly 24, 2024 at 2:03 pm #585380July 24, 2024 at 3:52 pm #585431
Aizaz Imtiaz AwanKeymasterHello,
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.
July 24, 2024 at 4:39 pm #585457
anabswParticipantHI 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
AnaJuly 24, 2024 at 4:46 pm #585460
anabswParticipantAizaz,
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
July 25, 2024 at 2:22 pm #585701
Aizaz Imtiaz AwanKeymasterHello,
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.
July 25, 2024 at 2:29 pm #585706
anabswParticipantHi Aizaz!
Brilliant!
Thank you very much for your kindness in helping me.Have a great day!
Ana
July 25, 2024 at 2:36 pm #585709
Aizaz Imtiaz AwanKeymasterMost 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. -
AuthorPosts
The topic ‘How to delete or hide only the first line of the “clase” attribute’ is closed to new replies.
- You must be logged in to create new topics. Login / Register