Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. mouse roll over colour - custom css

mouse roll over colour - custom css

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 512 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.
  • M
    M
    markHighLow
    wrote on last edited by
    #1

    Sorry. Thought this would be a simple one but struggling to resolve.

    All the lay text formatting is working a treat. Just struggling g to change the CSS for the mouse over colour on the projects where I’ve changed the background colour and subsequently the text’s colour on those pages.

    Have made IDs for the relevant text boxes to help locate them better as well as trying :hover and !important in the custom CSS but having no joy.

    Please see - https://www.markevans.design/chernobyl
    and the ‘Nadav Kander’ link as an example. Aiming to follow the menu and home page text links and have the type change colour to #6aff00

    This is what I though would work in the custom but isn’t -

    .slug-chernobyl[data-id=“whiterollover”]:hover {
    color: #6aff00 !important;
    }

    Thanks so much.
    Mark

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear Mark @markHighLow

      Do you just wish the 'Nadav Kander' link to change on hover or the whole text?

      With this code we have just the link <a> changing:

      .slug-chernobyl #whiterollover a:hover {
      color: #6aff00 !important;
      }
      

      When calling/targeting an ID with CSS we use a 'hashtag'

      #
      

      Hope this helps Mark and have a wonderful day :)
      Richard

      1 Reply Last reply
      0
      • M
        M
        markHighLow
        wrote on last edited by
        #3

        @Richard said in mouse roll over colour - custom css:

        .slug-chernobyl #whiterollover a:hover {
        color: #6aff00 !important;
        }

        Fantastic, thank you so much Richard.

        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear @markHighLow

          No worries :)
          Best wishes for the rest of your project!

          Richard

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          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