Lay Theme Forum

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

    CSS not working Color Hover Font

    General Discussion
    2
    3
    378
    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.
    • M
      MarieP last edited by

      Hello,

      I have a problem with my CSS and I hope on of you can help me! On my project page, I would like to have a different font color in Hover for each of my project but it's not working. I can do the textdecoration underline, but I can't change the color of the font.

      I've attached a screen shot of my CSS. ![0_1490526815698_Screen Shot 2017-03-23 at 17.19.32.png](Uploading 100%)

      And here you can find my website link: http://mariepriour.com/

      Thanks for the theme it's really good :dancers:

      All the best,

      Marie

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

        Hi Marie,

        happy you like the theme!

        I had a look into your code and understood your problem.

        You need to write the CSS like the following:

        .menu a span:hover {
            text-decoration: line-through;
            color: red !important;
        }
        

        I hope that helped :-)

        let me know if you have more questions!

        All the best!

        Marius

        www.mariusjopen.world

        M 1 Reply Last reply Reply Quote 0
        • M
          MarieP @mariusjopen last edited by

          Hi Marius,

          Thanks for your quick answer. It's working !!!! Thanks so much :D

          Have a nice day,

          Marie

          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

          P
          C
          L

          Recent Topics

          • C

            centred Carousel fixed width and proportions

          • L

            position Project titles outside the images on the side

          • slow navigation WP admin control panel

          • P

            News element date and title order

          laytheme.com