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. General Discussion
  3. Change text style on marquee hover

Change text style on marquee hover

Scheduled Pinned Locked Moved General Discussion
2 Posts 1 Posters 85 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.
  • B Offline
    B Offline
    bennyxan
    wrote on last edited by bennyxan
    #1

    Hey Support team,

    thanks for the new updates - Im totally in love with the marquee function.
    Now I tried to make the marquee text go transparent and outlines appear when hovering it.
    The outlines work perfectly fine, but somehow I'm not able to make the text itself transparent (or black would be fine for me too).

    Here's the css code I'm using

    .marquee:hover
    {
        color: rgba(0, 0, 0, 0) !important;
        text-shadow:
        -2px -2px 0 #ff0000,
        2px -2px 0 #ff0000,
        -2px 2px 0 #ff0000,
        2px 2px 0 #ff0000;  
    }
    

    I also tried to use

      opacity: 0;
    

    but of course the outlines will be transparent too – Is there anyway to fix that code?

    That's the page Im talking about: https://bennyxan.de/about/

    Thank you so much for your help and for the new updates!

    Benny

    B 1 Reply Last reply
    0
    • B bennyxan

      Hey Support team,

      thanks for the new updates - Im totally in love with the marquee function.
      Now I tried to make the marquee text go transparent and outlines appear when hovering it.
      The outlines work perfectly fine, but somehow I'm not able to make the text itself transparent (or black would be fine for me too).

      Here's the css code I'm using

      .marquee:hover
      {
          color: rgba(0, 0, 0, 0) !important;
          text-shadow:
          -2px -2px 0 #ff0000,
          2px -2px 0 #ff0000,
          -2px 2px 0 #ff0000,
          2px 2px 0 #ff0000;  
      }
      

      I also tried to use

        opacity: 0;
      

      but of course the outlines will be transparent too – Is there anyway to fix that code?

      That's the page Im talking about: https://bennyxan.de/about/

      Thank you so much for your help and for the new updates!

      Benny

      B Offline
      B Offline
      bennyxan
      wrote on last edited by
      #2

      Found a solution :)

      If someone has the same problem:

      ._MarqueeSmall_no_spaces:hover{
      -webkit-text-stroke: 2px #FFFFFF;
      color: transparent;
      transition: 0.25s ease-in-out;
      }
      
      ._MarqueeSmall_no_spaces{
      color: white;
      -webkit-text-stroke: unset;
      }
      

      this works perfectly fine for me :)

      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