Visualizzazione 0 filoni di risposte
Visualizzazione 0 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Larghezza massima con content_width.
Ciao per il mio blog in locale su wordpress sto provando il tema Notes Blog Core Theme http://wordpress.org/extend/themes/…blog-core-theme
che nel file functions.php ha il codice $content_width = 580 il quale mi permette di inserire video nei post solo con il relativo url e di avere di averli tutti con la stessa larghezza e allineati in egual misura.
Il problema è che con tale codice posso modificare appunto solo la larghezza dei video inseriti con il relativo url e non i video embeddati con il relativo codice embedd, cioè se inserisco un video con il suo codice embedd e modifico il content_width nel file functions.php, il content_width non ha effetto e il video rimane con la larghezza contenuta nell’embedd.
Questo non è un problema se il layout del tema rimane sempre lo stesso ma se in futuro dovessi modificare la larghezza del content dovrei modificare anche la larghezza dei video e se questi fossero embeddati con il codice embedd non saprei come fare.
Potreste dirmi se è possibile modificare la larghezza dei video embeddati con il loro relativo codice embedd in modo da non intervenire su ogni video?
Grazie dei vostri consigli!
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0