Change single table border color on blog page through HTML editor

Hi,

Into a blog page,

I’d like to have tables with white borders, in order match with the background so they will appear invisible.

But i need to do only with some of them, so i want to avoid the css whole modification.

Is it possible to achieve it through the html editor inside the same blog page I’m working on?

This is how the HTML code of the table looks like inside the blog page


| test<br><br><br> <br><br><br> | <br><br><br> <br><br><br> |
| - | - |

and this is how it looks like into the preview

So what can I add into the HTML editor on that table script?

Thanks in advance

@dmwwebartisan

do you have any advice, please?

@Annavittoria

I am not sure about it but I will check and get back to you.

@Annavittoria

I checked and found that unfortunately it can’t be done only using the editor.

@dmwwebartisan

understood! thanks for your help and time on this matter

is it possible then to do a css code modification that affect the tables only on the blog pages?

Because i use tables in different sections and I don’t want to apply such customization in all tables on my site

Obviously any other suggestion on how to achieve that is appreciated :slightly_smiling_face:

thanks in advance

@Annavittoria

Yes, you can add the following CSS code for the blog page only.

.article table {
width: 100%;
border-collapse: collapse;
border: 1px solid black;
}

Let me know if this works.

Thanks!

@dmwwebartisan

No, seems to not working

added like this

for easier reference, i’ve published a test article so you can see it by yourself

https://www.pianodgirls.com/blogs/blog/test

@Annavittoria

I corrected, add the following code. Remove old one.

.template-article table {
width: 100%;
border-collapse: collapse;
border: 1px solid black;
}

@dmwwebartisan

changed, but still looks pink

@Annavittoria

Remove old code and add this new one.

.template-article .rte table td{
width: 100%;
border-collapse: collapse;
border: 1px solid black;
}

Hope this works.

Thanks!

@dmwwebartisan

that’s the one!!!

But first they looked black, so i slightly changed it to this, because I want to be invisible or match with the background (that is white for now!)

.template-article .rte table td{
width: 100%;
border-collapse: collapse;
border: 1px solid white;
}

Thank you very much as always for your support!!!

Great job and patience