Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • brenot Friend
    #162601

    Hy 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.


    1. howitis
    2. howmustTObe
    aman204 Friend
    #385616

    If 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 Friend
    #385643

    Sorry, I dont now how it happens, the double post, i just reply here….

    I did exactly like you told me.

    brenot Friend
    #385653

    can 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
    Thanks

    aman204 Friend
    #385709

    Logo 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 Friend
    #385771

    I 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


    1. HOWMUSTTOBE
    aman204 Friend
    #385816

    You can check it now as I have made changes in accordance with suggestions provided in second post

    brenot Friend
    #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 Friend
    #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 Friend
    #385826

    OK, 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/


    1. menuBUG
    aman204 Friend
    #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 Friend
    #386466

    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


    1. review1
    aman204 Friend
    #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 Friend
    #386570

    Sorry, but in wich file i must to swap the code? Thanks

    aman204 Friend
    #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

Viewing 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