Visualizzazione 3 filoni di risposte
Visualizzazione 3 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Plugin e temi di WP › Modificare un Widget
Se volessi modificare la grafica di un widget che file devo modificare? Ho provato a smanettare un pò su widget.php contenuto nella cartella includes, ma non cambia niente.
Sostanzialmente devo modificare le interlinee e non so se si può fare dal css.
grazie
SI fa SOLO trammite CSS visto che i widget generano codice HTML, prendi la tua pagina web, vedi il codice usato, gli elementi usati le eventuali classi e modifichi o aggiungici elementi CSS necessari ad ottenere il risultato desiderato. Per i CSS esistono diversi forum dedicati all’HTML come quello di HTML.it che sono validissime fonti di aiuto.
il mio problema è che voglio non solo modificare il css. fosse quello il problema.
Mi piacerebbe lavorare sul codice dei singoli widget ed associare ogni singola variabile ad una classe per poi fare quello che voglio con il css, al limite anche usare il mio css personale…
grazie comunque della risposta
qualcosa puoi fare modificando in parte wp-includes/widgets.php per dire puoi togliere il tasto cerca dal widget omonimo o escluder di brutto i titoli, ma ad ogni aggiornamento di wp perdi tutte le personalizzazioni, sia perchè fa parte dei file di sistema e come tale potrebbe essere modificato
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0