-
AuthorPosts
-
May 13, 2017 at 2:50 pm #792708
Hello i have made this change
.av-logo-container {display: none;}
but when click on te section in page the scroll not pint at the correct position, because the height of the header is set always like with the logo image height.
How i can remove the height of the logo in the header for fix the scroll to section?
Have you the correct solution for remove the logo container section without affecting the scroll to section in page?
May 13, 2017 at 4:06 pm #792732Hey limentani,
I’m not sure I understand, you want to remove the logo on scroll?
Your code removes the whole logo and menu bar.Best regards,
MikeMay 13, 2017 at 4:19 pm #792737Hello i have removed the logo with this css code:
.av-logo-container {display: none;}
But when Header menu link is pressed es: `Sez1“, the scrolling of the page not point in the correct position, because the real Height for the section remain the same.
You can riproduce the same behvoir whit this steps;- Select header with logo on top and menu bottom
- create an homepage
- add “color section element” in home page with id=sez1
- in menu create link Sez1
- hide logo with the css code
- click the link in homepage
Now the problem is showed!!
May 13, 2017 at 6:04 pm #792760Hi,
Try this code in the General Styling > Quick CSS field:#sez1 { margin-top:200px!important; }
Best regards,
MikeMay 15, 2017 at 1:03 am #793140Hello Mike,
i have tried your code but it not work, the scrolling still remain distant from the element.
The problem is in avia.js.- This reply was modified 7 years, 6 months ago by limentani.
May 15, 2017 at 8:21 am #793188Hi,
Just to give us a freedom to test many custom codes, may you provide us your WP credentials?
Best regards,
John TorvikMay 16, 2017 at 3:54 pm #794041I have solved! in the avia.js line 791:
if(container.length) { var usersviewportWidth = $(window).width(); if(usersviewportWidth > 767 ){ var myOffset = 150; } else { var myOffset = 0; } var cur_offset = the_win.scrollTop(), container_offset = container.offset().top, target = container_offset - fixedMainPadding + myOffset,
The myOffet variable must set with specific pixel height, in most case 150px.
May 16, 2017 at 4:28 pm #794072Hi limentani,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.