<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Carousel - Numbers as custom cursor shown UNDER normal cursor]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">Really love how <a href="https://www.actualsource.work/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.actualsource.work/</a> uses the carousel feature with the numbers on top of the image (ie 1/5)</p>
<p dir="auto">I'd like to know how I can (1) have the numbers over the image (2) use it as a custom cursor (so the numbers follow the pointer) (3) have it live below the normal cursor (not instead of it)</p>
<p dir="auto">Thank you so much!</p>
]]></description><link>https://laythemeforum.com/topic/4080/carousel-numbers-as-custom-cursor-shown-under-normal-cursor</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 02:51:27 GMT</lastBuildDate><atom:link href="https://laythemeforum.com/topic/4080.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 24 Feb 2019 22:37:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Carousel - Numbers as custom cursor shown UNDER normal cursor on Mon, 13 Nov 2023 08:51:40 GMT]]></title><description><![CDATA[<p dir="auto">I managed to make the numbers as custom cursor thanks to chatgpt.<br />
here's what it looks like : <a href="https://www.benoitlefeuvre.com/earthworks/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.benoitlefeuvre.com/earthworks/</a></p>
<p dir="auto">here's the js code :</p>
<pre><code>&lt;script&gt;
        document.addEventListener("mousemove", (e) =&gt; {
            const followTexts = document.querySelectorAll(".numbers");
            const x = e.clientX;
            const y = e.clientY;

            // Update the position for each element with the class
            followTexts.forEach((followText) =&gt; {
                followText.style.left = x + "px";
                followText.style.top = y + "px";
            });
        });
&lt;/script&gt;
</code></pre>
<p dir="auto">then here's the css selector :</p>
<pre><code>.lay-carousel-sink-parent .numbers {
}
</code></pre>
<p dir="auto">I can't share my exact style because I have several hover states on the carousel, so you'll have to specify the css that works best for you.<br />
To retain the next/prev slide function, you'll need to add an empty 10x10px png, for example, to the 'custom mouse cursor' parameters.</p>
<p dir="auto">I hope this helps !</p>
]]></description><link>https://laythemeforum.com/post/36343</link><guid isPermaLink="true">https://laythemeforum.com/post/36343</guid><dc:creator><![CDATA[craigfeldspar]]></dc:creator><pubDate>Mon, 13 Nov 2023 08:51:40 GMT</pubDate></item><item><title><![CDATA[Reply to Carousel - Numbers as custom cursor shown UNDER normal cursor on Sun, 05 Nov 2023 23:26:55 GMT]]></title><description><![CDATA[<p dir="auto">that website used to be a lay theme website, now they custom coded it!</p>
<p dir="auto">i think i wont code this feature :O</p>
]]></description><link>https://laythemeforum.com/post/36210</link><guid isPermaLink="true">https://laythemeforum.com/post/36210</guid><dc:creator><![CDATA[arminunruh]]></dc:creator><pubDate>Sun, 05 Nov 2023 23:26:55 GMT</pubDate></item><item><title><![CDATA[Reply to Carousel - Numbers as custom cursor shown UNDER normal cursor on Fri, 27 Oct 2023 17:29:04 GMT]]></title><description><![CDATA[<p dir="auto">Up <a class="plugin-mentions-user plugin-mentions-a" href="/user/arminunruh">@<bdi>arminunruh</bdi></a> :)<br />
Do you think you can make this feature?<br />
best!</p>
<p dir="auto">Craig</p>
]]></description><link>https://laythemeforum.com/post/36130</link><guid isPermaLink="true">https://laythemeforum.com/post/36130</guid><dc:creator><![CDATA[craigfeldspar]]></dc:creator><pubDate>Fri, 27 Oct 2023 17:29:04 GMT</pubDate></item><item><title><![CDATA[Reply to Carousel - Numbers as custom cursor shown UNDER normal cursor on Mon, 25 Feb 2019 13:52:12 GMT]]></title><description><![CDATA[<p dir="auto">Dea r@</p>
<p dir="auto">probably a simple jQuery code was used which makes the number to follow the cursor.</p>
<p dir="auto">There are plenty of those codes out there which you can use.<br />
Also have a look here:<br />
<a href="http://laytheme.com/documentation.html#custom-javascript" target="_blank" rel="noopener noreferrer nofollow ugc">http://laytheme.com/documentation.html#custom-javascript</a></p>
<p dir="auto">Best!</p>
<p dir="auto">Marius</p>
]]></description><link>https://laythemeforum.com/post/12846</link><guid isPermaLink="true">https://laythemeforum.com/post/12846</guid><dc:creator><![CDATA[mariusjopen]]></dc:creator><pubDate>Mon, 25 Feb 2019 13:52:12 GMT</pubDate></item></channel></rss>