A place to talk about anything Lay Theme related
Text following mouse cursor on hover to show only for desktop
S

Hey everyone, I added this jquery to my site in order to have the project name following the mouse on hover:

<script>
var windowWidth = window.innerWidth;
if(windowWidth > '1024') {
jQuery(document).bind('mousemove', function(e){
jQuery(".titlewrap-on-image").offset({left: e.pageX, top: e.pageY});
});
}
</script>

@media (min-width: 1024px){
.thumb:hover .titlewrap-on-image {
display: block;
position: absolute;
}

.titlewrap-on-image {
display: none;
font-family: "Dela Gothic One";
font-size: 30px;
text-decoration: underline;
color: white;
position: absolute;
z-index: 1000;
}
}

I'd like to have the project title displayed above the thumbnails in both tablet and and mobile but I have no idea on how to achieve it. I have a basic knowledge of CSS and absolutely 0 of Js (I found the script online and adapted it to my site with CSS).

Can anyone pls help?

https://www.sofialucegallo.com/

read more
Got an idea for Lay Theme? I might include it in a new update or code an addon.
Hide footer-pages from search engines
Dear @edgrbnz

Thanks for the post ( and the ✅option :)
This is of course a really valid idea & will put it straight in the Development notes!!!!!

Best wishes to you @edgrbnz and thank you for your ongoing support of Lay Theme, it is greatly appreciated as well as your presence on the forum.

Have a wonderful day & best wishes 🌞
Richard

read more

Shop related questions and issues

Preventing front page from loading
J

@arminunruh If i change it to one of my projects it works, but it displays blank if its a page with just a full bleed background image like i had before installing woo.
Thank you, i will email Rich

read more
Something is not working? Please provide a screenshot, your browser name and browser version and your operating system.
HTTP ERROR 500 - Site + Wordpress Admin down after theme update
R

Hi @Richard the website is back online. thanks! (:

read more
Did you follow the steps in "How to Install" and "Troubleshooting" but still have problems? And your webhost support could not help you either? Ask here.
Trouble upload theme, reporting missing style.css sheet. Also missing lay.zip in folder.
Dear @May27

Hope the following link helps:

https://laytheme.com/troubleshooting.html#installation-missing-stylesheet

Best wishes
Richard

read more
Got a question about an Addon?
Image Hover Add-on / Using without active link
R

@Baptiste Thank you for your reply. when I use "pointer-events: none;" the link doesn't appear anymore that's true, but then in my case the image doesn't appear either. Am I wrong?

read more
Created a website with Lay Theme? You can share it here.
German Palomeque Portfolio (Photography)

Dear German Palomeque @ger15cba

Website looks lovely :)
A minor thing if i may - The Navbar's Background colour and Blur filter are slightly covering the top of your Thumbnail titles:

This is likely solved by giving your Gridder a little more 'Frame-Top' to accomodate for the Navbar :)

Hope this helps and have a wonderful day

Sincerely
Richard

read more

Find a developer who can use HTML or JavaScript or CSS to customize your Website. This is just a place to connect people and we do not take responsibility and I do not offer support for any custom coding done for you. The developers here are not part of the team working on Lay Theme.

Sticky element

@Sophie1000
I get this error, maybe you got it too:

TypeError: undefined is not an object (evaluating 'jQuery ('.sticky').offset().top')

read more