-
AuthorPosts
-
January 9, 2007 at 9:19 pm #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
January 10, 2007 at 9:32 am #213068Hi,
Any ideas, anyone??
Thanks,
AnthonyKhanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
January 11, 2007 at 3:44 am #213080Add this style to remove the gap:
#ja-joomfish div.moduletable {margin:0;padding:0}
January 11, 2007 at 6:11 am #213081That works great!
Thanks a lot 🙂Anthony
AuthorPostsViewing 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
Last Hurdle with JoomFish – Help Please?
Viewing 4 posts - 1 through 4 (of 4 total)