Fullscreen slideshow: both menu and hide button displayed by default

Please Note: Theme customizations go beyond the scope of our support services and this article is provided solely as a courtesy to our customers. Please take a moment to review the Scope of our Support.

Question:

How can make the menu displayed by default but still have the “Hide Menu” button added in the fullscreen slideshow of Photolux theme?
Original poster

Solution:

First you have to disable the option “Hide header and footer” in the slider section of the Photolux Options -> Sliders page.

After that, you have to open the js/slideshow.js file and modify the following code (starting on line 93):

if(options.hideContent){
setHidingFunctionality();
}

to be like this (comment out the first and third line of the code snippet):

//    if(options.hideContent){
setHidingFunctionality();
//    }

Was this useful? 6