Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #285815

    I love the transparency menu option – but dislike how quickly it goes back to the default fixed menu at the top. How would I make that transition take place like 800px down on the page?

    #286517

    Hi Andrea!

    Thank you for using the theme!

    Please edit js > avia.js, find this code on line 1198:

    if(transparent)
                    {
                    	if(st > 50)
                    	{
                    		header.removeClass('av_header_transparency');
                    	}
                    	else
                    	{
                    		header.addClass('av_header_transparency');
                    	}
                    }

    Replace it with this:

    if(transparent)
                    {
                    	if(st > 600)
                    	{
                    		header.removeClass('av_header_transparency');
                    	}
                    	else
                    	{
                    		header.addClass('av_header_transparency');
                    	}
                    }

    Remove browser cache then reload the page a few times.

    Regards,
    Ismael

    #286746

    Fantastic. Is there a way of getting that into the child theme? I’d imagine not, but it’s worth asking.

    #286781

    Works great! Thank you!

    #286948
    #287025

    That’s brilliant.
    Is the idea to put the whole of the contents of avia.js into the child theme or just the snippet?
    I was wondering if it could be put into the child theme so it was ‘upgrade proof’.

    #287027

    Yes, you’d need to place the whole contents of avia.js in the child folder. It is update proof (it won’t get lost when updating) but if we update something in avia.js (check changelog) it is recommended to update your child avia.js too, and redo this transparent mod.

    Cheers!
    Josue

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.