Skip to content

General Discussion

5.0k Topics 21.7k Posts

A place to talk about anything Lay Theme related

  • Gridder+stack+offset empty spaces issue

    2
    0 Votes
    2 Posts
    179 Views
    RichardR
    Dear @Warul-Kawa I didn't receive the email sorry, please send me your details via 'Chats' or licensekeys@laytheme.com ( i will check this email ). Talk soon & best wishes 🌝 Richard
  • My site has crashed and displays the following error

    4
    0 Votes
    4 Posts
    201 Views
    RichardR
    Dear @spontans Thanks for the update! ✅ Best Richard
  • How to fix a block text on a project

    2
    2
    0 Votes
    2 Posts
    156 Views
    RichardR
    Dear Jean-Baptiste @janjan Could you please post a link to the project with Description. Also you current code will help 🔍 .textproject{ position:fixed; z-index:1000; } Best wishes & talk soon 🌝 Richard
  • Can you change a page to a project?

    3
    0 Votes
    3 Posts
    1k Views
    RichardR
    Dear @herroherren This thread should help: http://laythemeforum.com/topic/7259/migrate-copy-page-content-to-project/2?_=1635195478800 Best wishes 🌝 Richard
  • 0 Votes
    2 Posts
    178 Views
    RichardR
    Dear @pingbird You are correct, the Project Title does not show automatically at the top of the project. Normally this would be done Manually and depend on your design. If interested, this code jQuery('body').attr("data-id") will give you back the 'Slug' or Project Title. The hyphen will need to be removed. Custom Code can be added via: Lay Options > Custom CSS & HTML > Customize > CSS Gridder > +More > +HTML https://laytheme.com/documentation.html#custom-javascript Hope this helps @pingbird , have a wonderful day 🏖 Richard
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Adding fade out to png files

    1
    0 Votes
    1 Posts
    99 Views
    No one has replied
  • How do I move the footer to the top?

    2
    0 Votes
    2 Posts
    251 Views
    RichardR
    Dear Leopold @Leopold-Lenz Have you since changed your setup? The split-screen is using "rows" rather than the #footer-region . Maybe i have mis-understood. [image: Screen Shot 2021-10-21 at 6.58.55 PM.png] Talk soon Leopold & best wishes 🌝 Richard
  • White space above site content I can't get rid of…

    4
    1
    0 Votes
    4 Posts
    453 Views
    RichardR
    Awesome Felix 💥Thank you @ffinger
  • Project Thumbnail links don't work

    projectlink thumbnail link
    7
    0 Votes
    7 Posts
    2k Views
    RichardR
    Dear Henriette @henriettebrueck Ah, interesting, I wondered why we had different results. Thanks for the update, did you find a solution for the .com version? Best wishes ✨ Richard
  • Highlight active Anchor scroll menu point

    10
    0 Votes
    10 Posts
    2k Views
    RichardR
    Dear Lorenzo @lorenzomala Javascript or jQuery must first be placed inside a "newpage event" when adding to Lay Theme https://laytheme.com/documentation.html#custom-javascript Newpage Events Because your Lay Theme website is a "Single Page" JavaScript application you cannot just use jQuery(document).ready(…) to execute your js because the ready event only fires once when the website loads the first time. Since Lay Theme 1.056 you can use a JavaScript event to execute your own JavaScript whenever a project, page or category is visited. The event is called "newpageshown". It will trigger when a new project, page or category has rendered. window.laytheme.on("newpageshown", function(layoutObj, type, obj){ // your code would go here }); layoutObj is a an empty object. This used to contain the - layout's JSON, but was deprecated. type can be either "project", "page" or "category". obj is WordPress' post, page or term object. These objects contain general information like ids and slugs. Any jQuery '$' symbols must be written in full "jQuery" e.g $(addClass); becomes jQuery(addClass); Custom Code is most likely to be placed in "Custom <head> Content" in > Lay Options > Custom CSS & HTML > Best wishes Lorenzo & have a great day 🏖 Richard
  • Portrait Format Videos getting cropped

    10
    2
    0 Votes
    10 Posts
    1k Views
    RichardR
    @thomasmaier Thank you for posting, will keep this information for the future. 🕰 Best wishes Richard
  • HTML5 Video go back to first frame when it ends?

    2
    0 Votes
    2 Posts
    4k Views
    RichardR
    Dear @baferti I assume this is not for a Looping effect? The following solution worked for me: https://stackoverflow.com/questions/8132890/make-html5-video-go-to-first-frame-when-it-ends The <video> element must be targeted in the code below. Here getElementById looks for the element with the id "video" (i have added it myself for testing) [image: Screen Shot 2021-10-21 at 2.40.34 PM.png] var video = document.getElementById('video') // When the 'ended' event fires video.addEventListener('ended', function(){ // Reset the video to 0 video.currentTime = 0; // And pause ready for video.pause(); }); Video is set back to 0:00 timing. Getting it to work with your particular design will be up to you, but i hope this helps! Best wishes & have a wonderful day 🏖 Richard
  • New Features Added

    1
    0 Votes
    1 Posts
    143 Views
    No one has replied
  • Full Screen Slider swipe speed

    1
    0 Votes
    1 Posts
    192 Views
    No one has replied
  • Hide top menu

    6
    0 Votes
    6 Posts
    784 Views
    RichardR
    Dear @GAP The Burger menu for all Layouts is in the notes for future discussion. Custom coding or using the Mobile layout is the only way currently. You may also wish to look into "accordions" many users on the forum have integrated them before. This way the menu would open out into many listed menu points. https://www.w3schools.com/howto/howto_js_accordion.asp Best wishes Richard
  • Website loads slowly

    3
    0 Votes
    3 Posts
    178 Views
    F
    @adamk u use a lot of high quality gifs with 10 mb in size on your homepage, and suqeeze them into small thumbnails. I think it will run faster if you optimize this.
  • 0 Votes
    2 Posts
    163 Views
    RichardR
    Dear @solenne Do you currently have the embed removed from the page: https://www.clavefineart.com/en/claudine-drai-claude-de-soria-dames-2/ ? (i believe this is the correct page) [image: Screen Shot 2021-10-12 at 12.52.32 PM.png] I can force insert it with developer tools, but this does not give the same idea. [image: Screen Shot 2021-10-12 at 12.56.43 PM.png]Please note with the Mobile layout: Your embed has width and height built in. width="640px" height="480px" so it will want to maintain these dimensions even for mobile layouts (this is why it pushes off the page). Talk soon Solenne and best wishes 🌝 Richard
  • Slider photo with woocommerce

    5
    3
    0 Votes
    5 Posts
    850 Views
    RichardR
    Dear @cactusauvage This is possible but will have to be custom coded: https://laytheme.com/documentation.html#custom-css-styling Best wishes Richard
  • Change position of close-icon mobile menu

    2
    0 Votes
    2 Posts
    335 Views
    RichardR
    Dear @Olga-V The Class for the X-icon ( there are a few depending on container heirachy) is burger-wrap (outer) or mobile-menu-icon (inner). [image: Screen Shot 2021-10-12 at 11.18.22 AM.png] It should be noted however that the x icon (open) has the same class naming as the default (closed) burger icon: Open Burger: [image: Screen Shot 2021-10-12 at 11.21.00 AM.png] Closed Burger: [image: Screen Shot 2021-10-12 at 11.21.08 AM.png] To get around this we can take advantage of active class. When the burger menu opens and changes to the x-icon, the class active is added to laynav or mobile-nav. So you can specify to make sure you are dealing with the x-icon, E.g: .active .burger-wrap{ background:red; } or .active .mobile-menu-icon{ background:red; Hope this helps Olga and have a wonderful day 🏖 Richard
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com