column width
-
Ciao Tobias.
scusami.
che codice devo scrivere per regolare la larghezza delle colonne ?Altra cosa, nel link che ho indicato ho inserito una tabella con una colonna di date.
Non funziona il tasto dell’ordinamento….non capisco perchè.Grazie
The page I need help with: [log in to see the link]
-
perdonami, ho risolto per la larghezza.
Resta il problema dell’ordinamento della colonna con le dategrazie mille
Hi,
thanks for your post, and sorry for the trouble.
It looks like you are using the European date format
dd/mm/yyyy. For that, you might have to install and activate the TablePress Extension from https://tablepress.org/extensions/datatables-sorting-plugins/Regards,
TobiasGrazie mille Tobias.
Troppo gentile.
un’altra informazione.
se nella ultima colonna voglio un colore del testo o dello sfondo diverso a seconda del contenuto, come posso fare ?
example:
“ORO” colore testo: yellow
“ARGENTO” colore testo blu e sfondo verde…etc…grazie
Hi,
for that, you can use https://wordpress.org/support/topic/cell-color-based-on-content/
Regards,
TobiasCiao Tobias
La pagina con l’estensione highlighting non è disponibile 🙁Hi,
ah, sorry. Please try this download link: https://tablepress.org/download/extension/tablepress-cell-highlighting.zip
For details and an example, please see the PHP file source code, which has one in the comment at the top.Regards,
Tobiasmille grazie.
sto leggendo i vecchi post ed ho capito un pò di cose.vorrei sapere dove però devo inserire la nuova classe del tipo
< span class = “highlight-Oro” > Oro < / span >…etc…
grazie
Hi,
this would go into your table, where you have the words that you want to highlight.
So, in the table cell, you put<span class="highlight-oro">Oro</span>and in the “Custom CSS”, you put
.tablepress .highlight-oro { color: #FFFF00; }(This would be the manual method. With the Extension, you don’t need the first part, it will be done automatically.)
Regards,
Tobiastobias scusa,
ma devo pur inserire la classe
<span class=”highlight-oro”>Oro</span>…..se metto solo il codice css non funziona …:(
Hi,
please try again with the CSS
.tablepress-id-1 .highlight-oro { background-color: #77ff00; }The spelling/capitalization in the CSS must be the same as in the
<span>HTML.Regards,
Tobiasscusa Tobias, non ho ancora risolto il problema.
colpa mia.
ho studiato gli altri post e ho inserito il seguente shortcode:[table id= 1 highlight = “Oro” highlight_full_cell_match = “false” datatables_columnfilterwidgets = true datatables_columnfilterwidgets_exclude_columns = 1,2,3,4,5,6 /]
inoltre nel css ho inserito:
.tablepress-id-1 .highlight-oro {
background-color: #77ff00;
}cosa sbaglio ??
Hi,
please try with this extended CSS code:
.tablepress-id-1 .highlight-oro { background-color: #77ff00 !important; }Regards,
TobiasThank You !!!!1
adesso è perfetto !!!!Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
TobiasP.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
tobias…ultima cosa.
se nella stessa colonna devo colorare lo sfondo di verde se è presente la parola “Oro” e di rosso se è presente la parola “Argento”, mi basta duplicare il codice highlight ?perdonami, nel caso precedente ho visto che non funziona l’esclusione delle colonne 1,2,3,4,5,6….
scusami ancora
The topic ‘column width’ is closed to new replies.