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

Scrolling problem
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Scrolling problem

Scrolling problem 13 Dec 2016 17:13 #9798

Hi

I have a problem with template jf coude on site smlacko2.hekko24.pl I`ve made extended main menu, there are many position and menu is very long. The problem is when I`m scrolling down to access menu items at down site is scrolling and I can`t access them. Is it possible to block "body" scrolling?

  • Posts:3
  • tom_tag
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Scrolling problem 14 Dec 2016 03:31 #9799

You can edit file template.css, modify:
 
#header {
...
position: fixed;
}
 

to:
 
#header {
...
position: relative;
}
 

And edit file templates/jf_couda/scripts/js/template.js, comment line:
 
$('body').css('padding-top', $('#header').outerHeight());
 


joomfreak
The following user(s) said Thank You: tom_tag

  • Posts:2452
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Scrolling problem 14 Dec 2016 09:55 #9801

Hi

Working like a charm, You make my day;)

Thanks a lot once again. Perfect support!




One more thing, after changes in template. js mobile menu stopped working. Is there any way to fix it???
Last Edit: 14 Dec 2016 20:01 by tom_tag.

  • Posts:3
  • tom_tag
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Scrolling problem 15 Dec 2016 02:59 #9804

You should comment like this:
 
//$('body').css('padding-top', $('#header').outerHeight());
 

There are two lines you have to comment.

joomfreak
The following user(s) said Thank You: tom_tag

  • Posts:2452
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Scrolling problem 15 Dec 2016 10:07 #9807

Hurray!

It`s alive:)

Thank you

  • Posts:3
  • tom_tag
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 1.03 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.