Home › Forum › Problemi Vari con WP › Problema visualizzazione
-
AutorePost
-
-
28 Ottobre 2012 alle 8:56 #22925hinockiPartecipante
Ciao a tutti.
ho cambito la versione del mio blog dalla 2. alla 3.4.2.
il mio problema è che è cambiato tutto il pannello editor e non riesco a modificare tutto.
Nello specifico l’articolo singolo lo vorrei con la sidebar. Ho aggiunto il codice <?php get_sidebar(); ?>, ma non riesco ad allineare tutto.
Potete vedere tutto su http://www..confabuliamo.it
Non riesco a metterla di lato. sembra che l’articolo prenda tutto lo spazio
Potete aiutarmi?
Grazie milleeee
-
28 Ottobre 2012 alle 9:57 #98298wollyAmministratore del forum
devi mettere a posto il css e l’html per fare spazio alla sidebar.
Se non sai come funzionano i temi di wordpress nel wiki trovi “dissezione di un tema”
Se non conosci il css http://css.html.it è un ottimo punto di partenza
Se con conosci l’html http://html è un ottimo punto di partenza.
Non esiste un’istruzione che in automatico ti mette a posto tutto e ogni tema è diverso dagli altri quindi non esiste una soluzione universale.
-
28 Ottobre 2012 alle 17:44 #98308hinockiPartecipante
Ok grazie. Sono riuscito a mettere la sidebar a destra. Ora il problema è aumentare un pò la larghezza dell’articolo. Non riesco ad allargare lo spazio per l’articolo ed il CSS è pieno di centinaia di width. Sapete dirmi quale devo allargare?
Grazie
-
28 Ottobre 2012 alle 19:32 #98311TittiModeratore
Se stai facendo le modifiche direttamente in twenty eleven… non farlo. Crea un child theme e fai le modifiche là¬.
Dopodiché, per allargare lo spazio dell’articolo nell’home-page, trova:
#content {
margin: 0 34% 0 7.6%;
width: 58.4%;
}
#secondary {
float: right;
margin-right: 7.6%;
width: 18.8%;
}
Per allargare aumenti il primo valore percentuale e diminuisci il secondo della stessa quantità .
I valori sotto sono della sidebar, e andranno diminuiti allo stesso modo.
Usa Firebug e sarà più semplice.
P.S.: Non sono affari miei, ma non ci fai una gran figura a mostrare due grosse, false icone di markup validato che hai evidentemente copiato da qualche parte, dato che invece i tuoi HTML e CSS sono pieni d’errori. Inoltre il tema non è neppure in XHTML 1.0 come dice l’icona, ma in HTML5, per il quale non esiste ancora l’icona di validazione, quindi quello che hai fatto non ha senso alcuno.
-
29 Ottobre 2012 alle 18:09 #98329hinockiPartecipante
Grazie mille.
Per le validazioni erano tutte corrette prima della migrazione a wordpress3 e passaggio al nuovo php.
Comunque le tolgo e rivalido tutto prima di reinserle
Grazie ancora
Ciao!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.