Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #636324

    Hi,

    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%.

    Thank you!

    #636634

    Hey Brad,

    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.

    Best regards,
    Josue

    #653266

    Hello,

    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?

    Thanks again!

    #654566

    Hi,

    It is located on that file around line 2264. Use editors line Notepad++ or Sublime Text.

    Best regards,
    Ismael

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

You must be logged in to reply to this topic.