Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Bug Reports
  3. A Couple Questions...

A Couple Questions...

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 120 Views
  • 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 Offline
    P Offline
    Phearhead
    wrote on last edited by
    #1

    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
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by
      #2

      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
      0
      • P Offline
        P Offline
        Phearhead
        wrote on last edited by
        #3

        @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
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #4

          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
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          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