I use a fullscreen slider on my site and wanted to know if there’s a little piece of custom CSS I could add that would make my fullscreen slider expand just to 90% of the window height instead of the full 100%.
Not via CSS but JS, open js/shortcodes.js and look for:
wh75 = Math.round( wh100 * 0.75 ),
Change it to:
wh90 = Math.round( wh100 * 0.90 ),
Then when you select 75% height and it will be 90%, this will affect Color Sections too.
Thank you for the reply, though I don’t see that anywhere in the file. I’m looking at the file via FTP, not through the WP editor (since I didn’t see it there).
I used the FIND command and looked for everything “wh” and didn’t match anything other than words like “where” in commented out parts of the file.
Could it be in a file other than js/shortcodes.js?
You must be logged in to reply to this topic.