test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • frame4 Friend
    #118236

    Hi,

    I have done some work to get the JoomFish language flags up in the top right section of the Bellatrix template, but I need help with the very last hurdle to make it look right. Here is what I have done so far, and what I need:

    (1) Added ‘joomfish’ as a new module position
    (2) Added following to template_css.css


    #ja-joomfish {
    float: top;
    }

    (3) Added following code to the transmenu section of index.php (as I will be using transmenu) – added code marked in red


    <!-- BEGIN: MAIN NAVIGATION -->
    <div id="ja-mainnav">
    <?php
    switch ($ja_menutype) {
    case 1: echo $topnav;
    break;
    case 2:
    include($ja_template_absolute_path."/ja_cssmenu.php");
    break;
    case 3:
    echo "<div class="transmenu-inner">";
    include($ja_template_absolute_path."/ja_transmenu.php");
    if ( mosCountModules( 'joomfish' ) ) {
    echo "<span id="ja-joomfish">";
    mosLoadModules ( 'joomfish',-2 );
    echo "</span>";
    }
    echo "</div>";
    break;
    case 4:
    echo $topnav;
    break;
    }
    ?>
    </div>

    (4) Assigned the JoomFish language module to new module section JoomFish

    And it works!! BUT….

    If you look at the attached (or http://www.frame4,com, top right), the new section bumps the menu down by a few pixels resulting in a black gap. What I would like is

    (5) Fix the gap, and align the flags right (as is, and vertically centered).

    Any ideas please??

    Regards,
    Anthony


    1. Image1
    frame4 Friend
    #213068

    Hi,

    Any ideas, anyone??

    Thanks,
    Anthony

    Khanh Le Moderator
    #213080

    Add this style to remove the gap:


    #ja-joomfish div.moduletable {margin:0;padding:0}

    frame4 Friend
    #213081

    That works great!
    Thanks a lot 🙂

    Anthony

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  frame4 17 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum