Hi,
thanks for your post, and sorry for the trouble.
The problem here is that there is a cell padding around this <p>
element. Therefore, we’ll have to be a bit creative with the margin and padding in the element:
.taboversmallhead {
font-size: 10px;
font-weight: bold;
text-align: center !important;
margin: -8px;
padding: 8px;
background-color: #eef5f9;
}
Regards,
Tobias
Hi,
note that you could achieve the same with the CSS approach from https://tablepress.org/faq/highlight-cells-or-content/ but would have to adjust the selectors in the “Custom CSS” more often.
Regards,
Tobias
Hi,
thanks, now its OK :-).
I know that your plugin offers more features and possibilities to add more table styles and change between them, but now I needed only to change (modify) only one table.
But when I will have more time I will learn how to have more table styles and then choose from them as needed 🙂
Thanks.
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
And you are great with so fast response and help 🙂
Thanks.
Hi,
thanks for the kind words, I really appreciate it!
Best wishes,
Tobias
Hi,
please when you are so good with WP and CSS, can you help me with something others?
I try to change showing of TAG, while I will have instead of text placed there the pictograms and when I have create my own CSS style for it it will not work.
.tag_styles li a{
background-color: cornflowerblue;
width: 50px;
height: 50px;
margin: 5px;
text-indent: 100% !important;
white-space: nowrap;
}
.tag1{background-image: url("http://www.grand-tech.eu/2/wp-content/uploads/2017/07/waterproof.gif");}
.tag2{background-image: url("dust.gif");}
.tag3{background-image: url("shockproof.gif");}
.tag4{background-image: url("temp.gif");}
.tag5{background-image: url("acid.gif");}
.tag6{background-image: url("wheels.gif");}
and I place it on the page over this code:
<?php echo wc_get_product_tag_list( $product->get_id(), '', '<ul class="tag_styles"><li class="$product">', '</li></ul>' ); ?>
but I have there still the same text. Only when I put the background-image code to the .tag_styles, then it will be visible but cropped and stretched. And also is there still see the original text.
Please Can you help me with it and tell me how to resolve it?
Thanks.
Hi,
I love to help, but this is beyond what I can offer, sorry. The TablePress support questions already keep me busy.
I’m really sorry, but I need to ask for you understanding. Maybe you can get help in the general or theme forums here on the site?
Regards,
Tobias
Hi,
OK understand, but on general support I don’t have luck with help 🙁
If is possible and you will have some time to help me, it will be great while I’m not very familiar with programming on this level and I’m also new in WP.
maybe there are only some mistakes in CSS style and in the php function 🙂
But I have last question to your plugin 🙂
How is possible to import more tables at once? I need to import about 50 tables or more 🙂
Thanks.
-
This reply was modified 7 years, 12 months ago by
alfista.
-
This reply was modified 7 years, 12 months ago by
alfista.
Hi,
I’m really sorry, but I just can’t support other things as well.
Regarding the import: You can just put all those tables (their CSV/Excel/HTML files) into a ZIP file and then import that.
Regards,
Tobias
Hi,
thanks for all, you’re great.
I understand it, but doesn’t receive other help, therefor I asked you, that I know you know this system and you are only the one which helped me.
Thanks.
Hi,
as you are using a WooCommerce function (wc_get_product_tag_list()
) you should ask their support team.
Regards,
Tobias
Hi,
I tried to use this function, but it returns the complete list in text and it will not work with it, but I also asked in the woo commerce section but no relevant and working answer. Until now only one answer … and it is some days or weeks.
Thanks.