Imagens no top/titulo dos módulos

  • rodriqo
  • Avatar de rodriqo Autor do Tópico
  • Offline
  • JCB! Master
  • JCB! Master
Mais
14 anos 4 meses atrás #22535 por rodriqo
rodriqo created the topic: Imagens no top/titulo dos módulos
Seria possivel, diretamente no código do template, na organização dos módulos chamar uma imagem para ser o cabeçalho de cada módulo?

Assim eu poderia ter imagens diferentes e não como no CSS que ele seta uma imagem padrão no top dos módulos.

Como eu poderia proceder?

[b:2w54y43z]http://www.[color=#0000FF:2w54y43z]RODRIGOFARIASTS[/color:2w54y43z].com.br[/b:2w54y43z]

Please Entrar ou Registrar to join the conversation.


Mais
14 anos 4 meses atrás #22559 por herlonoliveira
herlonoliveira replied the topic: Re: Imagens no top/titulo dos módulos
Olá,

Tenta isto.
<h1 id="logo"><img src="<?php echo $template_path;?>/images/logo.png" alt="SEU NOME" title="TITULO" border="0" /></h1>

Atenciosamente,

Hérlon Oliveira
(11) 3221-0884 - (11) 2685-6088 - (11) 8641-5058
<!-- w --><a class="postlink" href=" www.vpstudio.com.br "> www.vpstudio.com.br </a><!-- w -->

Please Entrar ou Registrar to join the conversation.

  • rodriqo
  • Avatar de rodriqo Autor do Tópico
  • Offline
  • JCB! Master
  • JCB! Master
Mais
14 anos 4 meses atrás #22561 por rodriqo
rodriqo replied the topic: Re: Imagens no top/titulo dos módulos

herlonoliveira escreveu: Olá,

Tenta isto.
<h1 id="logo"><img src="<?php echo $template_path;?>/images/logo.png" alt="SEU NOME" title="TITULO" border="0" /></h1>



Ok, deixa ver se entendi...

O código é:
<div id="conwrap">
<?php if (mosCountModules('left')) : ?>
<div id="l_w1">
<?php mosLoadModules('left', -2); ?>
</div>
<?php endif; ?>

Considerando apenas a coluna left.
Mais essa coluna tem vários módulo, e são nos módulos que quero por a imagem no local aonde fica o título. Então entendo que h1 seria a posição e a ordem dos módulos?

No caso vc se refere a alterar esse código ou no template.css?

No template CSS tenho tenho a seguinte disposição de sufixos (special1 e special2 / dark1 e dark2)
/* Modules

-------------------------------------------------------------------------------- */

div.moduletable,
div.moduletable-special1,
div.moduletable-special2,
div.moduletable-dark1,
div.moduletable-dark2 {
	font: normal 100% Tahoma, Geneva, Arial, Verdana, sans-serif;
	padding: 10px;
	margin: 0px 0px 10px 0;
	background: #fff;
	border: 1px solid #ccc;
}
div.moduletable h3,
div.moduletable-special1 h3,
div.moduletable-special2 h3,
div.moduletable-dark1 h3,
div.moduletable-dark2 h3 {
	font: bold 110% Tahoma, Geneva, Arial, Verdana, sans-serif;
	padding: 0px 10px 0 0;
	margin: -4px -10px 5px 0;
	line-height: 20px;
	height: 20px;
}
div.moduletable-special1,
div.moduletable-special2 {
	padding:0;
	background: none;
	border: none;
}
div.moduletable-advert1,
div.moduletable-advert2 {
	font: normal 100% Tahoma, Geneva, Arial, Verdana, sans-serif;
	padding: 0;
	margin: 0 0 10px;
	background: none;
	text-align: center;
}
div.moduletable-advert2 {
	padding:4px;
	border: 1px solid #ccc;
}
div.moduletable-advert1 h3,
div.moduletable-advert2 h3 {
	font: normal 10px Tahoma, Geneva, Arial, Verdana, sans-serif;
	padding:0;
	margin: -4px 0 1px 0;
	color: #666;
}
div.moduletable-advert2 h3 {
	margin: -10px auto 1px auto;
	background: #E2E2E2;
	width: 80%;
}
/* Restriction */
div.moduletable-dark1 {
	background: #202528;
	border: 1px solid #202528;
	color: #fff;
}
div.moduletable-dark1 a {
	color: #898f93;
}
div.moduletable-dark1 a.readon,
div.moduletable-dark1 .button-dark1 {
	text-decoration: none;
	background: #3B4348;
	color: #ccc;
}
div.moduletable-dark1 a.readon:hover,
div.moduletable-dark1 .button-dark1:hover {
	text-decoration: none;
	background: #444d52;
}
div.moduletable-dark2 {
	background: #3B4348;
	border: 1px solid #ccc;
	color: #fff;
}
div.moduletable-dark2 a {
	color: #9a9fa2;
}
div.moduletable-dark2 a.readon:hover,
div.moduletable-dark2 .button-dark2:hover {
	text-decoration: none;
	background: #181c1e;
}

[b:2w54y43z]http://www.[color=#0000FF:2w54y43z]RODRIGOFARIASTS[/color:2w54y43z].com.br[/b:2w54y43z]

Please Entrar ou Registrar to join the conversation.