Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    #main-div at zero opacity

    General Discussion
    2
    3
    759
    Loading More Posts
    • 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.
    • C
      comedowntous last edited by

      Hello —

      I realized that the #main-region is by default showing at a 0% opacity until full page load - any way I could remove this script and have #main-region show at full opacity all the time?

      This script is causing a fade-in effect which is misinterpreted as a slow loading page. Any way I could override this in the custom css ?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by arminunruh

        Try this:

        #main-region.hide {
            opacity: 1;
        }
        

        Well. It's just animating to opacity 1 which takes 400 milliseconds. But it doesn't wait until full page load. Images are still lazyloaded afterwards. But yeah it makes a big difference, I'm going to create an option for this.

        1 Reply Last reply Reply Quote 0
        • C
          comedowntous last edited by

          @arminunruh said:

          #main-region.hide {
          opacity: 1;
          }

          Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Try this to fix issues before you post:

          Use the Search Feature. Maybe there is already a solution to your issue.

          1. Update Lay Theme and all Lay Theme Addons
          2. Disable all Plugins
          3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
          4. Now see if your problem solved itself
          5. Go here, see if your problem is listed here:
          Troubleshooting

          When you post:
          1. Post a link to where the problem is
          2. If the problem is difficult to explain, post screenshots / link to a video to explain it

          Thanks!

          Online Users

          C
          A
          H
          T
          M

          Recent Topics

          • T

            Video is played differently

          • A

            Broken images

          • L

            Hide mobile menu, when scrolling down

          • J

            Imagehover addon show mouseover state

          laytheme.com