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. Lightbox caption hover

Lightbox caption hover

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 138 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.
  • D Offline
    D Offline
    dingdong
    wrote on last edited by
    #1

    Hi!
    I want to style the hover of my lightbox caption.
    my css doenst work, maybe my selector is wrong?
    https://www.mikeabmaier.com/overview-22/
    First image > "→ Dreitor Anwälte"
    anybody can help?

    .lightbox-caption a:hover{
    text-decoration: none;}
    
    A 1 Reply Last reply
    0
    • D dingdong

      Hi!
      I want to style the hover of my lightbox caption.
      my css doenst work, maybe my selector is wrong?
      https://www.mikeabmaier.com/overview-22/
      First image > "→ Dreitor Anwälte"
      anybody can help?

      .lightbox-caption a:hover{
      text-decoration: none;}
      
      A Online
      A Online
      alasdair17
      wrote on last edited by
      #2

      @dingdong hey try this:

      .lay-textformat-parent a:not(.laybutton):hover {
      text-decoration-line: 0px;
      }

      D 1 Reply Last reply
      0
      • A alasdair17

        @dingdong hey try this:

        .lay-textformat-parent a:not(.laybutton):hover {
        text-decoration-line: 0px;
        }

        D Offline
        D Offline
        dingdong
        wrote on last edited by
        #3

        @alasdair17 doenst work :(

        A 1 Reply Last reply
        0
        • D dingdong

          @alasdair17 doenst work :(

          A Online
          A Online
          alasdair17
          wrote on last edited by
          #4

          @dingdong ah it seemed to work when I tried it in chrome inspector. Here is the exact selector, there is probably a simpler solution but try this:

          #lightbox-inner > div > div > div.swiper-slide.has-caption.swiper-slide-active > div > p > a {
          text-decoration-line: 0px !important;
          }

          D 1 Reply Last reply
          0
          • A alasdair17

            @dingdong ah it seemed to work when I tried it in chrome inspector. Here is the exact selector, there is probably a simpler solution but try this:

            #lightbox-inner > div > div > div.swiper-slide.has-caption.swiper-slide-active > div > p > a {
            text-decoration-line: 0px !important;
            }

            D Offline
            D Offline
            dingdong
            wrote on last edited by
            #5

            @alasdair17 also doesnt work...
            i saw this in the inspector too but maybe there is a possibility with data-type="project"?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dingdong
              wrote on last edited by
              #6

              solved.

              .lightbox-caption a:hover { text-decoration: none !important; }
              
              1 Reply Last reply
              1
              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
              A
              alasdair17
              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