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 closing X

Lightbox closing X

Scheduled Pinned Locked Moved General Discussion
4 Posts 3 Posters 189 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.
  • G Offline
    G Offline
    Garrod
    wrote on last edited by
    #1

    Hey Armin,

    Following my latest question about full screen slider transition. I’m trying out using a Lightbox instead.

    But when I try and change the closing x symbol for a custom one it appears large in the corner and looks bad. Can you advise the best file type and size for this? I tried png and svg and appear much bigger than the embedded cross symbol you used. Alternatively is there a way of changing it to use text from my web fonts?

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      i think the image you put there is just the normal size of the svg.

      try making the icon smaller in figma / sketch / illustrator

      1 Reply Last reply
      0
      • K Offline
        K Offline
        KW1
        wrote on last edited by
        #3

        Hi, same problem here: Tried it with different sizes/png/svg but as soon as I upload a customized close-icon, the "X" disappears in general. What to do? Grateful for any tip!
        https://www.sophieallerding.com/truemmer-traeumer-debris-dreams/
        (slideshow below)

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          hey @KW1

          nice website!
          your svg is likely missing width and height attributes. take a look here:
          http://laythemeforum.com:4567/topic/5190/svg-cursors-fix

          Screenshot 2025-04-09 at 19.57.58.png

          i will update this description above to include svgs for close icon

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