-
AuthorPosts
-
richardmax Friend
richardmax
- Join date:
- September 2014
- Posts:
- 95
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 29
- Thanked:
- 13 times in 1 posts
osorgho Friendosorgho
- Join date:
- June 2006
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
November 11, 2013 at 11:24 am #511832Hi to all
I will return to the different steps of change logo. I tried to follow this forum but I do not it. Can someone summarize all these steps in a single post? Will have to use the LESS file and after to compile LESS to CSS?
I use the 3.1 of this template and the logo size is : 145 X 90.
osorgho Friendosorgho
- Join date:
- June 2006
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
November 11, 2013 at 3:34 pm #511845Person to meet me ?????:((
richardmax Friendrichardmax
- Join date:
- September 2014
- Posts:
- 95
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 29
- Thanked:
- 13 times in 1 posts
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 13, 2013 at 2:14 pm #512111@osorgho: You can back up the files and refer this tip to change the logo and its size on our T3v3 templates.
I guess the width span of logo and navigation position in header block may be abandon the size of your logo. The idea is increasing the span grid of logo so that it will display fine the selected size. Just try on that and don’t forget to inform me the result.
majdi2 Friendmajdi2
- Join date:
- October 2008
- Posts:
- 62
- Downloads:
- 16
- Uploads:
- 15
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 2, 2014 at 12:20 pm #517153<em>@majdi2 396234 wrote:</em><blockquote>We have the logo width set to 150, but full width of logo is not showing, see attached screenshot…</blockquote>
We edited the template.css to the following;
.logo-image h1 a {
background-image: url("../images/logo.png");
background-repeat: no-repeat;
width: 150px;
height: 95px;Why is it so completed to change a logo? This should be a simple process, users should be able to upload a new logo and the template should adjust to the new logo width and hight.
Can someone please help us fix this problem.
Thanks
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 2, 2014 at 1:05 pm #517157Hi majdi2,
In fact, you can upload a new logo image inside the Theme tab of template style. However, the logo section size will be different on the JA templates and generally the new logo of you guys always is bigger than our default template logo. That is why adjusting the new logo size with editing the .css file is most potential solution.
majdi2 Friendmajdi2
- Join date:
- October 2008
- Posts:
- 62
- Downloads:
- 16
- Uploads:
- 15
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 3, 2014 at 10:44 am #517267Hi Leo, we did just that and it did not work, please see attachment and how the logo is cut off the right edge.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 3, 2014 at 12:22 pm #517281Hi,
Can you upload the attachment again and PM me with the site’s url ? I will take a look and give you the suitable override css styles to solve the cut logo.
majdi2 Friendmajdi2
- Join date:
- October 2008
- Posts:
- 62
- Downloads:
- 16
- Uploads:
- 15
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 5, 2014 at 10:36 am #517380I followed your instructions and added the custom.css as per Ninja Lead. This is what we get; . You can see the main menu has dropped and remained there even after making changes as per http://www.joomlart.com/forums/topic/resize-logo-4/#post-509473
Please help…
majdi2 Friendmajdi2
- Join date:
- October 2008
- Posts:
- 62
- Downloads:
- 16
- Uploads:
- 15
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 5, 2014 at 11:47 am #517382Anyone please help…
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 6, 2014 at 2:09 am #517426@ majdi2,
As mentioned in previous reply, could you send me the site’s url? I will take a look and give you css tweak to fit the logo.
February 20, 2014 at 10:01 pm #523655<em>@richardmax 394221 wrote:</em><blockquote>Yes i know, mega menu is the key.
I have made progress. Search div on top of menu:
I did: in templates/ja_beranis/tpls/blocks/header.php find ..
<header id="t3-header" class="t3-header container">
<div class="row"><!-- LOGO -->
<div class="span2 logo">
<div class="logo-<?php echo $logotype ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
</h1>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</div>
</div>
<!-- //LOGO --><!-- MAIN NAVIGATION -->
<nav id="t3-mainnav" class="t3-mainnav navbar-collapse-fixed-top span10">
<?php if ($this->countModules('position-0')) : ?>
<div class="head-position<?php $this->_c('position-0')?>">
<jdoc:include type="modules" name="<?php $this->_p('position-0') ?>" style="raw" />
</div>
<?php endif ?><?php if ($this->countModules('languageswitcherload')) : ?>
<div class="languageswitcher<?php $this->_c('languageswitcherload')?>">
<jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
</div>
<?php endif ?><div class="navbar">
<div class="navbar-inner">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-reorder"></i>
</button>
<div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
<?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
<?php else : ?>
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
<?php endif ?>
</div>
</div>
</div>
</nav>
<!-- //MAIN NAVIGATION --></div>
</header>and Move to upper Logo session :
<header id="t3-header" class="t3-header container">
<div class="row"><?php if ($this->countModules('position-0')) : ?>
<div class="head-position<?php $this->_c('position-0')?>">
<jdoc:include type="modules" name="<?php $this->_p('position-0') ?>" style="raw" />
</div>
<?php endif ?><!-- LOGO -->
<div class="span2 logo">
<div class="logo-<?php echo $logotype ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
</h1>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</div>
</div>
<!-- //LOGO --><!-- MAIN NAVIGATION -->
<nav id="t3-mainnav" class="t3-mainnav navbar-collapse-fixed-top span10">
<?php if ($this->countModules('languageswitcherload')) : ?>
<div class="languageswitcher<?php $this->_c('languageswitcherload')?>">
<jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
</div>
<?php endif ?><div class="navbar">
<div class="navbar-inner">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-reorder"></i>
</button>
<div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
<?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
<?php else : ?>
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
<?php endif ?>
</div>
</div>
</div>
</nav>
<!-- //MAIN NAVIGATION --></div>
</header>And have it:
but does not look good in smartphone portrait view:
Thanks</blockquote>
@richardmaxI made the suggested change, but it works when the template is the default. In my case I’m using the orange did not take the change. Can you help? thanks
Site url http://200.110.132.182/~admin15/
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
richardmax Friendrichardmax
- Join date:
- September 2014
- Posts:
- 95
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 29
- Thanked:
- 13 times in 1 posts
February 21, 2014 at 3:13 pm #523777<em>@pguaraz 412507 wrote:</em><blockquote>@richardmax
I made the suggested change, but it works when the template is the default. In my case I’m using the orange did not take the change. Can you help? thanks
Site url http://200.110.132.182/~admin15/</blockquote>
Are you right. Work only for default template. Follow me:
Note: My logo is: width: 166px height: 82px. You must work from your own data, of course
1- Add to templates/ja_beranis/css/customs.css (will be loaded by all themes)
/* For smartphone portrait view.
* Width is ok for my logo. Try you
*/
@media (max-width: 767px) {
.logo-image h1 a {
height: 35px !important;
background-size: 50% !important;
margin-top: 0px !important;
}
}/*
* span2 + span10 (width) can't not bigger than .container (width: 880px;)
*
* For Logo container area
* Width is ok for my logo. Try you
*
*/
.span2 {
width: 166px;
}/* For Nav container area.
* Width is ok for my logo. Try you
*/
.span10 {
width: 690px;
float: right;
}/* For logo dimensions and picture */
.logo-image h1 a {
background-image: url("../images/samg_logo.png");
background-repeat: no-repeat;
width: 166px;
height: 82px;
}
2- in templates/ja_beranis/tpls/blocks/header.php find ..
<header id="t3-header" class="t3-header container">
<div class="row"><!-- LOGO -->
<div class="span2 logo">
<div class="logo-<?php echo $logotype ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
</h1>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</div>
</div>
<!-- //LOGO --><!-- MAIN NAVIGATION -->
<nav id="t3-mainnav" class="t3-mainnav navbar-collapse-fixed-top span10">
<?php if ($this->countModules('position-0')) : ?>
<div class="head-position<?php $this->_c('position-0')?>">
<jdoc:include type="modules" name="<?php $this->_p('position-0') ?>" style="raw" />
</div>
<?php endif ?><?php if ($this->countModules('languageswitcherload')) : ?>
<div class="languageswitcher<?php $this->_c('languageswitcherload')?>">
<jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
</div>
<?php endif ?><div class="navbar">
<div class="navbar-inner">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-reorder"></i>
</button>
<div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
<?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
<?php else : ?>
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
<?php endif ?>
</div>
</div>
</div>
</nav>
<!-- //MAIN NAVIGATION --></div>
</header>and Move to upper Logo session :
<header id="t3-header" class="t3-header container">
<div class="row"><?php if ($this->countModules('position-0')) : ?>
<div class="head-position<?php $this->_c('position-0')?>">
<jdoc:include type="modules" name="<?php $this->_p('position-0') ?>" style="raw" />
</div>
<?php endif ?><!-- LOGO -->
<div class="span2 logo">
<div class="logo-<?php echo $logotype ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
</h1>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</div>
</div>
<!-- //LOGO --><!-- MAIN NAVIGATION -->
<nav id="t3-mainnav" class="t3-mainnav navbar-collapse-fixed-top span10">
<?php if ($this->countModules('languageswitcherload')) : ?>
<div class="languageswitcher<?php $this->_c('languageswitcherload')?>">
<jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
</div>
<?php endif ?><div class="navbar">
<div class="navbar-inner">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-reorder"></i>
</button>
<div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
<?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
<?php else : ?>
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
<?php endif ?>
</div>
</div>
</div>
</nav>
<!-- //MAIN NAVIGATION --></div>
</header>It look like this picture:
Any question send me PM for spanish
Click Thanks if my post is helpful :-[
-
1 user says Thank You to richardmax for this useful post
AuthorPostsThis topic contains 32 replies, has 10 voices, and was last updated by Ninja Lead 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum