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. SVG Cursors Fix

SVG Cursors Fix

Scheduled Pinned Locked Moved General Discussion
29 Posts 13 Posters 3.6k 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.
  • A Offline
    A Offline
    arminunruh
    Global Moderator
    wrote on Apr 12, 2020, 2:27 PM last edited by arminunruh Apr 13, 2020, 5:45 AM
    #1

    Hey everybody, we had a few posts about cursors not showing up.

    This is about custom cursors for your carousel or fullscreen slider.

    SVG cursors do work, however, you need to specifiy a width and height in the markup of the SVG. Usually, no width and height is set in many svg's so they will never work as cursors.

    So open your svg file with a texteditor and then specify a width and height like:

    <svg height="20" width="20">
      ...
    </svg>
    

    Have a great day

    W 1 Reply Last reply Jan 25, 2024, 6:30 AM
    1
    • T Offline
      T Offline
      thomasmaier
      wrote on May 14, 2020, 7:32 AM last edited by
      #2

      Also downloaded svgs from free icon download archives always seem to lack dimensions. Another wax of fixing the svgs code is - if you have Adobe XD - to import the svgs into an XD document and re-exporting them as svgs. XD writes clean svgs code with dimensions.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mariusjopen
        Global Moderator
        wrote on May 14, 2020, 9:31 AM last edited by
        #3

        Dear @thomasmaier
        Yes, thank you for using LayTheme!
        Best!
        Marius

        www.mariusjopen.world

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thomasmaier
          wrote on Jun 10, 2020, 1:04 PM last edited by thomasmaier Jun 10, 2020, 9:08 AM
          #4

          I have these problems again with the current version of lay theme - not sure if it has something to do with that. But the svgs files didn't change and have dimensions. but only safari can display them 90% of the time. Chrome and Firefox show the regular cursor - and sometimes extremely fast flashes of the svg cursors. very strange. any ideas?

          EDIT: It doesn't have tp do with the svgs problem itself — also PNG cursors are not being displayed...

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mariusjopen
            Global Moderator
            wrote on Jun 14, 2020, 4:24 PM last edited by
            #5

            Dear @thomasmaier
            Can you post a link to your website?
            We will then have a look and inspect that!
            Many wishes!
            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • T Offline
              T Offline
              thomasmaier
              wrote on Jun 15, 2020, 2:49 PM last edited by
              #6

              For some reason the custom cursors are back to normal again. No idea why. It wouldn't have anything to do with rebooting or restarting the browser or emptying the cache or something since I had tried that... So I guess it's at least no issue that is common in any way, just one of those mysterious bugs that appear and disappear.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mariusjopen
                Global Moderator
                wrote on Jun 17, 2020, 9:08 AM last edited by
                #7

                Dear @thomasmaier
                Can you post a link to your website?
                We will then have a look and inspect that!
                Many wishes!
                Marius

                www.mariusjopen.world

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  PC
                  wrote on Jan 7, 2021, 1:20 PM last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Richard
                    Global Moderator
                    wrote on Jan 10, 2021, 1:24 AM last edited by
                    #9

                    Dear Pia @PC

                    Interesting, sorry to hear this! - could you post a link to your website? :)

                    Best
                    Richard

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      PC
                      wrote on Jan 17, 2021, 4:15 PM last edited by
                      #10
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        Richard
                        Global Moderator
                        wrote on Jan 20, 2021, 9:30 AM last edited by
                        #11

                        Dear @PC
                        Have sent you a message :)

                        Best wishes
                        Richard

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          fluoroscope
                          wrote on Mar 1, 2022, 5:30 PM last edited by
                          #12
                          This post is deleted!
                          1 Reply Last reply
                          0
                          • U Offline
                            U Offline
                            user-4'33''
                            wrote on Oct 22, 2023, 9:39 AM last edited by user-4'33'' Oct 22, 2023, 5:48 AM
                            #13

                            I have a custom svg cursor with widght and height properties specified in mm. The custom cursor is inserted via url. In my custom CSS for this webpage i write this:

                            div.lay-carousel-slide:nth-child(9) > div:nth-child(1) > a:nth-child(1) > img:nth-child(1):hover {
                                filter: blur(6px);
                                cursor: url(https://luiskueffner.com/wp-content/uploads/2023/10/cursorHover.svg) 11.34 11.34, auto; 
                            }
                            

                            (The code is actually a bit longer since I want this behaviour for every carousel element. Here I point only to the first carousel element.)

                            When hovering the corresponding element, I get no cursor change. I get the intended behaviour here but with the same custom CSS.

                            What could I be missing here?

                            1 Reply Last reply
                            0
                            • B Offline
                              B Offline
                              beucccia
                              wrote on Jan 19, 2024, 4:17 PM last edited by
                              #14

                              Hallo,

                              I created the following website
                              https://leodal4.dreamhosters.com

                              and the custom gif cursor is only shown in movement in Safari, whereas it doesn't work in Chrome or Firefox.

                              Does anybody have an idea how to fix it?

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                arminunruh
                                Global Moderator
                                wrote on Jan 20, 2024, 9:36 AM last edited by
                                #15

                                gifs are not supported as cursors in general. i wonder why it even works in safari!

                                1 Reply Last reply
                                0
                                • A arminunruh
                                  Apr 12, 2020, 2:27 PM

                                  Hey everybody, we had a few posts about cursors not showing up.

                                  This is about custom cursors for your carousel or fullscreen slider.

                                  SVG cursors do work, however, you need to specifiy a width and height in the markup of the SVG. Usually, no width and height is set in many svg's so they will never work as cursors.

                                  So open your svg file with a texteditor and then specify a width and height like:

                                  <svg height="20" width="20">
                                    ...
                                  </svg>
                                  

                                  Have a great day

                                  W Offline
                                  W Offline
                                  willowj
                                  wrote on Jan 25, 2024, 6:30 AM last edited by
                                  #16

                                  @arminunruh

                                  As a newbie, where do I past the svg measurements code in text edit?
                                  My svg arrow code looks like this:

                                  <?xml version="1.0" encoding="utf-8"?>
                                  <!-- Generator: Adobe Illustrator 28.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
                                  <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
                                  viewBox="0 0 111.9 42.9" style="enable-background:new 0 0 111.9 42.9;" xml:space="preserve">
                                  <path d="M111.6,20.6H7.9c8-3.1,13.8-10.9,13.8-20h-1.4c0,11-9,20-20,20v1.4c11,0,20,9,20,20h1.4c0-9.1-5.7-16.9-13.8-20h103.7V20.6z
                                  "/>
                                  </svg>

                                  Thanks!!

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    arminunruh
                                    Global Moderator
                                    wrote on Jan 25, 2024, 5:47 PM last edited by
                                    #17

                                    hey!

                                    if you use a texteditor and paste that code into it, and then save it as for example:
                                    mycursor.svg

                                    then upload that file here, in "set image" for example

                                    Screenshot 2024-01-25 at 18.46.58.png

                                    1 Reply Last reply
                                    0
                                    • A arminunruh referenced this topic on Jan 25, 2024, 6:59 PM
                                    • A Offline
                                      A Offline
                                      Alice.guarnieri
                                      wrote on Mar 26, 2024, 4:47 PM last edited by
                                      #18

                                      Hello!

                                      I've the same problem, the custom PNG cursor doesn't work. I noticed the same issue on an older website I did, it worked but now the custom arrows disappear when I move the mouse. Any suggestions?

                                      Thanks!

                                      1 Reply Last reply
                                      1
                                      • A Offline
                                        A Offline
                                        arminunruh
                                        Global Moderator
                                        wrote on Mar 28, 2024, 12:07 PM last edited by
                                        #19

                                        u may need to restart your computer

                                        do u have a link?

                                        do u mean the custom arrows or the custom mouse cursor?
                                        if u update your carousel addon the issue with the custom arrow could be fixed mmh

                                        1 Reply Last reply
                                        0
                                        • A arminunruh referenced this topic on May 29, 2024, 3:04 PM
                                        • A arminunruh referenced this topic on Dec 9, 2024, 3:20 PM
                                        • clara_andreaC Offline
                                          clara_andreaC Offline
                                          clara_andrea
                                          wrote on Jan 19, 2025, 10:17 PM last edited by
                                          #20

                                          Hello !

                                          Same problem here, the custom PNG doesn't work anymore. It appears when I move the mouse quickly but disappears.
                                          This is the link to a page of my website for an example:
                                          https://www.clara-andrea.com/tipik/

                                          Thanks !

                                          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
                                          J
                                          johgra
                                          11 minutes ago
                                          A
                                          alasdair17
                                          28 minutes ago
                                          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