Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

White space about 1'' at bottom of Avanti Template

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,

I've got a one to two inch white space at the bottom of the Avanti template that I would like to remove. It's probably something simple, but I'm unable to locate where to make the change. You can see what I mean here:
lineofvision.com/restaurants/restaurantAvanti/

Any help or suggestions would be truly appreciated.

Thanks
  • Percy's Avatar
  • Percy
  • LIfetime Developer - Big Bamboo
  • 330 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hey percy,

You will need to go into your Joomla admin, under the module manager, locate the microblog module and disable it or unpublish it from the home menu item.

Let us know how that works for you.

Cheers,
Jason.
  • Jason D's Avatar
  • Jason D
  • 6 Month Developer
  • 2957 posts
  • 12 Thanks
  • Karma: 75
The administrator has disabled public write access.
Hey Jason,

Thanks for the really quick reply!

I can't locate a module in the module manager called microblog.. or anything in the home menu item.
I do have a menu item called 'Blog' but I'm pretty sure that's not relevant.. and it is already unpublished.

I have cleared joomla and browser cache, purged expired joomla cache, checked trash contents, global check-in.. no luck.

Thanks man
  • Percy's Avatar
  • Percy
  • LIfetime Developer - Big Bamboo
  • 330 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hey Percy,
You're welcome.
It seems like there is an empty microblog module published there, so in your module manager, look for mod_mocroblog as the module name.

Cheers,
Jason.
  • Jason D's Avatar
  • Jason D
  • 6 Month Developer
  • 2957 posts
  • 12 Thanks
  • Karma: 75
The administrator has disabled public write access.
Hey Jason,

Thanks for trying to help :-)

Unless I'm blind, and it won't be the first time I've been called that, I'm unable to find a module name that resembles microblog. Here's the complete list of modules in the mod manager and module status:

Bamboo Box Enabled
Slogan Enabled
JB Slideshow v3.1 Enabled
Features Enabled
Latest News Disabled
Popular Disabled
In progress Disabled
Tweet Stream Disabled
Latest News Disabled
Get in touch Enabled
Breadcrumbs Enabled
Captify Content Enabled
Popular Enabled
Bottom Menu Enabled
From the blog ... Disabled
K2 Content Disabled
Panel Menu Disabled
Features Disabled
Panel Disabled
Panel Menu Enabled
Date Title Disabled
prettySlider Disabled
JB FAQ Disabled
Mini Moo 2 Disabled
JFlickr Disabled
K2 Comments Disabled
K2 Login Disabled
K2 Tools Disabled
Top Menu Enabled
Login panel Spiele Disabled
Member Login Disabled
prettyBox Enabled
Panel Menu Enabled
Latest Enabled

I hope it was ok to post this?

Thanks!
  • Percy's Avatar
  • Percy
  • LIfetime Developer - Big Bamboo
  • 330 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hey Percy,

Thanks, and you're right. It isn't the microBlog module. It is just the frontpage layout that is empty and the template wasn't design to have no article of module published to the front page. I'll try and find a workaround for you.

Cheers,
Jason.
  • Jason D's Avatar
  • Jason D
  • 6 Month Developer
  • 2957 posts
  • 12 Thanks
  • Karma: 75
The administrator has disabled public write access.
You rock!

Thanks Jason

Percy
  • Percy's Avatar
  • Percy
  • LIfetime Developer - Big Bamboo
  • 330 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Just checking :)
  • Percy's Avatar
  • Percy
  • LIfetime Developer - Big Bamboo
  • 330 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hey Percy,

Sorry, this one hasn't got enough attention yet. Back on my list now :)

Cheers,
Jason.
  • Jason D's Avatar
  • Jason D
  • 6 Month Developer
  • 2957 posts
  • 12 Thanks
  • Karma: 75
The administrator has disabled public write access.
Hey Percy,

If you do not plan to use any other positions on the frontpage, I have a workaround for this.

It involves adding a bit of code to the index.php file for the template.
You should first take a backup of the file
/templates/jb_avanti/index.php

Then at line 4 add the following
// frontpage hack variable 
 $home = 0;
 $menuitem = & JSite::getMenu();
 if ($menuitem->getActive() == $menuitem->getDefault()) {
 $home = "1";
 }

On line 473 (approx.)
You have
<!-- Third Row Grid -->
<?php endif; ?>

<div class="outerWrapper mainRow">

Change it to
<!-- Third Row Grid -->
<?php endif; ?>
<?php if(!($home)){?>
<div class="outerWrapper mainRow">


The approx. on line 557
you have
<div id="mainContent"  class="<?php echo $mainWidth ?>">
												<jdoc:include type="message" />
												<jdoc:include type="component" />
										</div>

Change that to
<div id="mainContent"  class="<?php echo $mainWidth ?>">
											<?php }?>
												<jdoc:include type="message" />
												<jdoc:include type="component" />
											<?php if(!($home)){?>
										</div>


Finally on line 633 (approx)

You have
</div>

<div id="botGridWrap">


Change it to
</div>
<?php }?>
<div id="botGridWrap">


That should remove the white strip on the front page.
Let us know how well this works for you.

Cheers,
Jason.
  • Jason D's Avatar
  • Jason D
  • 6 Month Developer
  • 2957 posts
  • 12 Thanks
  • Karma: 75
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers