Hey @arminunruh ,
Thanks for this.
For some projects which have dark backgrounds / images on the first row, I have the sitetitle and nav load in white (instead of on scroll / mouse move). Using this code in the Custom CSS & HTML…
jQuery(window).on("fpAfterLoad", function(){
However, I do not have the fullscreen slider enabled for the mobile version of the site, so this code doesn’t work on mobiles.
If I use this code it works for both desktop and mobile, but of course only on scroll, not on load.
jQuery(window).on("scroll", function(){
I did try this, but it didn’t work…
jQuery(window).on("load", function(){
Is there a way for this to work on load for the mobile version, which doesn’t have fullscreen slider enabled? Have been trying, but can’t find a solution.
Also, could it work if the mobile-title was an SVG? For the mobile version, it uses the desktop menu, but want to have the mobile-title different (just my initials) so it fits on the same line as the menu.
Link: https://deslloydbehari.co.uk/portfolio/crimea-crisis
Thanks,
D