Visualizzazione 2 filoni di risposte
Visualizzazione 2 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Allineamento testo.
Salve a tutti.
Nel mio sito http://www.bottegadiarchitettura.it nella pagina PLASTICI vorrei alineare il testo anche dalla parte destra della pagina. Ho provato ad allinere il testo su word ma quando lo incollo all’interno della pagina non rimane come desiderato. C’è per caso un comando su wordpress per allineare il testo???
GRAZIE A TUTTI IN ANTICIPO !!!
E’ meno intuitivo di quanto sembri. Basterebbe aggiungere l’attributo
text-align: justify;
al tag p nei css. In questo modo però giustificheresti tutti i testi contenuti in un paragrafo. Potresti allora raggruppare tutti i paragrafi di quella pagina dentro un div al quale assegni l'ID "giustificato". Per capirci
<div id="giustificato">
<p>...</p>
<p>...</p>
</div>
E poi aggiungi al css
#giustificato p { text-align: justify; }
E' solo un esempio per farti comprendere il metodo. Riadattalo a seconda delle tue esigenze specifiche e in base alla struttura del tuo tema.
Sicuramente avrai già provato e quindi dirò una cosa ovvia… comunque, in wp oltre ai classici pulsanti per allineamento sinistra/centrato/destra/giustificato, hai anche quello della funzione “incolla da word” che in teoria, serve proprio per mantenere la formattazione del testo, senza stravolgerla come succede facendo il normale copia e incolla nel box d’inserimento testo. Quindi, hai già provato questa funzione?
(ps ovviamente parlo di editor visuale)
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0