Skip to content

Need Custom Coding for Lay Theme? Find 3rd Party Developers here.

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.

106 Topics 351 Posts
  • Custom cursor pointer for lightbox plugin

    5
    0 Votes
    5 Posts
    327 Views
    RichardR
    Dear @ErEs Great :) Thank you for updating Best Richard
  • Sticky element

    8
    0 Votes
    8 Posts
    1k Views
    RichardR
    Thank you for the update @Sophie1000 ! šŸŒ
  • Help plugin - Swap Images on Hover JS

    2
    0 Votes
    2 Posts
    118 Views
    K
    Here you go! Put this in your custom js: <script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ jQuery.fn.swinger = function () { return this.each(function () { var $container = jQuery(this); $container.css({ "position": "relative" }); var $images = $container.find("img"); $images.css({ "position": "absolute", "top": "0%", "left": "0%", "width": "100%" }); var $middleImage = jQuery($images[Math.floor($images.length / 2)]); $middleImage.css({ "z-index": "2", "position": "relative" }); var columnsCount = $images.length; $images.each((i, img) => { var left = `${100 / columnsCount * i}%`; var width = `${100 / columnsCount}%`; var $column = jQuery(`<span style="z-index:999;position:absolute;top:0;bottom:0;left:${left};width:${width}"></span>`); jQuery(img).after($column); $column.hover(() => { $images.css({ "z-index": "1", "position": "absolute" }); jQuery(img).css({ "z-index": "2", "position": "relative" }); }); }) }); } }); </script> <script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ jQuery(".img-area").swinger(); }); </script> Then add your images via "+More" > +HTML" in your laygridder. Give the row the class "img-area". Should work like this.
  • LAYOUT FIXER

    5
    0 Votes
    5 Posts
    92 Views
    RichardR
    Awesome @DasBlitz @kalamakumaran Thanks for using the 3rd party developers section, Good Luck! :)
  • Click on active menu point to go back to landing page

    2
    0 Votes
    2 Posts
    106 Views
    F
    @Richard maybe you can give me a clue for this issue?
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • Hover over image - text (image title) tooltip that follows cursor

    2
    0 Votes
    2 Posts
    766 Views
    RichardR
    Dear @Iman-Whitfield If it helps you, here is the tooltip.js in your example for you: function initTooltip() { const tooltips = Array.from(document.querySelectorAll('[data-tooltip-container]')); tooltips.map(tooltip => { tooltip.addEventListener('mouseover', handleMouseOver); }) function handleMouseOver() { const tooltipbox = createTooltipBox(this); handleMouseMove.tooltipbox = tooltipbox; this.addEventListener('mousemove', handleMouseMove); handleMouseLeave.tooltipbox = tooltipbox; handleMouseLeave.element = this; this.addEventListener('mouseleave', handleMouseLeave); } const handleMouseLeave = { handleEvent() { this.tooltipbox.remove(); this.element.removeEventListener('mousemove', handleMouseMove); this.element.removeEventListener('mouseleave', handleMouseLeave); } } const handleMouseMove = { handleEvent(e) { this.tooltipbox.style.top = e.clientY + 25 + 'px'; this.tooltipbox.style.left = e.clientX + 13 +'px'; } } function createTooltipBox(el) { let tooltip = document.createElement('div'); tooltip.innerText = el.getAttribute('data-tooltip-label'); tooltip.classList.add('tooltip'); document.body.appendChild(tooltip); return tooltip; } } initTooltip(); Creating a box, <div>, that appears when hovering over the Image <img> is a simple step. Here are some links that may help you: https://www.khanacademy.org/computing/computer-programming/html-css https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools https://www.w3schools.com/howto/howto_css_display_element_hover.asp However the next step: You will need the Image Title information which is stored as an Attribute to the Image element This information will be used to fill the Tooltip with text. These Links may be of help to you: https://www.tutorialrepublic.com/faq/how-to-get-the-data-id-attribute-of-an-element-using-jquery.php#:~:text=Answer%3A Use the jQuery attr,attribute of an HTML element. https://laytheme.com/documentation.html#custom-javascript https://css-tricks.com/a-complete-guide-to-data-attributes/ Sorry that i cannot be of more help right now Iman but i hope this aids either you or someone helping :) Best wishes & thank you for using Lay Theme Richard
  • Auto-Scroll to Row

    4
    0 Votes
    4 Posts
    262 Views
    RichardR
    Dear @Phearhead Wondering if something like this is helpful? https://stackoverflow.com/questions/25839487/auto-scroll-to-next-anchor-at-mouse-wheel Best wishes Richard
  • Submenu (dropdown) for mobile responsive

    4
    0 Votes
    4 Posts
    220 Views
    RichardR
    Dear @karimus1888 I do not know for certain though i'm sure it it possible. I will have to test with Polylang myself. Sorry that i cannot be of further help right now :) Sincerely Richard
  • Vertical Menu with Unfold/Fold-Option for Sub-Menus?

    5
    0 Votes
    5 Posts
    397 Views
    S
    I solved it with Custom CSS. Thanks for the Answers!
  • 0 Votes
    2 Posts
    217 Views
    RichardR
    Dear @MickeyB Apologies for the delay - Happy to help :) The Background Color of your Grid is currently set to black: #000000 This can be changed to transparent which will allow users to see the video behind. This can be done within Customize > Background > Background Color > Also your 'Cover' has a white background color set: #ffffff If for whatever reason you need CSS Code to force the background color change then please add the following to either Customize > CSS Or within Lay Options > Custom CSS & HTML > Custom CSS .cover-content { background-color:transparent;} #grid{ background-color:transparent; } Unsure if you want this as well - On Armin's test, he has a background-color: .row { background-color: rgba(0,0,0,0.9)!important; } Making the background almost Opaque similar to Opacity If i can be of further help Mickey, let me know & have a wonderful day, Thank you for using Lay Theme :) Best Richard
  • Eliminate footer and header menu "structure" only for a specific page

    4
    0 Votes
    4 Posts
    107 Views
    RichardR
    Dear @gab The right-click & inspect function of your page is not working so looking at the Code structure isn't possible right now, this page outlines some likely reasons: https://www.auslogics.com/en/articles/fix-right-click-not-working-on-chrome-and-firefox/ I will try my best to set you in the right direction though :) We will be using some of the things outlined within Laytheme's Documentation - specifically targeting a certain page: https://laytheme.com/documentation.html#custom-css-styling Each page has a unique 'slug' which is typically the same as your URL address for the page. So im assuming yours is: .slug-stories With this, CSS applied will only target the 'stories' page. Next we need the Header and Footer's Class or ID. For the header we have the class: .lay-nav & for the Footer we have the ID: #footer-region With this info we can say this: .slug-stories .laynav, #footer-region { display:none; } Saying: -- .slug-stories (stories page) the laynav (navigation) & #footer-region (footer) are to - 'Display:none' The Custom Code above can be inserted into the Custom CSS area of 'Lay options -Custom CSS & HTML' [image: 1614377621436-screen-shot-2020-09-14-at-2.51.54-pm-resized.png] Hope this helps & have a wonderful day :) Richard
  • Remove menu from landing page

    2
    0 Votes
    2 Posts
    286 Views
    RichardR
    Dear Michael @MickeyB Lets do that! :) This may help you as well - referring to Custom CSS based on the landing page: https://laytheme.com/documentation.html#custom-css-styling The following Code will be applied/added to the CSS area within 'Lay Options - Custom CSS & HTML' or using the CSS area located in 'Customize' ( they have the same result ) Your homepage has a 'slug' ( typically the same as your pages URL ) .slug-homepage So we can target this page only and apply css to it. Within this page we want to target both the 'laynav' which is the menu items and also 'navbar' which is the actual 'bar' that separates the Navigation items, so we have our needed elements. Target Homepage then the Laynav and Navbar within: .slug-homepage .laynav, .navbar { display:none !important; } Display:none - straight forward; we tell it not to display and we add the !important to override any CSS that is given naturally from LayTheme ( the CSS that would apply to all other pages etc ). Here is a screenshot of result: [image: 1613710531553-screen-shot-2021-02-19-at-5.55.04-pm-resized.png] Hope this helps Michael and let me know how you go, Have a wonderful day :) Sincerely Richard
  • custom project thumbnail grid

    1
    1 Votes
    1 Posts
    54 Views
    No one has replied
  • Menu + spaces between adapt to browser width

    4
    0 Votes
    4 Posts
    227 Views
    RichardR
    Dear Pia @PC Cool, thanks for following up and concluding the thread :) Best of Luck wiht future Projects and thanks for using Lay Theme! Richard
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • inquiry custom coding lay theme

    laytheme custom coding inquiry
    2
    1 Votes
    2 Posts
    79 Views
    RichardR
    @fratil Tillmann Upvoted, Best of luck with the new website :)
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Size Image + Half screen

    6
    0 Votes
    6 Posts
    216 Views
    RichardR
    Dear Eva @EvaAnna We can do this! :) to be sure, which part is the logo? top left: "craft" [image: 1602703632090-screen-shot-2020-10-14-at-9.26.12-pm-resized.png] And then we can find out how to target it and you will have control over it then let me know! Sincerely Richard
  • Need Custom Code for Image Hover Add-on

    2
    0 Votes
    2 Posts
    84 Views
    RichardR
    Dear Felix @FW I hope you find the person you are looking for :) Sincerely 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