VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

[Solved] empty space beneath slideshow on multi...
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [Solved] empty space beneath slideshow on multi...

[Solved] empty space beneath slideshow on multi... 03 Mar 2015 12:10 #6325

When I try to add multilingual content I get wide (1180 px) empty space below the slideshow, which in firebug says:
<div class="cholder-inner" style="height: 1180px;">
Why is this and how can I avoid this empty space?

Homepage: www.raphaelophaus.de

Thanks for your help.
Last Edit: 04 Mar 2015 16:03 by wojoeraf. Reason: solved

  • Posts:2
  • wojoeraf
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: empty space beneath slideshow on multilingual site 04 Mar 2015 16:01 #6336

Solved.
I managed it the following way:

Change in the templates index.php the following line
<?php } else if ($menu->getActive() != $menu->getDefault() { ?>

to
<?php } else if ($menu->getActive() != $menu->getDefault() && !$this->countModules('slideshow')) { ?>


By the way I thought that the following lines are a bit overkill:
 
if(jQuery('.cholder-inner').height() < jQuery('.rotate').width()) {
jQuery('.cholder-inner').height(jQuery('.rotate').width()+220);
}
 


I removed the +220 at the end. If this isn't a good practice for the sake of for me unknown circumstances, please don't hesitate to tell.

  • Posts:2
  • wojoeraf
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.44 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.