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. CSS issues for active state on menu links

CSS issues for active state on menu links

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 1.4k 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.
  • O
    O
    Organstudio
    wrote on last edited by
    #1

    Hi, I am having trouble applying CSS to style my links in italic when active–works on hover. I'm sure it is something very simple that I'm doing wrong. I have applied the following code:
    a:hover {
    font-family:Lifeitalics;
    }
    a:active {
    font-family:Lifeitalics;
    }

    Also on the projects page I am noticing faint lines from the thumbnail images on hover which should be covered by the titles on mouseover.

    Lastly, is there a way to make the site title non-clickable?

    My website is: www.normanwilcoxgeissen.com

    Many thanks,
    Norman

    1 Reply Last reply
    0
    • mariusjopenM
      mariusjopenM
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @Organstudio

      1. Italic
        The italics seems to work now. Did I miss something?

      2. Lines
        I can't see any faint lines. Can you upload a screenshot?

      3. Title
        Yes. With a trick. But you could add a CUSTOM CSS which says:

      .sitetitle.txt {
          pointer-events: none;
      }
      

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • O
        O
        Organstudio
        wrote on last edited by
        #3

        Hi Marius,

        Many thanks for your response.

        1. The italics work for hover but I would like the state (italics) to remain on selection so as to identify the page that is active. Is there an easy way to implement this with CSS?

        2. Lines – I have since modified the design slightly so all good here.

        3. Title CSS – perfect thanks!

        All best,
        Norman

        1 Reply Last reply
        0
        • mariusjopenM
          mariusjopenM
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Hi @Organstudio
          try this:

          .current-menu-item a {
              font-family: Lifeitalics;
          }
          

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          • O
            O
            Organstudio
            wrote on last edited by
            #5

            @mariusjopen said in CSS issues for active state on menu links:

            .current-menu-item a {
            font-family: Lifeitalics;
            }

            Hi @mariusjopen

            Yes that works perfectly!

            Many thanks!
            Norman

            O 1 Reply Last reply
            0
            • O Organstudio

              @mariusjopen said in CSS issues for active state on menu links:

              .current-menu-item a {
              font-family: Lifeitalics;
              }

              Hi @mariusjopen

              Yes that works perfectly!

              Many thanks!
              Norman

              O
              O
              Organstudio
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • mariusjopenM
                mariusjopenM
                mariusjopen
                Global Moderator
                wrote on last edited by
                #7

                Dear @Organstudio
                can I ignore the last comment you made?
                It looks like you deleted it.

                Best!

                Marius

                www.mariusjopen.world

                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
                R
                robertobarbes
                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