← Joomla

Firebug

Lida 4903 vezes

Offline

anfibio 
Membro
Mensagens 58 Gostos 0
Troféus totais: 19
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 4 Level 3 Level 2 Level 1 50 Posts 10 Posts First Post

Como não sou perito no Joomla preciso da vossa ajuda.

Ao utilizar o firebug, faço inspeccionar elemento.

Mudar o .css é fácil.

E mudar o texto que aparece na coluna esquerda do Firebug?

Exemplo: módulo YahooWeather

A temperatura aparece 28oC, quero que apareça 28 graus

 :obrigado:
Offline

Luís Casanova 
Membro
Mensagens 565 Gostos 9
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 500 Posts

Já viste nos módulos? Ou nas definições do plugin? Não sei, nunca mexi em algo parecido.
Offline

GhostMaster 
Membro
Mensagens 1374 Gostos 0
Feedback +10

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

Como não sou perito no Joomla preciso da vossa ajuda.

Ao utilizar o firebug, faço inspeccionar elemento.

Mudar o .css é fácil.

E mudar o texto que aparece na coluna esquerda do Firebug?

Exemplo: módulo YahooWeather

A temperatura aparece 28oC, quero que apareça 28 graus

 :obrigado:

Isso é no código do módulo.
Offline

GhostMaster 
Membro
Mensagens 1374 Gostos 0
Feedback +10

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

Já viste nos módulos? Ou nas definições do plugin? Não sei, nunca mexi em algo parecido.

Sim talvez na administração do módulo tenhas opções para definir a unidade.
Offline

anfibio 
Membro
Mensagens 58 Gostos 0
Troféus totais: 19
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 4 Level 3 Level 2 Level 1 50 Posts 10 Posts First Post

Obrigado pessoal! No admin só tem opção Celsius e Fahrenheit

Código dentro do módulo é este:

Código: [Seleccione]
.jv-yweather {font:12px/18px Arial, Helvetica, sans-serif;}
.jv-yweather .title-temp {margin-bottom:10px;}

.jv-yweather .currentWeather {margin-bottom:20px;}
.jv-yweather .currentWeather h1 {font-size:100%; color:#14375E;}
.jv-yweather .currentWeather .date {color:#666;}
.jv-yweather .currentWeather .temp {font-size:125%; line-height:27px; color:#14375E;}
.jv-yweather .currentWeather .text {font-weight:bold; color:#666;}
* +html .jv-yweather .currentWeather .text {height:30px;}
.jv-yweather .currentWeather .info {border-top:1px dashed #a6a6a6; font-weight:bold; color:#666; padding:5px 0;}

.jv-yweather .weatherIcon {border-bottom:1px solid #ccc; padding:0 0 10px; font-weight:bold; color:#666; margin-bottom:10px;}
.jv-yweather .weatherIcon h2 {color:#356aa0; font-size:100%; font-weight:bold; margin-bottom:5px;}
.jv-yweather .weatherIcon h2 span {color:#666; font-weight:normal;}
.jv-yweather .weatherIcon .temp {font-size:125%; color:#356aa0;}
* +html .jv-yweather .weatherIcon .temp {margin-bottom:5px;}
.jv-yweather .weatherIcon .text {font-weight:bold; color:#666;}
* +html .jv-yweather .weatherIcon .text {height:30px;}


.jv-yweather .button {filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#5085bb,endColorstr=#366ba1); font-size:100%; font-weight:bold; color:#fff; padding:2px; border:none; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5085bb), color-stop(100%,#366ba1)); background: -o-linear-gradient(top, #5085bb 0%,#366ba1 100%); background:#366ba1;}
 
* html .clearfix { height: 1%;}
* +html .clearfix { display: inline-block; } /* IE7xhtml*/
html[xmlns] .clearfix { /* O */ display: block;  }
.clearfix:after { /* FF, O, etc. */ content: "."; display: block; height: 0; clear: both; visibility: hidden;}
Offline

GhostMaster 
Membro
Mensagens 1374 Gostos 0
Feedback +10

Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 1000 Posts

Obrigado pessoal! No admin só tem opção Celsius e Fahrenheit

Código dentro do módulo é este:

Código: [Seleccione]
.jv-yweather {font:12px/18px Arial, Helvetica, sans-serif;}
.jv-yweather .title-temp {margin-bottom:10px;}

.jv-yweather .currentWeather {margin-bottom:20px;}
.jv-yweather .currentWeather h1 {font-size:100%; color:#14375E;}
.jv-yweather .currentWeather .date {color:#666;}
.jv-yweather .currentWeather .temp {font-size:125%; line-height:27px; color:#14375E;}
.jv-yweather .currentWeather .text {font-weight:bold; color:#666;}
* +html .jv-yweather .currentWeather .text {height:30px;}
.jv-yweather .currentWeather .info {border-top:1px dashed #a6a6a6; font-weight:bold; color:#666; padding:5px 0;}

.jv-yweather .weatherIcon {border-bottom:1px solid #ccc; padding:0 0 10px; font-weight:bold; color:#666; margin-bottom:10px;}
.jv-yweather .weatherIcon h2 {color:#356aa0; font-size:100%; font-weight:bold; margin-bottom:5px;}
.jv-yweather .weatherIcon h2 span {color:#666; font-weight:normal;}
.jv-yweather .weatherIcon .temp {font-size:125%; color:#356aa0;}
* +html .jv-yweather .weatherIcon .temp {margin-bottom:5px;}
.jv-yweather .weatherIcon .text {font-weight:bold; color:#666;}
* +html .jv-yweather .weatherIcon .text {height:30px;}


.jv-yweather .button {filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#5085bb,endColorstr=#366ba1); font-size:100%; font-weight:bold; color:#fff; padding:2px; border:none; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5085bb), color-stop(100%,#366ba1)); background: -o-linear-gradient(top, #5085bb 0%,#366ba1 100%); background:#366ba1;}
 
* html .clearfix { height: 1%;}
* +html .clearfix { display: inline-block; } /* IE7xhtml*/
html[xmlns] .clearfix { /* O */ display: block;  }
.clearfix:after { /* FF, O, etc. */ content: "."; display: block; height: 0; clear: both; visibility: hidden;}

Isso é o CSS, deve estar algures noutro ficheiro, mas talvez php.
Offline

anfibio 
Membro
Mensagens 58 Gostos 0
Troféus totais: 19
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 4 Level 3 Level 2 Level 1 50 Posts 10 Posts First Post

Foi complicado mas lá resolvi. Obrigado a todos pela ajuda!