Home › Forum › Problemi Vari con WP › ridimensionamento elastico del layout
-
AutorePost
-
-
23 Gennaio 2012 alle 3:00 #20454lazarusPartecipante
salve, sto provando a personalizzare il tema base twentyeleven di wp, ma ho un problema con il ridimensionamento elastico del layout: quando riduco la dimesione della finestra del browser, tutti gli elementi di pagina (content, side-bar, header) si ammucchiano orrendamente tra di loro, sovrapponendosi. Inoltre il banner nell’header ha di per sè dimensioni elastiche, ridimensionandosi in base allo spazio che si ritrova.
Vorrei sapere in che modo far si che la posizione e le dimensioni sia degli elementi di layout, che del banner, restino staticche e fisse, al di là delle dimensioni della finestra del browser.
Vi ringrazio in anticipo per le risposte che saprete darmi
-
23 Gennaio 2012 alle 8:46 #92371Andrea BarghigianiPartecipante
La butto lଠperché non ho esperienze dirette con TwentyEleven, ma so che quest’ultimo è stato realizzato per utilizzare le Media Queries introdotte nei CSS3.
Se non le conosci quest’ultime rappresentano un modulo CSS3 che permette di adattare il layout alle dimensioni della finestra, ma oltre a ridurre le dimensioni degli elementi permette anche di modificare completamente la loro disposizione permettendo la creazione di layout completamente diversi all’interno di un unica struttura HTML.
Come puoi vedere qua sopra il layout del sito cambia a seconda delle risoluzioni, in modo da presentare i contenuti nel modo appropriato a seconda dello schermo del dispositivo.
Se questa caratteristica non ti interessa puoi sempre andare a modificare il CSS del tuo template e cancellare dal rigo 2251 fino alle regole impostate per la stampa, ovvero partendo dal commento:
/* =Responsive Structure
*/
Per arrivare a:
/* =Print
*/Rinceramente ti sconsiglio di togliere questa caratteristica, ma piuttosto di modificarla a seconda delle tue necessità .
Se il problema dovesse persistere lascia un pò di codice e vedremo di capire che succede
-
23 Gennaio 2012 alle 14:39 #92387lazarusPartecipante
ciao, ti ringrazio per la risposta. Ho rimosso la porzione di codice che mi hai indicato ma purtroppo il problema permane.
Posso riportarti il codice, se mi dici quali porzioni ti possono servire per aiutarmi a chiarire il problema.
grazie.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.