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

Line on top VS "Underline"

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 68 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 Offline
    C Offline
    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 Offline
      RichardR Offline
      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 Offline
        C Offline
        calvez_calvez
        wrote on last edited by
        #3

        Thank you very much Richard !

        Best regards,

        Yannick

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          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
          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
          W
          wyssseb
          R
          rbr96
          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