Home › Forum › Plugin e temi di WP › problema template in single.php
-
AutorePost
-
-
11 Gennaio 2008 alle 10:13 #5494bildworterPartecipante
ho un problema di template. Su questo sito a cui sto lavorando http://www.grupponanou.it/luca_corsini/
tutto a posto tranne che quando vado all’articolo che, penso, faccia riferimento a single.php
http://www.grupponanou.it/luca_corsini/?p=1
mi aggiunge un rettangolo bianco prima e dopo il post.
Non riesco a capire dove debbo andare a modificare css o codice.
Quancuno mi può aiutare per piacere?
Grazie per la vostra attenzione.
meneceo
-
11 Gennaio 2008 alle 10:31 #49429SteveAglAmministratore del forum
che ad occhi paiono dei margini, poi in una pagina il contenuto ha classe narrowcolumn l’altro widecolumn, potrebbero esserci definizioni CSS che cambiano le cose nei due casi e fanno apparire questi spazi bianchi… anche se visualmente le colonne son sempre grandi uguali, come se il tema fosse stato fatto rimaneggiando un tema esistente ma senza sapere bene cosa si faceva…
-
11 Gennaio 2008 alle 10:37 #49430bildworterPartecipante
il “senza sapere bene cosa si faceva” potrebbe essere, sono davvero nuovo di qui.
Però o controllato i margini sia di widecolumn che di narrowcolumn e sono tutti e due a 0px
-
11 Gennaio 2008 alle 10:54 #49431SteveAglAmministratore del forum
Se nuovo di qui intendi di WP quello NON è un problema di WP ma un semplice problema HTML+CSS, magari installandoti una estensione per chi sviluppa web (sotto FF la Web Developper Toolbar) si possono vedere molte cose interattivamete sulla pagina e spesso aiuta ca capire sopratutto se il codice è di terzi. se no si prende il tema e lo si smonta pezzo a pezzo per capire come funziona e come i CSS agiscono..
Al volo vedo che il titolo dell’articolo è un H2 e che nel CSS h2 ha un margin top di 30px che guardacaso sono l’altezza dello spazio bianco, perchè poi in un caso si veda e nell’altro no … da capire.. ma almeno ora hai un indizio.
-
11 Gennaio 2008 alle 10:58 #49432bildworterPartecipante
grazie grazie, avevi ragione sull’h2 e, mea culpa, anche su widecolumn, avevo sorvolato un margin-bottom.
davvero grazie.
Ciao
meneceo
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.