I'm connected to a Google Sheet and using a field that is a URL link. I have two related questions:
The font color of linked text defaults to blue. It would be better if it defaulted to the color specified by the theme, but if that's not possible, is there a way to manually control the color?
Some of the cells in my URL link column are not linked, but still take on the formatting of linked text, so to the visitor it looks like a hyperlink when it isn't. Is there a way to show individual cells in a URL link column as plain text (not linked)?
My apologies, i actually figured it out after a bit of experimenting - sorry i didn't spot the solutions right away.
1. We can use this CSS selector in order to manipulate all the hyperlink text color of the tables :
.wpdt-c a {
color: red;
}
You can add this to the Customize Tab od the table, in custom CSS, and it should work :
2.
For making a column that can have some cells present a hyperlink, but some others as just plain text - you can use a String column.
Our String columns can render HTML > so if you wrap a link in an HTML Anchor tag, it will work;
and in other cells you can just use simple text > and it will render only plain text. ( for example, a screenshot with a simple link wrapped as HTML in a cell)
Of course, you would have to format cells like this, coming from the Spreadsheet, if you link tables that way - to get the hyperlink passed from the spreadsheet to the table.
I'm connected to a Google Sheet and using a field that is a URL link. I have two related questions:
The font color of linked text defaults to blue. It would be better if it defaulted to the color specified by the theme, but if that's not possible, is there a way to manually control the color?
Some of the cells in my URL link column are not linked, but still take on the formatting of linked text, so to the visitor it looks like a hyperlink when it isn't. Is there a way to show individual cells in a URL link column as plain text (not linked)?
Hi, Rick
Thanks for reaching out to us
I will have to check with our 2nd level Team if we have an easy solution for both questions - i am not sure, to be honest.
For the first one, i believe it shouldn't be too difficult with some CSS;
but to have an URL column > and to make only specific cells appear as not linked/plain text - that is certainly trickier.
We will double-check both, and will report back as soon as they advise.
Thank you
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi, Rick
My apologies, i actually figured it out after a bit of experimenting - sorry i didn't spot the solutions right away.
1. We can use this CSS selector in order to manipulate all the hyperlink text color of the tables :
You can add this to the Customize Tab od the table, in custom CSS, and it should work :
2.
For making a column that can have some cells present a hyperlink, but some others as just plain text - you can use a String column.
Our String columns can render HTML > so if you wrap a link in an HTML Anchor tag, it will work;
and in other cells you can just use simple text > and it will render only plain text. ( for example, a screenshot with a simple link wrapped as HTML in a cell)
Of course, you would have to format cells like this, coming from the Spreadsheet, if you link tables that way - to get the hyperlink passed from the spreadsheet to the table.
-
Let me know if that works for you. Thank you
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables