Lay Theme Forum

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

    A Couple Questions...

    Bug Reports
    2
    4
    21
    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.
    • P
      Phearhead last edited by

      So, there are a few things I'm trying to implement that don't seem to want to work.

      1.) on Hover for my links, rather than an underline stroke width change, I want the text to have a background color, and change text color. I keep trying to do this in CSS, but it doesn't want to take.

      2.) Is it possible to have a video background for a row that isn't full-width? I want to be able to place something over a video in a row, but I don't want the video full-width.

      Thanks so much for your help!

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

        Dear @Phearhead

        Q 1
        You may need to use the !important value to override Lay Theme's native CSS, so:

        a:hover{
            color:red !important;
            background-color:blue;
        }
        

        Screen Shot 2022-03-31 at 11.42.27 AM.png

        Q 2:
        This CSS is defining the background video:

        .background-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }
        

        Up to you but you may wish to redefine the width to suit your needs,

        I changed this to:

        .background-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 80%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
            margin-left: 10%;
        }
        

        And got the following result:
        Screen Shot 2022-03-31 at 11.47.21 AM.png


        Hope this helps & have a wonderful day 🌻
        Richard
        1 Reply Last reply Reply Quote 0
        • P
          Phearhead last edited by

          @Richard said in A Couple Questions...:

          .background-video {
          position: absolute;
          top: 0;
          left: 0;
          width: 80%;
          height: 100%;
          overflow: hidden;
          z-index: 0;
          margin-left: 10%;
          }

          This worked fantastically! Thank you so much!

          One more random question, as it's something I've tried to dabble in. How would I go about creating a scrolling marquee inside one of the rows, that would be full width? I've tried just using basic <marquee> tags and nothing seems to be working.

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

            Dear @Phearhead

            There is a bit of a thing about the <marquee> element being depreciated, This Link is asking the same question;
            "If not the marquee then what is the best alternative?"

            https://stackoverflow.com/questions/31951282/why-is-marquee-deprecated-and-what-is-the-best-alternative

            Look into CSS animation marquee instead 🌝

            https://codepen.io/jamesbarnett/pen/kQebQO

            https://tympanus.net/codrops/2020/03/31/css-only-marquee-effect/


            Hope this helps & have a wonderful day 🖼
            Richard
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Post a link to where the problem is if possible, please <3
            I don't answer or check forum DMs, please just post on the forum.
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

            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. When using a WordPress Cache plugin, disable it or clear your cache. Now see if your problem solved itself.
            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

            A

            Recent Topics

            • Search as icon instead of text?

            • FILTER Categories showing all projects

            • H

              Vimeo embed with autoplay and loop is really slow...help!

            • A

              website not loading on iphone safari

            laytheme.com