← WordPress

alterar fonte

Lida 3011 vezes

Offline

tugafcp 
Membro
Mensagens 22 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Eighth year Anniversary

Boa noite.

Gostava de alterar a fonte dos posts do meu blog, porque nao gosto da fonte, ah e quando se faz quote. Mas nao percebo como o fazer. #-o Gostava que se pudessem dessem uma vista de olhos e me ajudassem sff.

Este é o código da secçao da tipografia.



/************************************************/
/*** Typography : Core : Start ******************/
/************************************************/

html, body, input, button, select, option, textarea {
   font-size: 12px; line-height: 18px;
   font-family: LucidaGrande, 'Lucida Grande', 'Lucida Sans', 'Arial', serif;
}
blockquote { font-style: italic; }
blockquote blockquote { font-style: normal; }

a, a:visited { text-decoration: none; }
a:hover { text-decoration: underline; }

/************************************************/
/*** Typography : Core : End ********************/
/************************************************/


/************************************************/
/*** Typography : Header : Start ****************/
/************************************************/

div#googleads {
   font-size: 10px;
   font-family: Arial, Helvetica, sans-serif;
}

div#featabout div.box h2 {
   font-size: 12px;
   font-family: Arial, Helvetica, sans-serif;
   text-transform: uppercase;
}
div#featabout div#featured h2 {
   font-size: 18px; font-weight: normal;
   font-family: Georgia, 'Times New Roman', serif;
   text-transform: none;
}
div#featabout div#featured p {
   font-family: Arial, Helvetica, sans-serif; font-size: 11px;
}
div#featabout div.hottopics h2 {
   font-family: Georgia, 'Times New Roman', serif; font-size: 22px; line-height: 28px;
   font-weight: normal;
}
div#featabout div.hottopics ul li a {
   font-family: LucidaGrande, 'Lucida Grande', 'Lucida Sans', 'Arial', serif; font-size: 12px;
   font-weight: normal;
}
div#featabout div.hottopics ul li a:hover, div#featabout div.hottopics ul li a:focus {
   text-decoration: none;
}

div#search input {
   font-family: LucidaGrande, 'Lucida Grande', 'Lucida Sans', 'Arial', serif; font-size: 11px;
}


/************************************************/
/*** Typography : Header : End ******************/
/************************************************/


/************************************************/
/*** Typography : Blog Entry : Start ************/
/************************************************/

h2.pagetitle {
   font-family: Georgia, 'Times New Roman', sans-serif;
   font-size: 24px; font-weight: normal;
}

div.post div.title h2 {
   font-family: Georgia, 'Times New Roman', sans-serif;
   font-size: 18px; line-height: 24px; font-weight: bold;
}
div.post div.title h2 a, div.post div.title h2 a:visited {
   font-family: Georgia, 'Times New Roman', sans-serif;
   font-size: 18px; line-height: 24px; font-weight: bold;
}

div.post blockquote { font-style: italic; }
div.post blockquote blockquote { font-style: normal; }

div.indexpost div.entry p.readmore a, div.indexpost div.entry p.readmore a:visited {
   font-family: Arial, sans-serif;
   font-size: 11px; line-height: 33px; font-weight: bold;
   text-decoration: none;
}

div.singlepost div.title h2, div.singlepost  div.title h2 a, div.singlepost div.title h2 a:visited {
   font-family: Georgia, 'Times New Roman', sans-serif;
   font-size: 24px; line-height: 30px; font-weight: normal;
}

/************************************************/
/*** Typography : Blog Entry : End **************/
/************************************************/


/************************************************/
/*** Typography : Comments : Start **************/
/************************************************/

div#comments  div.title h2, div#respond  div.title h2 {
   font-family: Georgia, 'Times New Roman', sans-serif;
   font-size: 18px; font-weight: normal;
}

ol.commentlist li.commentlist cite { font-style: normal; }

h3#replycomment { font-family: Georgia, 'Times New Roman', sans-serif; font-size: 24px; line-height: 30px; }
h3#replycomment a:hover { text-decoration: none; }

form#commentform p small { font-size: 11px; }
form#commentform p.button { text-align: right; }

/************************************************/
/*** Typography : Comments : End ****************/
/************************************************/


/************************************************/
/*** Typography : Sidebar : Start ***************/
/************************************************/

div.box h2 { font-family: 'Arial', sans-serif; font-size: 12px; font-weight: bold; }
div.box h2 a, div.box h2 a:visited { font-family: 'Arial', sans-serif; font-size: 12px; font-weight: bold; }
div.box div.interior { font-family: Georgia, 'Times New Roman', serif; font-size: 11px; }
div.box div.interior a { font-family: Georgia, 'Times New Roman', serif; font-size: 11px; }
div.box div.interior a:hover { text-decoration: none; }

div#box-tabs div.interior { font-family: Georgia, 'Times New Roman', serif; font-size: 11px; }
div#box-tabs div.interior a { font-family: Georgia, 'Times New Roman', serif; font-size: 11px; }
div#box-tabs div.interior a:hover { text-decoration: none; }

div.box-twitter div.interior, div.box-twitter div.interior a, div.box-twitter div.interior a:visited {
   font-family: Georgia, 'Times New Roman', serif; font-size: 11px;
}

div.box-widget_recent_comments div.interior ul li, div.box-widget_recent_comments div.interior ul li a,
div.box-widget_recent_comments div.interior ul li a:visited {
   font-family: Georgia, 'Times New Roman', serif; font-size: 11px;
}


/************************************************/
/*** Typography : Sidebar : End *****************/
/************************************************/


/************************************************/
/*** Typography : Footer : Start ****************/
/************************************************/

div#footer { font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 18px; }

/************************************************/
/*** Typography : Footer : End ******************/
/************************************************/


Desde já muito obrigado  :obrigado:
   
Offline

rtbfreitas 
Equipa
Mensagens 1497 Gostos 9
Feedback +24

Troféus totais: 30
Trófeus: (Ver todos)
Windows User Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

Olá Tugafcp,

Para alterares a fonte dos teus posts deves modificar esta regra CSS:

html, body, input, button, select, option, textarea {
   font-size: 12px; line-height: 18px;
   font-family: LucidaGrande, 'Lucida Grande', 'Lucida Sans', 'Arial', serif;
}

onde diz "font-family: LucidaGrande, 'Lucida Grande', 'Lucida Sans', 'Arial', serif; " colocas a que pretendes. Se puderes indica qual o teu blog, para ver se é esta a regra css aplicada ao texto dos posts.
Offline

tugafcp 
Membro
Mensagens 22 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Eighth year Anniversary

Obrigado  :obrigado:


É este o site Mambley  :arrow: http://www.apostasdesportivasgratis.com/


Já agora, será que me podes dizer o que hei-de meter na parte da font-family para meter a fonte Arial ou a times new roman (fontes do office) sff?
Offline

rtbfreitas 
Equipa
Mensagens 1497 Gostos 9
Feedback +24

Troféus totais: 30
Trófeus: (Ver todos)
Windows User Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

Só queres mesmo modificar a fonte dos posts ou também queres do site todo?
Offline

tugafcp 
Membro
Mensagens 22 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Eighth year Anniversary

Só queres mesmo modificar a fonte dos posts ou também queres do site todo?

Era dos posts e das páginas. Mas acho que já tá feito, porque alterei a linha pra ficar desta maneira.

Código: [Seleccione]
font-family: Verdana, Arial, Helvetica, sans-serif;
Nao consigo é alterar a parte demudar de páginas, para nao aparecer "last" e "page # of #", mas pronto... nao há problemas...
Offline

rtbfreitas 
Equipa
Mensagens 1497 Gostos 9
Feedback +24

Troféus totais: 30
Trófeus: (Ver todos)
Windows User Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

Então se era tudo, e colocaste dentro do body { } está bem.

Em relação ao 2º problema, o que pretendes fazer? Traduzir?
Offline

tugafcp 
Membro
Mensagens 22 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Eighth year Anniversary

Então se era tudo, e colocaste dentro do body { } está bem.

Em relação ao 2º problema, o que pretendes fazer? Traduzir?

Sim queria traduzir. Mas não sei como. Já que não encontro essas palavras no código. A única opção era tar no rodapé, mas como tá codificado nada feito...

Como tenho traduzido é procurar as palavras que quero modificar no código e lá me vou safando.  :lol:
Offline

rtbfreitas 
Equipa
Mensagens 1497 Gostos 9
Feedback +24

Troféus totais: 30
Trófeus: (Ver todos)
Windows User Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

Nada disso, isso é um plugin que por acaso permite traduzir certas palavras pelo painel administração do wordpress, vai aqui ou então:

- Opções -> PageNavi Settings e onde diz "Text For First Page" e "Text For Last Page" colocas o texto que pretendes :)
Offline

tugafcp 
Membro
Mensagens 22 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Eighth year Anniversary

Nada disso, isso é um plugin que por acaso permite traduzir certas palavras pelo painel administração do wordpress, vai aqui ou então:

- Opções -> PageNavi Settings e onde diz "Text For First Page" e "Text For Last Page" colocas o texto que pretendes :)

Obrigado. Pensei que fosse mesmo relacionado com o tema (codigo), por isso é que era preciso ter esse plugin instalado,  :superlol:

Muito obrigado pelas ajudas  :deus:

 :obrigado:
Offline

rtbfreitas 
Equipa
Mensagens 1497 Gostos 9
Feedback +24

Troféus totais: 30
Trófeus: (Ver todos)
Windows User Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

De nada, se tiveres mais dúvidas vai colocando que o pessoal tenta ajudar.

Boa sorte :)
Offline

tugafcp 
Membro
Mensagens 22 Gostos 0
Troféus totais: 17
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Eighth year Anniversary

De nada, se tiveres mais dúvidas vai colocando que o pessoal tenta ajudar.

Boa sorte :)

Ok, Obrigado  :thumbupmil: