Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.8k Topics 20.3k Posts
  • Set Different Landing Page for Mobile

    2
    0 Votes
    2 Posts
    214 Views
    RichardR
    Dear @mtzonev It is not as simple as i had hoped, and if it proves too difficult you may have to compromise sorry, Option 1 is to download a simple plugin that lets you set a mobile home page - the issue is how this plugin operates with Lay Theme and clashes. This is out of our control as we cannot change these plugins. Option 2 is to add code into the functions.php of the Theme https://www.wpstud.io/show-different-homepage-mobile-devices/ However what changes you make is up to you and is once again out of my control - this is much deeper customisation. Option 3 - ( my choice ) is to create a new mobile layout on your homepage that already exists: [image: 1602493628299-screen-shot-2020-10-12-at-11.06.17-am-resized.png] This way you can have it look different but no internal coding is needed, also no possible clashes with plugins Hope this helps and good luck :) Best wishes Richard
  • render blocking ressources and webp

    9
    0 Votes
    9 Posts
    232 Views
    RichardR
    Dear @nypaloto I understand, Thank you for the kind words about Lay Theme and your support. I would like to put this thread into development notes for further discussion in the future, Until then thank you once again and have a wonderful day Best wishes Richard
  • add a hyperlink for html5 video

    20
    0 Votes
    20 Posts
    1k Views
    RichardR
    Dear @Markus Thank you so much for following up! great :) Have a wonderful day, and thank you for making this thread great Sincererly Richard
  • Landing page with images from different sub pages

    2
    0 Votes
    2 Posts
    78 Views
    RichardR
    Dear Kim @KIM Are you referring to the "Project Thumbnail" Insert? You can add this to any page & by clicking it you will be directed to this 'Subpage" [image: 1602085325399-screen-shot-2020-10-07-at-5.38.45-pm-resized.png] [image: 1602085326039-screen-shot-2020-10-07-at-5.38.51-pm-resized.png] Let me know :) Have a wonderful day and thank you for using Lay Theme Best Richard
  • Footer background colors

    4
    0 Votes
    4 Posts
    317 Views
    RichardR
    Dear Aleksandar @Aleksandar I believe if you are happy to do so, using the slug and adding it to custom CSS would be easier. if not you would need to use JS to find the Background-color present on that specific page then tell the Footer to change accordingly Best wishes :) Richard
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    16 Views
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Project-navigation link in menu

    6
    0 Votes
    6 Posts
    358 Views
    RichardR
    Dear @XLD Best :) Rich
  • Laytheme / woocomerce / shopify

    2
    0 Votes
    2 Posts
    113 Views
    RichardR
    Dear Yannick @Yannickfischer The Link you have given does not take me to this domain, ( i think this is a placeholder? ) However i do not think this affects your question: I do not completely understand, forgive me: " Because if I install the laytheme on the maindomain, I won't be able to access on the woocomerce plugin and put some template on a specific page ? " We have not released Woo-commerce compatibility yet for Lay Theme but are working on it. Please if you could re-phrase the question sorry! :) Best wishes Richard
  • Random background images JS

    2
    0 Votes
    2 Posts
    143 Views
    RichardR
    Dear @Nemo I believe this thread is solved as you have found a solution? Best Richard
  • Drop Down Menu Roll Over Opacity

    7
    0 Votes
    7 Posts
    192 Views
    RichardR
    Dear @Nemo I apologise for the delay! I wanted to follow up and see if any progress was made with this issue or if i can still help? Thank you for using Lay Theme and have a wonderful day Sincerely Richard
  • How to achieve this layout?

    10
    0 Votes
    10 Posts
    317 Views
    RichardR
    Dear @maxmanavi Good to hear :) Have a wonderful day and thank you for using Lay Theme Best wishes Richard
  • Window menu drop

    2
    0 Votes
    2 Posts
    80 Views
    RichardR
    Dear @calvez_calvez I hope to give a quick answer that help's you on what i believe is occurring: The 'Information" text in the top right corner is actually a link to a project 'page' called information that sits in Lay Theme's primary menu: [image: 1601290227559-screen-shot-2020-09-28-at-12.48.08-pm-resized.png] However this project page cannot be accessed because a class called 'disabled' has been applied to the <a> link making it not clickable - 'pointer-events:none;' [image: 1601290364041-screen-shot-2020-09-28-at-12.36.31-pm-resized.png] Now hiding above the viewport and away from the user is a box called 'Contacto' containing the <p> paragraph information that displays the content: [image: 1601290518688-screen-shot-2020-09-28-at-12.45.49-pm-resized.png] Here we can see that this box sits '-1000px' out of sight. The trick happens that when 'information' is clicked a class is added/ toggled on called "active " https://www.w3schools.com/jquery/html_toggleclass.asp This new class "active" come's with some new CSS that changes the 'top:-1000px; to 'top: 37px; [image: 1601290764618-screen-shot-2020-09-28-at-12.45.57-pm-resized.png] Now "contacto" is forced into view and along with a transition for a smooth effect: https://www.w3schools.com/css/css3_transitions.asp This method requires knowledge of basic CSS and JS Added to "Lay Options - Custom CSS & JS" [image: 1601290871252-screen-shot-2020-09-14-at-2.51.54-pm-resized.png] https://laytheme.com/documentation.html#custom-javascript Remember with JS that you must load it within a 'newpage event' to work with Lay Theme - also that the common '$' needs to be changed to 'jQuery' https://laytheme.com/documentation.html#custom-css-styling I hope this helps you @calvez_calvez and good luck! its a really cool customisation. have a wonderful day and thank you for using Lay Theme :) Sincerely Richard
  • Load JavaScript in Footer

    3
    0 Votes
    3 Posts
    116 Views
    arminunruhA
    @lug said in Load JavaScript in Footer: Is there a way of loading all the external scripts as part of the footer rather than in the siteโ€™s head section? And, if not, is it necessary for Lay Theme to load all the external resources before upon loading the site? Hey @lug Lay Theme has many different JavaScript files, some of which need to be loaded in <head> Others can be loaded in the footer and they are. I know this is not optimal but since Lay Theme has different Addons, their js is only loaded if the addon is installed and activated. Please try these things: https://laytheme.com/documentation.html#speedingup And disable all plugins you don't use, even the Lay Theme ones you don't use. You can also use a CDN plugin, but it would be better if you could instead just use a CDN of your webhost. Cause the CDN plugins often only upload your images to CDNs.
  • woff or woff2 - or woff and woff2?

    2
    0 Votes
    2 Posts
    104 Views
    RichardR
    Dear @nypaloto After a little reading, it seem's that sticking to WOFF is a good option, it has better support across Browsers. Best Richard
  • Text not reshaping when making page smaller

    4
    0 Votes
    4 Posts
    91 Views
    RichardR
    Dear Ruben @rubenraven If you wish to just make all text on your site change red ( or any other colour ) when you hover just add this code: span:hover { color:red !important; } a:hover { color:red !important; } Into the Custom CSS area of "Lay Options - Custom CSS & HTML" [image: 1601032594973-screen-shot-2020-09-14-at-2.51.54-pm-resized.png] Remove the 'a:hover' section if you don't wish you links to be red. Hope this helps Ruben, have a wonderful day :) Best Richard
  • Line on top VS "Underline"

    4
    0 Votes
    4 Posts
    68 Views
    RichardR
    Dear Yannick @calvez_calvez Great that it helped you, Have a wonderful day :) Best Richard
  • Menu mobile toggle on click bug

    2
    0 Votes
    2 Posts
    55 Views
    RichardR
    Dear @louis-ziegle Am i right in thinking that the menu is working properly, it toggles on and off for me. Maybe i am wrong, or did not understand properly the issue :) Best wishes Richard
  • JS Script in Laytheme

    2
    0 Votes
    2 Posts
    148 Views
    RichardR
    Dear @emidio I apologise that a reply to your thread has not come sooner, I wanted to check in and see of you found a solution to your issue? Also, is it possible to post a link to your website with page in question? Best wishes & thank you for using Lay Theme. Sincerely Richard
  • Change colour of dots - Fullscreen Slider navigation

    6
    0 Votes
    6 Posts
    272 Views
    RichardR
    Dear Rocco @metapublishing Awesome! super happy to help Website looks great & good luck! Best wishes Richard

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
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com