Visualizzazione 3 filoni di risposte
Visualizzazione 3 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Plugin e temi di WP › Immagine di sfondo in testata
Salve a tutti. Il problema non penso sia molto grave, ma per uno che non sa farci (o non cosଠbene) la questione sembra alquanto spinosa….
In un nuovo tema che sto modificando pian piano, vorrei inserire un’immagine di sfondo in testata, solo che non so assolutamente come fare per far in modo che il titolo “cliccabile” venga a trovarsi sopra la foto e visibile……
Qualcuno sa darmi una mano
grazie..
kit
Supponendo che la testata sia un div assegni l’immagina come backgorund del div stesso (usando il CSS) e inseirsci nel div il tag per mostrare il titolo.. et voilà
Allora….
Riassumendo
Grazie comunque per la risposta…
Assegni alla div con un dato ID lo sfondo ma nel foglio CSS non nel codice HTML
Es hai una div del tipo < div id”testata”> < /div> (gli spazi sono per mostrare il codice e non farlo interpretare.
Nel foglio stile del tema avrai:
#testata{background-image:url(images/immagine_testata.jpg);
Nell’esempio il percorso all’immagine è relativo e quindi cercherà nella dir del tema una dir images e li cercherà l’immagine indicata
All’interno della div di cui sopra poi inserirai il tag di WP per mostrare il titolo del blog ( <?php bloginfo(‘name’); ?> )inserito iin codice HTML opportuno, che ne so un H2 o altro.. poi dipende come è fatto il tema
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0