-
AuthorPosts
-
brenot Friend
brenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
April 10, 2011 at 4:20 pm #162601Hy friends,
I´m studing this template, for future use, and I have a request.
I need to place the logo, so that it sits on top of the slideshow. I´m talking abou zindex.
-
aman204 Friend
aman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 10, 2011 at 4:35 pm #385616If you wish to achieve the desired result as seen in screenshot,
1) Go to plugins/system/jat3/base-themes/default/blocks/header.php file and shift this code from here::
<?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”><?php echo $sloganText;?></p>
</div>
<?php endif; ?>2) To this file — templates/ja_droid/blocks/mainnav.php below::
<div id=”ja-subnav” class=”wrap”>
<div class=”main clearfix”>
<?php $jamenu->genMenu (1); ?>
</div>
</div>
<?php endif;?>3) Then, You can change this::
h1.logo {template.css (line 361)
float: none;
height: 93px;
margin: 40px auto 20px;
width: 302px;
}to
h1.logo {template.css (line 361)
position:absolute;
z-index:9999;
height: 93px;
margin: 40px auto 20px;
width: 302px;
}brenot Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
April 10, 2011 at 6:15 pm #385643Sorry, I dont now how it happens, the double post, i just reply here….
I did exactly like you told me.
brenot Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
April 10, 2011 at 8:25 pm #385653can you help me????? I do everything you told me upside.
I already send you the data for enter in the admin , did you receive?I waiting for your help
Thanksaman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 11, 2011 at 5:29 am #385709Logo seems to appear fine now. Please clear your browser cache
If still issue persists for you, Please pm ftp details also to take closer look
brenot Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
April 11, 2011 at 1:13 pm #385771I cant see any change, even cleaning cache files, or use other brownsers.
Look , I think you dont understand me, and i cant see why its so dificult
LOOK
Whe have the SLIDESHOW position, where the JA Slideshow2 Module is running… We need to load the LOGO, just in a “layer” (z index) over the JA Slideshow2 Module…..
I will send you the ftp data by pm
Thanks
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
brenot Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
April 11, 2011 at 6:11 pm #385818:DI Think now Its OK.
You are very good, but just not to say it’s perfect. Is there a way for the slideshow does not blink when we change from one page to another in Joomla ????? Please click on something to see what I’m saying.Thanks
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 11, 2011 at 6:24 pm #385821<em>@brenot 233514 wrote:</em><blockquote>:DI Think now Its OK.
You are very good, but just not to say it’s perfect. Is there a way for the slideshow does not blink when we change from one page to another in Joomla ????? Please click on something to see what I’m saying.Thanks</blockquote>
This is apparent behaviour which will tend to happen as JA slideshow loads with script which can take time to load
brenot Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
April 11, 2011 at 6:53 pm #385826OK, I understand, BUT. the background must be loaded first (just css), and this suppose to happen only in the FIRST time that you load , no?
Why this modules is loades every time you click anything?
I just found another bug.. Its about MENU and LOGO Zindex, please look at the attached file;
Thanks for help
ps. if you could, please see my other question, at http://www.joomlart.com/forums/topic/how-to-use-a-cufon-font-in-the-mainmenu/
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 12, 2011 at 6:28 am #385882<blockquote>I just found another bug.. Its about MENU and LOGO Zindex, please look at the attached file;</blockquote>
You will require z-index with higher value for logo to stack it above slideshow module but the menu items will be seen as in screenshot now.
I would suggest you to shift the specific menu item with dropdowns to another place where the dropdowns appear beside logo
brenot Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
April 15, 2011 at 1:51 am #386466I ´ve Just found another bug in your solution.
When the user has a bigger screen resolution,, the logo moves to the left.
TOTALY OUT ALIGN
please see
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 15, 2011 at 5:12 am #386490<em>@brenot 234326 wrote:</em><blockquote>I ´ve Just found another bug in your solution.
When the user has a bigger screen resolution,, the logo moves to the left.
TOTALY OUT ALIGN
please see</blockquote>
For this, You can wrap in above code ::
<?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”><?php echo $sloganText;?></p>
</div>
<?php endif; ?>like this::
<div class=”main”>
<?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”><?php echo $sloganText;?></p>
</div>
<?php endif; ?>
</div>brenot Friendbrenot
- Join date:
- March 2011
- Posts:
- 223
- Downloads:
- 202
- Uploads:
- 49
- Thanks:
- 67
- Thanked:
- 8 times in 3 posts
April 15, 2011 at 1:45 pm #386570Sorry, but in wich file i must to swap the code? Thanks
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 15, 2011 at 5:18 pm #386597<em>@brenot 234459 wrote:</em><blockquote>Sorry, but in wich file i must to swap the code? Thanks</blockquote>
templates/ja_droid/blocks/mainnav.php
AuthorPostsViewing 15 posts - 1 through 15 (of 15 total)This topic contains 15 replies, has 2 voices, and was last updated by aman204 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
How to position just above the slideshow? Z-index
Viewing 15 posts - 1 through 15 (of 15 total)