-
AuthorPosts
-
December 17, 2013 at 10:59 am #201035
Hello, i had to made some modifications, that arerealized with the help here. :-)
Now i got another one.
I positioned the header with the menu at the bottom of the slider. (margin-top: 212px;)
The slider is now at the top of the page. (margin-top: -88px;)
But now the “scroll-menu” is of course with the margin of 212 px on the site.
Is there a way to change this to that the menu starts with the scroll menu, when the page is scroll for mor than 212 px?Hope you understand my question. :-)
The site can be viewed here:
http://polyscale.m3ms.de/Cheers,
MarkusDecember 18, 2013 at 2:55 am #201347Hey!
Try adding this code to the Quick CSS:
.header-scrolled #header_main{ margin-top: 0 !important; }
Cheers!
JosueDecember 18, 2013 at 10:31 am #201466Hi Josue,
now the scroll-menu is at the top. Thanx.
Is there a way that it starts after scrolling 200 px?And i got another porblem.
Can someone take a look with the internet Explorer?
It´s not scrolling, it´s “jumping”.Cheers,
Markus- This reply was modified 11 years ago by der_mueller.
December 18, 2013 at 6:30 pm #201624February 5, 2014 at 12:37 am #219709Hello Josue,
can this be realized with this jQuery plugin:
http://bigspotteddog.github.io/ScrollToFixed/Cheers,
MarkusFebruary 5, 2014 at 12:48 am #219712Hi!
I don’t think that’s necessary, if you know some JavaScript, you can try tweaking it in js/avia.js around line 1044 (avia_header_size function).
Cheers!
JosueFebruary 5, 2014 at 1:04 am #219717Hi Josue,
thanx for your quick answer.
Unfortunately im not familiar with Javascript. :-(Cheers,
MarkusFebruary 5, 2014 at 1:19 am #219720Hi,
Can you create an administrator account and post it here as a private reply?
Regards,
JosueFebruary 5, 2014 at 1:34 am #219723This reply has been marked as private.February 5, 2014 at 2:06 am #219730Hey!
I added some code to js/avia.js and css/custom.css and it appears to doing the job, see:
http://polyscale.m3ms.de/This is only applied to the home.
Best regards,
JosueFebruary 5, 2014 at 2:16 am #219732This reply has been marked as private.February 5, 2014 at 2:29 am #219734This reply has been marked as private.February 5, 2014 at 2:33 am #219735Hi!
No i didn’t, the change in js/avia.js is at the very end, this piece of code:
jQuery(window).scroll(function () { scrollY = jQuery(window).scrollTop(); if(scrollY >= 220){ jQuery(".home #header").addClass("non"); }else{ jQuery(".home #header").removeClass("non"); } });
Best regards,
JosueFebruary 5, 2014 at 8:21 pm #220074That works great.
Thanx a lot!!!!!Cheers,
Markus -
AuthorPosts
- The topic ‘Scrollmenu’ is closed to new replies.