Home › Forum › Plugin e temi di WP › Problemi personalizzazione tema
-
AutorePost
-
-
3 Gennaio 2011 alle 13:22 #16220ruryuauaPartecipante
Ciao a tutti, ho installato il tema Selene 1.0.0 di Jinsona sul mio blog wordpress http://www.unbuconellalcool.com , ma non riesco a risolvere alcuni problemi. In particolare, non so come eliminare il [ Read More ] che compare negli articoli (voglio lasciare solo il read full nella fascia viola) e non riesco a impostare i quadrati dei post in modo che siano tutti della stessa lunghezza. Inoltre ho reso il titolo del blog trasparente in modo da poter linkare alla home anche inserendo un’immagine personale come titolo, ma mi sembra una soluzione poco elegante, quindi se c’è un modo migliore per favore spiegatemelo! Qualcuno può aiutarmi? Grazie!
-
3 Gennaio 2011 alle 22:15 #80011ruryuauaPartecipante
sono riuscita a risolvere il problema del Read More, ma per gli altri due ancora niente… non c’è nessuno che può aiutarmi?
-
3 Gennaio 2011 alle 22:37 #80012torejxPartecipante
Nel tuo css cerca la classe .entry ed inserisci, tra le altre regole
height: 300px;
dove ovviamente a 300 sostituisci il valore che preferisci… Occhio però a come gestisci il contenuto all’interno del riquadro, per fare in modo che non sfori.
Per quanto riguarda la seconda richiesta non ho ben capito cosa vuoi fare.. Vuoi che il logo sia “cliccabile”?
Fai una prova: nel tuo header.php, dopo <div id=”top”> inserisci
[a href=”http://www.unbuconellalcool.com” style=”width: 100%; height: 100%; display:block”][/a]
(sostituisci le parentesi quadre con < e >)
Se funziona poi modifichiamo in modo da inserire lo stile nel css.
-
6 Gennaio 2011 alle 17:44 #80080ruryuauaPartecipante
Grazie torejx, il problema dell’header è risolto… invece per quanto riguarda la lunghezza dei post niente…
-
6 Gennaio 2011 alle 22:25 #80085torejxPartecipante
Ma nel tuo css non vedo la regola height:300px all’interno della classe entry.
-
9 Gennaio 2011 alle 13:40 #80163ruryuauaPartecipante
ho fatto come mi hai detto, ma non cambia nulla, credo che la lunghezza del rettangolo sia legata a quella dell’excerpt che è di 50 parole… è possibile?
-
9 Gennaio 2011 alle 13:51 #80164ruryuauaPartecipante
mi sono appena accorta che mettendo heigt:300; modifica la lunghezza del post completo, ossia il riquadro che appare dopo aver premuto leggi tutto.
-
10 Gennaio 2011 alle 2:18 #80174torejxPartecipante
Questo è quello che ottengo con firebug se assegno alla classe entry height:300px
mi sono appena accorta che mettendo heigt:300; modifica la lunghezza del post completo, ossia il riquadro che appare dopo aver premuto leggi tutto.
Vero, non avevo fatto caso.
Puoi risolvere in due modi:
- Modifichi il file che genera la pagina con i riquadri e dove stampa <div class=”entry”> accanto ad entry aggiungi un’altra classe che poi definirai nel css con la regola height:300px;
- Sempre nello stesso div, aggiungi dopo “entry” style=”height:300px;” (ps: è più ordinato il primo metodo)
-
10 Gennaio 2011 alle 16:05 #80195ruryuauaPartecipante
Ho usato la seconda opzione, avendo capito poco della prima e finalmente ora funziona!
Puoi risolvermi l’ultimo dubbio? Come faccio a far comparire nella home 6 post invece di 4? Grazie!!!
-
10 Gennaio 2011 alle 19:29 #80210torejxPartecipante
Se non c’è una variabile da modificare nel backend del tema devi farlo a mano. Sempre nel file che si occupa di stampare la pagina (dovrebbe essere lo stesso del div entry) dovrebbe esserci un ciclo che itera quattro volte oppure una query che prende gli ultimi quattro post… Insomma, dovresti trovare il 4 e cambiarlo
-
10 Gennaio 2011 alle 21:25 #80216ruryuauaPartecipante
che stupida, era tra le opzioni di lettura! Non so come ringraziarti… ora sembra tutto ok
-
10 Gennaio 2011 alle 22:11 #80218torejxPartecipante
Bene
-
30 Gennaio 2011 alle 15:19 #80821ruryuauaPartecipante
Rispolvero questo post perché ho di nuovo problemi con il tema wp sul http://www.unbuconellalcool.com
1) Con firefox è tutto ok, ma se provo ad aprirlo con Google Chrome il menu orizzontale collassa dietro ai post e le voci non sono più cliccabili.
2) Attualmente il blog è collegato alla fanpage di fb (http://www.facebook.com/pages/Un-buco-nellalcool/104545902956097 )tramite plugin, ma non ho capito se ho inserito bene i meta per l’opengraph (scusate se mi esprimo male ma a stento so di cosa sto parlando ). Quando provo a inserire questo codice per poter visualizzare i mi piace ai singoli post mi dice che c’è un errore e in più i meta title e description sono duplicati.
<meta property=â€og:url†content=â€<?php
if(is_single()){
the_permalink(); }
else { echo get_option(‘home’); }; ?>â€/>
<?php if (is_single()) { ?>
<meta property=â€og:title†content=â€<?php single_post_title(); ?>†/>
<meta property=â€og:description†content=â€<?php echo substr(strip_tags($post->post_content), 0, 140).’ […]‘;?> †/>
<meta property=â€og:type†content=â€article†/>
<?php } else { ?>
<meta property=â€og:description†content=â€<?php bloginfo(‘description’); ?>†/>
<meta property=â€og:type†content=â€blog†/>
<meta property=â€og:title†content=â€<?php bloginfo(‘name’); ?>†/>
<?php }; ?>
Questi sono i problemi di cui mi sono accorta io… considerando che non ne capisco molto e procedo per tentativi, se avete altre cose da segnalare vi supplico di farlo!!! Grazie!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.