Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Fullscreen Slider – white nav on dark backgrounds

Fullscreen Slider – white nav on dark backgrounds

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 408 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    D
    DLB
    wrote on last edited by
    #1

    Hey @arminunruh

    For some project pages I have the Fullscreen Slider in use which changes the sitetitle and nav from black to white for slides which have dark backgrounds. This all worked fine prior to the recent Lay updates, but now the JS / CSS no longer seems to work for this. I‘ve checked the console which shows a lot of error messages.

    Here is a link for an example of what I’m referring to: https://deslloydbehari.co.uk/portfolio/crimea-crisis

    Any thoughts on this would be appreciated?

    Thanks,

    Des

    Screenshot 2020-04-23 at 14.08.43.png

    1 Reply Last reply
    0
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      can you change this line

      Frontend.GlobalEvents.on("newpageshown", function(layoutObj, type, obj){

      to

      window.laytheme.on('newpageshown', function(){

      in lay options -> custom css & html -> custom head content

      1 Reply Last reply
      0
      • D
        D
        DLB
        wrote on last edited by DLB
        #3

        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

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Online Users
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search