-
AuthorPosts
-
December 11, 2015 at 3:36 pm #551127
Hi guys!
I made the header custom size. When I click on an anchor link content scroll down and header cover the content. Please ask how can i do the scroll to anchor +100px? Sorry for my English :) Thx.December 14, 2015 at 5:11 am #551923Hey Vadim_AV,
Could you provide us with a link to the site in question so that we can take a closer look please?
Best regards,
RikardDecember 14, 2015 at 9:17 am #552027site and images
December 17, 2015 at 4:16 am #554144Hey!
Try opening up /enfold/js/avia.js and find line 268 which should look like this.
offset: (parseInt($('.html_header_sticky #main').data('scroll-offset'), 10)) + ($(".html_header_sticky #header_main_alternate").outerHeight()) + ($(".html_header_sticky.html_header_unstick_top_disabled #header_meta").outerHeight()) + 1 + parseInt($('html').css('margin-top'),10),
Try changing it to this.
offset: (parseInt($('.html_header_sticky #main').data('scroll-offset'), 10)) + ($(".html_header_sticky #header_main_alternate").outerHeight()) + ($(".html_header_sticky.html_header_unstick_top_disabled #header_meta").outerHeight()) + 1 + parseInt($('html').css('margin-top'),10) - 100,
Cheers!
ElliottDecember 17, 2015 at 9:12 am #554268Hey guys,
I do this, but it doesn’t work.
On the first page scroll work perfect to the next section.- This reply was modified 8 years, 11 months ago by Vadim_AV.
December 18, 2015 at 9:57 am #554878Elliott, Rikard any ideas? Please guys it’s very important for me.
December 19, 2015 at 4:31 pm #555414it doesn’t work because the button is located in the google map shortcode. Then i put the button in the body everything work perfect.
December 21, 2015 at 4:31 am #555728Hi,
I’m not sure what you mean by your last post, did you manage to get your problems fixed?
Regards,
RikardDecember 21, 2015 at 9:05 am #555810Sorry Rikard. No i don’t solve the problem. i need to scroll from google map to page anchor link, but it doesn’t work. Please help me.
December 21, 2015 at 9:10 am #555813You can see, i add two identical buttons on page. One in google map short code, another in body. They work differently, how to fix it?
December 23, 2015 at 8:21 am #556917Hey guys, have some news?
December 24, 2015 at 12:10 am #557253Hi!
Sorry, I’m not sure if it’s possible to implement that change from within an iframe (google maps).
Regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.