Logo not swapping in light menu

Support desk for Multipurpose Quark Theme
GK User
Mon Dec 19, 2016 8:52 pm
I've set up the template to load the my white logo image when the menu text is white. I also set up my regular logo to load when the menu swaps to dark text, such as when the page is scrolled.

The white image is always active and the dark image never loads.

If I swap the images in the setup the the reverse is true also.

Any ideas?

Thanks
User avatar
Fresh Boarder

GK User
Tue Dec 20, 2016 7:53 pm
Since this issue has been unresolved in the forums for over a year, here's what I did to fix it after a few minutes of rooting around myself.

Open the gk.menu.js file from the template/js folder.

Navigate to line 152
CHANGE FROM
// Logo switching
if(image_logo_exists && dark_logo_img) {
logo_img.attr('src', dark_logo_img);
}
TO
// Logo switching
if(image_logo_exists && light_logo_img) {
logo_img.attr('src', light_logo_img);
}
Worked for me....
User avatar
Fresh Boarder

teitbite
Tue Dec 27, 2016 10:41 am
Hi

Ok. Thank You for the solution. Please tell me the url to Your site. I know the issue existed only with some specific settings, so I would like to confirm it.
User avatar
Moderator


cron