Risposte nei forum create
-
AutorePost
-
stefaaaPartecipante
Ok, grazie allora. Provo a scrivere a loro.
Ho provato comunque a fare modifiche dall’editor… nemmeno cosଠle vedo..
Grazie mille comunque.
stefaaaPartecipanteSisi grazie, avevo capito che l’errore fosse dovuto alla fretta, era giusto per conferma
Uso Godaddy, dici che devo rivolgermi a loro?
ti ringrazio infinitamente
stefaaaPartecipanteAllora il tema che avevo è twenty-fifteen (quello linkato da te è il fifteen), quindi ho seguito le tue istruzioni ma facendo il download del tema twenty-fifteen.
A quel tema io avevo cambiato solo, dal pannello “personalizza” e poi “colore”, il colore dello sfondo da grigio a bianco, poi ho fatto il tema figlio.
Seguendo tutto ciò che mi hai detto in effetti vedo le modifiche. Ma è come se fosse “fisso” e cioé cancello o inserisco le modifiche:
@media screen and (min-width: 59.6875em) {
.site-content {
width: 77%;
margin-left: 23%;
}
.sidebar {
width: 23%;
}
}
il risultato rimane sempre uguale (ossia con il contenuto principale più a sinistra).
Quindi se dovessi volerlo modificare diversamente o aggiungere altro non cambierebbe… Questo non mi spiego..
(continuo a ringraziarti infinitamente)
stefaaaPartecipanteOk, ho provato da un altro pc, dopo aver svuotato la cache…ma niente, io non riesco proprio a vedere differenze.
Per levarmi ogni dubbio che sia un problema mio e dello sfondo bianco che inganna… posso provare a mettere proporzioni esagerate alle percentuali width in modo tale da avere un cambiamento più evidente?
Del tipo mettendo 95% e 5% dovrei vedere un grosso cambiamento giusto? E invece nulla.. anche facendo logout, da altro pc, senza plugin…
stefaaaPartecipanteUhm… mi sa che non ti seguo.
Quando dici “il foglio di stile è preso” intendi che si vede l’intestazione giusto?
Se si… quella c’è sempre stata credo. Ma non dovremmo vedere pure le modifiche aggiunte (quelle scritte da te per modificare width della sidebar) ?
EDIT: scusa sto rileggendo quanto hai scritto. mi dicevi che vedevi le modifiche… ho sempre più dubbi che sto ignorando qualcosa perché io proprio non vedo nulla.
stefaaaPartecipanteFatto, ma niente di niente. Ci avevo provato già prima come ti dicevo…
Ti ringrazio dell’aiuto che ho ricevuto fino ad ora, io proprio non capisco come mai… seguo il tutorial per fare questo tema child, faccio tutto seguendo passo passo, grazie al tuo aiuto mi sono chiarita i dubbi che avevo (cioé come inserire le cose nel foglio di stile)… ma nulla.
Non so nemmeno più come cercare..
stefaaaPartecipanteSi, devi scusarmi, disattivato (avevo disattivato tutti i plugin per provare a fare le modifiche e nel riattivarli…ho riattivato anche quello)
stefaaaPartecipanteGrazie Titti, ma mi credi non succede niente. Ho fatto quanto mi hai detto e ti dirò di più: ho provato anche a inserire le modifiche tramite il custom CSS che è compreso nel plugin Jetpack …. se clicco anteprima vedo modifiche, ma una volta salvate, torna tutto come prima.
Ora non so se centri qualcosa… a naso direi di si… Non so più come cercare, è come se non fosse possibile modificarlo, oppure continuo a sbagliare qualcosa..
stefaaaPartecipanteAh ok, il file header.php l’avevo già rimosso perché appunto non succedeva niente. QUindi nel tema figlio ho style.css e functions.php, e a questo link puoi leggere ciò che è contenuto nel file functions da pastebin (spero di averlo copiato bene!).
Se ho ben capito da ciò che dici per modificare il foglio di stile, ad esempio per la sidebar, devo riportare SOLO il valore width (quindi senza incollare tutto ciò che è contenuto nelle { }, tipo position, margin-right….), giusto?
Per quanto riguarda invece le modifiche che vorrei fare, sempre se non mi sbaglio, dovrei ottenere comunque la somma del content e della sidebar (riferendomi al width), che ora è di 100. Quindi per averla più stretta immagino di doverla impostare a 20% e di conseguenza il content di 80%…
Grazie per la pazienza, sto cercando di destreggiarmi in qualche modo!
stefaaaPartecipanteChiedo scusa:
la mia domanda è: in wordpress, dopo aver fatto un tema child, con file function.php e style.css che funziona bene, quindi identico al tema padre, come faccio a modificare il foglio di stile?
Leggendo online capisco che basta aggiungere semplicemente al file style.css del tema child, sotto le righe necessarie alla sua creazione, i codici da modificare.
Ma qualunque sia il codice che io inserisco, non vedo nessuna modifica e nessun tipo di risultato.
Dunque mi chiedevo cosa stessi sbagliando.
Esempio pratico: vorrei modificare la grandezza della sidebar a sinistra. Apro Filezilla, apro il tema figlio in questione, visualizzo il file style.css e ci scrivo:
.sidebar {
float: left;
margin-right: -100%;
max-width: 413px;
position: relative;
width: 29.4118%;
}
E modifico width e carico, non succede nulla.
Quindi in sintesi la domanda è: perché non riesco a modificare lo style.css del mio tema figlio (uso Filezilla)? Cosa sbaglio?
Spero di essere stata più chiara, grazie a tutti.
-
AutorePost