-
AuthorPosts
-
June 4, 2011 at 3:58 pm #164810
How do I disable the logo?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
June 4, 2011 at 5:03 pm #394687Well, one way you could try is completely remove the code calling out the logo … which should be within path templates – ja_travel – blocks – header.php
?><?php
$app = & JFactory::getApplication();
$siteName = $app->getCfg('sitename');
if ($this->getParam('logoType', 'image')=='image'): ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php else:
$logoText = (trim($this->getParam('logoText'))=='') ? $siteName : JText::_(trim($this->getParam('logoText')));
$sloganText = JText::_(trim($this->getParam('sloganText'))); ?>
<div class="logo-text">
<h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
<p class="site-slogan"><span><?php echo $sloganText;?></span></p>
</div>
<?php endif; ?>
Another, less permanent way that could work is modifying the relative css rule for the logo … look for this within the template.css file (starting at line 666) …
/* Logo Text ---*/
div.logo-text h1 {
font-family: Arial, sans-serif;
font-size: 200%;
font-weight: bold;
}div.logo-text h1 a { text-decoration: none; }
/* Logo Image ---*/
h1.logo { height: 70px; width: 135px; }h1.logo a {
background: url(../images/logo.png) no-repeat left;
display: block;
height: 70px;
width: 135px;
}h1.logo, div.logo-text h1 { font-size: 250%; line-height: 1; }
}
As always, make sure you have a back-up for any changes you make – in case you have to undo what you do.Let us know if that worked.
1 user says Thank You to TomC for this useful post
Yves Keller FriendYves Keller
- Join date:
- September 2014
- Posts:
- 32
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 6 times in 1 posts
June 5, 2011 at 11:19 am #394749or
joomla -> admin -> template manager -> ja_travel -> Profiles -> Select logo type = text (write whatever you want)
or
replace the logo with a transparent image
both options will stay when you update the template.
pritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
June 6, 2011 at 5:39 am #394835Hello ,
To Disable Logo
You need to find this code to templates/ja_travel/css/template.css line no. 678
h1.logo a {
background: url(“../images/logo.png”) no-repeat scroll left center transparent;
display: block;
height: 70px;
width: 135px;
}Change this code to :-
h1.logo a {
display: block;
height: 70px;
width: 135px;
}Again Find this code to plugins/system/jat3/base-themes/default/css/template.css line no 676
h1.logo a {
background: url(“../images/t3_logo_light.png”) no-repeat scroll left center transparent;
display: block;
height: 28px;
width: 184px;
}Change this code to :-
h1.logo a {
display: block;
height: 28px;
width: 184px;
} -
AuthorPosts
This topic contains 4 replies, has 4 voices, and was last updated by pritam 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum