VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
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.


joomfreak-logo

It's time to pass this project on to someone passionate about continuing its journey. joomfreak offers a unique opportunity to build upon a well-established platform and keep providing the Joomla community with quality templates and tools.

If you're interested, we'd love to hear from you!
[email protected]

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.69 seconds
Friday 13 December 2024

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.