Visualizzazione 4 filoni di risposte
Visualizzazione 4 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › modificare css sidebar
Ho installato un tema e vorrei modificare il layout della sidebar, nei file della cartella del mio tema c’è un unico file sidebar.php, pensavo che modificando quello avrei modificato anche il layout della sidebar, ma invece non accade niente.
C’entra forse qualcosa la dynamic_sidebar? Su quale file devo lavorare x modificare il layout della sidebar?
per modificare il layout della sidebar devi intervenire sul codice CSS.
per modificare il layout della sidebar devi intervenire sul codice CSS.
Dipende cosa vuoi modificare, per lo stile si, per la struttura no.
voglio modificare lo stile, aggiungere <div> per formattare la sidebar; se aggiungo dei div nel file sidebar.php del mio tema e gestisco lo stile degli stessi div nel file style.css non succede niente…in pratica le cose visualizzate nella sidebar non seguono quanto inserito nel file sidebar.php.
Se invece tolgo la seguente riga dal file sidebar.php
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Widgets')) : else : ?>
allora la sidebar viene renderizzata secondo quanto indicato nel file sidebar.php…quindi come si fa per gestire lo stile/formattazione delle sidebar dinamiche…SU QUALI FILES si deve lavorare????
Dipende da cosa vuoi fare, dove metti i cosidetti div, su quale temi lavori o su quale sito se il tema è stato modificato.
Tutte cose che non hai detto perchè non hai letto LEGGERE CON ATTENZIONE!! e le tue indicazioni sono talmente generiche che non servono a nulla.
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0