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. Line on top VS "Underline"

Line on top VS "Underline"

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

    Hi Armin or anyone else ;)

    I wondering how to put the "underline" on top on the active menu (only) not links, I'm ok with the classic underline at the bottom for the links ;)

    Here the page without underline "pink" only the word
    https://calvez-calvez.com/category/personal-works

    Here an exemple I did on a page with the pink line :
    https://calvez-calvez.com/cc-intro

    It's as CSS custom to add ?

    I have an other question.
    Is it possible to put the image at the right with a margin (2%) for the "hover option" instead in the center like here :
    https://calvez-calvez.com/cc-intro

    Thank a lot for your help !

    Yannick

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

      Dear @calvez_calvez

      Let me know if this is what you were looking for :)

      Within "Lay Options - Custom CSS & HTML".
      Screen Shot 2020-09-14 at 2.51.54 PM.png

      Add this code to "Custom CSS" and save.

      nav.laynav.primary .current-menu-item a {
          text-decoration: overline !important;
      }
      

      It should leave you with this example:
      Screen Shot 2020-09-22 at 10.05.03 AM.png

      Regarding your second question:
      The 2% isn't correct but just to understand if this is the general idea of what you were looking for?

      Screen Shot 2020-09-22 at 11.18.42 AM.png

      .lay-imagehover-region img {
          margin-left: 20%;
      }
      

      Thank you for using Lay Theme and let me know how you go,

      Best wishes
      Richard

      1 Reply Last reply
      0
      • C
        C
        calvez_calvez
        wrote on last edited by
        #3

        Thank you very much Richard !

        Best regards,

        Yannick

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

          Dear Yannick @calvez_calvez

          Great that it helped you,
          Have a wonderful day :)

          Best
          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
          L
          lstark
          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