Lay Theme Forum

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

    White background body while loading website

    General Discussion
    3
    4
    1182
    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.
    • K
      kubmin last edited by kubmin

      Hi there,

      Awesome theme, but I have a question regarding the white body when loading the website for the first time.
      I am working on this website: http://radiation.digital/, when you visit it for the first time the background of the
      Gridder area is white, after a second or so it becomes black, which is the colour that I want. Now my question is:
      How do I get rid of the white background when the page loads? My goal is to make it black. Thanks!

      Kind regards,

      Boris.

      J 1 Reply Last reply Reply Quote 0
      • J
        jonasderuytter @kubmin last edited by

        @kubmin No idea, but sweet intro (y)

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

          hey kubmin!

          Sweet intro yea

          Go to lay options -> custom css & html

          and enter:

          body{background-color: black;}
          

          in "custom css for desktop" and "custom css for mobile version"

          1 Reply Last reply Reply Quote 0
          • K
            kubmin last edited by

            Cheers, thank you!
            The piece of code seemed to work, thanks a lot!

            Boris.

            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

            Recent Topics

            • F

              X-button (close) on category page

            • T

              display resolution of thumbnails in image-hover

            • G

              Designer Websites for free Lay Theme.

            • A

              Lightbox on carousel

            laytheme.com