Tagged: x
-
AuthorPosts
-
January 8, 2017 at 1:18 pm #1321300
Rad,
Hello,Actually this code is also modifying the “Cart page” table and the “Checkout page” table.
table.shop_attributes seems to be the name of the single product page table.
table.shop_table.shop_table_responsive seems to be the name of the cart page table.
table.shop_table.woocommerce-checkout-review-order-table seems to be the name of the checkout page table.I tried using these names in order to modify one table without modifying the others without success…
Could you help me with this last request, please?
Thanks in advance.Regards,
January 8, 2017 at 8:14 pm #1321720Hi there,
You can use these
.woocommerce div.product .woocommerce-tabs table for product tables
.woocommerce .cart.shop_table for cart upper table
.woocommerce .cart-collaterals .cart_totals for cart lower table (total)
.shop_table.woocommerce-checkout-review-order-table and cor checkout table.
What modification and styling you’re adding to them? Some styling is deeply implemented to table cells, hence, just styling the main table may not work.
Thanks!
January 17, 2017 at 5:03 pm #1334183Rad,
Hello,
Sorry for a late answer.My goal at this stage is to set a background color for the text you can read when you use the nav-tabs “Information complementaire” on the single product page. More precisely the background of the table that is displayed there.
When using “.woocommerce div.product .woocommerce-tabs table, table th, table td” I get the result I am looking for but unfortunately that also modifies the tables that are displayed on the cart page and on the checkout page.
I would like to be able to target the specific single product page (nav-tabs) table without affecting the cart and the checkout page tables. Or being able to affect the cart page table without impacting the single product page (nav-tabs) table and the checkout page table.
For this attempt the background is supposed to be green and the text is in dark grey. Here is what I got:
Picture 1 is what I wish.But you can see on picture 2 (cart page) and picture 3 (checkout page) that other tables are affected too and I don’t want these tables being affected:
Can you help me with the code, please?
Regards,
January 18, 2017 at 9:24 am #1335145Hello There,
Please use this custom CSS:
.single-product .woocommerce-tabs .x-tab-content table.shop_attributes th, .single-product .woocommerce-tabs .x-tab-content table.shop_attributes td { background: #5faa37; }
As you can see .single-product at the start of the css will make sure that it will not affect other woocommerce pages too.
Hope this helps.
January 27, 2017 at 1:52 pm #1348143Lely,
Thank you for your answer.
This is exactly what I needed.And again thanks to Rad for his help and patience.
Awesome job, guys!
Regards,
January 28, 2017 at 2:21 am #1348672Hello There,
You’re welcome! We’re happy to help you out.
If you need anything else we can help you with, don’t hesitate to open another thread.Cheers.
-
AuthorPosts