-
AuthorPosts
-
txt007 Friend
txt007
- Join date:
- June 2010
- Posts:
- 67
- Downloads:
- 0
- Uploads:
- 34
- Thanks:
- 28
- Thanked:
- 2 times in 1 posts
April 15, 2013 at 9:16 am #186757Hi,
I would like to change the position of the main nav to allow bigger company logo (see pic attached). How can I change the position of the main nav?
thanks and regards,
txt007
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
April 16, 2013 at 1:42 pm #490037Hi txt007,
Our mainnav on JA Mendozite template is defined in <blockquote>templatesja_mendoziteblocksmainnav.php</blockquote>.
And its css styles are defined in <blockquote>templatesja_mendozitecssmenumega.css</blockquote>Regards,
—
Leo
January 6, 2014 at 7:58 pm #517568¿Could you explain with details? ¿Where can I find de logo in php code? Thanks
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 7, 2014 at 1:36 am #517587@ gesto,
The logo is defined in …templatesja_mendoziteblocksheader.php file at lines:
if ($this->getParam('logoType', 'image')=='image'): ?>
<h1 class="logo">
<a href="<?php JURI::base(true) ?>" 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="<?php JURI::base(true) ?>" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
</div>
<?php endif; ?>Just note, you should backup the file before any modification.
January 27, 2014 at 11:12 am #520018Ya…..great people help you here on this forum, but isn’t it completely rediculous that you need to adjust header.php to just put your logo in place ??? Do Joomla and Mendozite not offer any WSYG solutions for this ?
Why does Joomlaart make you pay for templates for which you need assistance for every little detail you want to change or customise ? I consider this a RIP OFF !I have problems with adding the logo, adjusting sizes of text/image columns/modules and so on …..
Seems like Joomla and their Open Sources are a sort of: “how to achieve non-productivity and
spent your time on little bullshit” cms/webbuilder………..phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 30, 2014 at 7:46 am #520471@procurement: In fact, we do not need to edit the header.php block to adjust the logo size. My suggestion was to answer another user’s question when he wanted to know where the logo is defined in php file.
In your case, you just open the templates/ja_mendozite/css/template.css file:
h1.logo a {
background: url('../templates/ja_mendozite/images/logo.png') no-repeat left;
display: block;
width: 335px;
height: 35px;
background-size: 100% 100%;
}Then you can adjust the logo size as you want. I really understand that you guys just want to change the logo (simple modification) without editing any php or css file. But, you know the logo size of each website will be different so that It will be not good idea to define a same fixed size available in template.
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 4 voices, and was last updated by phong nam 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum