1
I Template di Joomla 1.6/1.7/2.5 / Re:Rimozione collegamento del logo dal template j51_oxygen
« il: 06 Ago 2012, 10:19:25 »
Per comodità allego le parti del codice
FILE index.php
<div class="logo_container">
<?php if($this->params->get('logoType') == 'image') : ?>
<h1 class="logo"> <a href="index.php" title="<?php echo $siteName; ?>"> <span>
<?php echo $siteName; ?>
</span>[/url] </h1>
<?php else : ?> <!- se il logo scelto è testuale -->
FILE template.css
/* Logo & Slogan */
.logo_container {height:133px; margin: 0px 0px 0px 0px; overflow:hidden;}
h1.logo{margin:0; padding:0; height:133px;}
h1.logo a {display:block; position:relative; top:0px; left:0px; z-index:0; width:100%; height:133px; background: url(../images/logo.png) no-repeat; z-index:99994;}
h1.logo-text {margin:0; padding:0; text-align:left;}
h1.logo-text a {font-family:Palatino Linotype, Book Antiqua3, Palatino, serif; letter-spacing:-1px; white-space:nowrap; outline:none; position:relative; top:24px; left:72px; text-decoration:none;
font-size:56px; font-weight:normal; text-align:left; width:100%;}
p.site-slogan {padding:0; color:#555 !important; font-size:12px; letter-spacing:2px; position:relative; top:20px; left:77px;
text-align:left; white-space:nowrap;}
FILE index.php
<div class="logo_container">
<?php if($this->params->get('logoType') == 'image') : ?>
<h1 class="logo"> <a href="index.php" title="<?php echo $siteName; ?>"> <span>
<?php echo $siteName; ?>
</span>[/url] </h1>
<?php else : ?> <!- se il logo scelto è testuale -->
FILE template.css
/* Logo & Slogan */
.logo_container {height:133px; margin: 0px 0px 0px 0px; overflow:hidden;}
h1.logo{margin:0; padding:0; height:133px;}
h1.logo a {display:block; position:relative; top:0px; left:0px; z-index:0; width:100%; height:133px; background: url(../images/logo.png) no-repeat; z-index:99994;}
h1.logo-text {margin:0; padding:0; text-align:left;}
h1.logo-text a {font-family:Palatino Linotype, Book Antiqua3, Palatino, serif; letter-spacing:-1px; white-space:nowrap; outline:none; position:relative; top:24px; left:72px; text-decoration:none;
font-size:56px; font-weight:normal; text-align:left; width:100%;}
p.site-slogan {padding:0; color:#555 !important; font-size:12px; letter-spacing:2px; position:relative; top:20px; left:77px;
text-align:left; white-space:nowrap;}