Modulo de noticia principal.

  • riccelly
  • Avatar de riccelly Autor do Tópico
  • Offline
  • JCB! Geek
  • JCB! Geek
Mais
15 anos 6 meses atrás #27458 por riccelly
riccelly created the topic: Modulo de noticia principal.
olá pessoal, uso um modulo que mostra a ultima noticia postada logo acima de um modo da Gk news na minha index.php, essa noticia está com uma fonte muito pequena e keria aumenta-la , como faço isso?

uso o modulo: mod_latestnews e o mesmo não tem css...

Sites Dinâmicos
[url:300s9oc2]http://www.lifeagenciaweb.com[/url:300s9oc2]

[b:300s9oc2]"Aprenda, mas compartilhe!
Vamos crescer juntos!"[/b:300s9oc2]

Please Entrar ou Registrar to join the conversation.


Mais
15 anos 6 meses atrás #27628 por thgcivic
thgcivic replied the topic: Re: Modulo de noticia principal.
Olá Riccelly
bom basta colocar font-size:18px
para a tag a(link)
mas tem um problema
a ID eh a msm para todo o site
para modificar apenas ali
eh preciso vc acrescentar isso apenas para akela posição

provavelmente ali onde está sua notícia tem uma posição
e q seja uma posição diferente da de ultimas noticias e do modulo da Gavick
pois se ñ vai afetar eles
caso ñ tenha
crie uma ali e para ID ou classe q vc definir para ela coloque font-size:18px;

Ex.
vamos supor q vc definiu q a posição dessa noticia seja a posição "user2" e vc definiu o ID dela como "destaque"
entao o codigo no CSS fica assim
#user2 a {
           font-size:18px;
}

tente ai
Inte <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

Please Entrar ou Registrar to join the conversation.

  • riccelly
  • Avatar de riccelly Autor do Tópico
  • Offline
  • JCB! Geek
  • JCB! Geek
Mais
15 anos 6 meses atrás #27779 por riccelly
riccelly replied the topic: Re: Modulo de noticia principal.
blz, criei a posição.

mas que arquivo css ponho o código ??

coloca os detalhes civic.

obg.

Sites Dinâmicos
[url:300s9oc2]http://www.lifeagenciaweb.com[/url:300s9oc2]

[b:300s9oc2]"Aprenda, mas compartilhe!
Vamos crescer juntos!"[/b:300s9oc2]

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 6 meses atrás #27784 por thgcivic
thgcivic replied the topic: Re: Modulo de noticia principal.
Olá riccelly
nesse arquivo
http://www.campinaonline.com.br/templat ... te_css.css

Inté <!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->

[b:1fi4zh5y]Acesse minha página [url:1fi4zh5y]http://www.webmasterthg.com.br/[/url:1fi4zh5y][/b:1fi4zh5y]
[b:1fi4zh5y][i:1fi4zh5y]Não respondo dúvidas por MP, por favor crie um tópico ñ custa nada[/i:1fi4zh5y][/b:1fi4zh5y]

Please Entrar ou Registrar to join the conversation.

  • riccelly
  • Avatar de riccelly Autor do Tópico
  • Offline
  • JCB! Geek
  • JCB! Geek
Mais
15 anos 6 meses atrás #27785 por riccelly
riccelly replied the topic: Re: Modulo de noticia principal.
<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );
define( 'YOURBASEPATH', dirname(__FILE__) );

$live_site = $mainframe->getCfg('live_site');
$template_path = $this->baseurl . '/templates/' . $this->template;
$show_flashheader = ($this->params->get("showFlashheader", 1) == 0)?"false":"true";
$show_logo = ($this->params->get("showLogo", 1) == 0)?"false":"true";
$show_date = ($this->params->get("showDate", 1) == 0)?"false":"true";
$show_breadcrumbs = ($this->params->get("showBreadcrumbs", 1) == 0)?"false":"true";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />

<link rel="shortcut icon" href="<?php echo $this->baseurl; ?>/images/favicon.ico" />
<link href="<?php echo $this->baseurl ?>/templates/system/css/system.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl ?>/templates/system/css/general.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/template_css.css" rel="stylesheet" type="text/css" />

<!--[if lte IE 6]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" />
<![endif]-->

</head>

<body class="body_bg">

<?php if( $this->countModules('user3') ) {?>
<div id="topcol">
<div id="topmenu">
<table cellspacing="0" cellpadding="0" style="float: left;">
<tr>
<td>
<jdoc:include type="modules" name="user3" />
</td>
</tr>
</table>
</div>
</div>
<?php } ?>

<div id="bgr">
<div id="wrapper">
<div id="tophead">

<!-- BEGIN: SEARCH -->

<!-- END: SEARCH -->

<!-- BEGIN: LOGO -->
<?php if($show_logo == "true") : ?>
<div id="logo">
<object type="application/x-shockwave-flash" data="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/logo.swf" width="230" height="230">
<param name="wmode" value="transparent" />
<param name="movie" value="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/logo.swf" />
</object>
</div>
<?php endif; ?>
<!-- END: LOGO -->

<!-- BEGIN: flashheader -->
<?php if($show_flashheader == "true") : ?>
<div id="ol-flashheader">
<object type="application/x-shockwave-flash" data="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/header.swf" width="700" height="240">
<param name="wmode" value="transparent" />
<param name="movie" value="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/header.swf" />
</object>
</div>
<?php endif; ?>
<!-- END: flashheader -->

<!-- BEGIN: Date -->
<?php if($show_date == "true") : ?>
<div id="date-format">
<?php $now = &JFactory::getDate(); echo $now->toFormat("%A, %d %b %Y"); ?>
</div>
<?php endif; ?>
<!-- END: Date -->
</div>
<?php if( $this->countModules('user4') ) {?>
<div id="topcol">
<div id="topmenu">
<table cellspacing="0" cellpadding="0" style="float: left;">
<tr>
<td>
<jdoc:include type="modules" name="user4" />
</td>
</tr>
</table>
</div>
</div>
<?php } ?>

<div id="wrapper_2">
<div id="holder">
<!--pathway start-->
<?php if ($show_breadcrumbs == "true") : ?>
<div class="path">
Você está aqui: <jdoc:include type="module" name="breadcrumbs" />
</div>
<?php endif; ?>
<!--pathway end-->

<div id="content">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="left">
<jdoc:include type="modules" name="left" style="rounded" />
</div>
<?php endif; ?>

<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="main">
<?php else: ?>
<div id="main_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />

<!-- BEGIN: USERS TEMPSPLASH -->
<div id="lr-padd">

<?php if( $this->countModules('destaque') ) {?>
<td class="lr-padd">
<jdoc:include type="modules" name="destaque" style="xhtml" />
</td>

<?php } ?>


<?php if( $this->countModules('bannerflash') ) {?>
<td class="lr-padd">
<jdoc:include type="modules" name="bannerflash" style="xhtml" />
</td>

<?php } ?>
<?php if( $this->countModules('banner') ) {?>
<td class="lr-padd">
<jdoc:include type="modules" name="banner" style="xhtml" />
</td>
<?php } ?>

<?php if ($this->countModules('maislidas')) : ?>
<div>
<jdoc:include type="modules" name="maislidas" style="xhtml" />
</div>
<?php endif; ?>

</div>
<!-- END: USERS TEMPSPLASH -->

<jdoc:include type="component" />
</div>
</div>

<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="right">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</div>

<?php if ($this->countModules('enquete')) : ?>
<div>
<jdoc:include type="modules" name="enquete" style="xhtml" />
</div>
<?php endif; ?>

<!--footer start-->
<div id="footer">
<div id="footer_in">
<div>
<div style="text-align: center; padding: 18px 0 0;">
<?php include (dirname(__FILE__).DS.'/footer.php');?>
</div>
</div>
</div>
</div>
<!--footer end-->
</div>
</div>
</div>
</div>
<jdoc:include type="modules" name="debug" />
</body>
</html>

Sites Dinâmicos
[url:300s9oc2]http://www.lifeagenciaweb.com[/url:300s9oc2]

[b:300s9oc2]"Aprenda, mas compartilhe!
Vamos crescer juntos!"[/b:300s9oc2]

Please Entrar ou Registrar to join the conversation.