Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.4k Topics 18.6k Posts
  • 0 Votes
    4 Posts
    79 Views
    RichardR
    Dear @Antoine-dvc

    As a first test wrap the code into a 'newpage event" within your Custom <head> Content:

    https://laytheme.com/documentation/custom-javascript.html

    <script> window.laytheme.on("newpageshown", function(){ // insert your desired code here }); </script> Best Richard
  • Problem with anchor scroll

    4
    0 Votes
    4 Posts
    53 Views
    RichardR
    Dear @Kfjimmedy

    Lay Theme has built in Anchor scrolling if you wish.

    Given any row or element an id:
    Screen Shot 2020-11-13 at 9.07.33 AM.png

    The in > Appearance > Menu's you can create a "custom Link" with the a # followed by your ID :

    Screen Shot 2022-01-27 at 9.14.13 AM.png

    You can also set spaces for your Anchorscroll in > Lay Options >

    Screen Shot 2022-01-27 at 9.15.42 AM.png

    Hope this helps & best wishes Richard
  • MOBILE version Home page

    2
    0 Votes
    2 Posts
    19 Views
    RichardR
    Dear @G1234

    I don't quite understand sorry 🌝

    "(I have a coded homepage for desktop), but the sizes are messed up"

    A Coded homepage? Custom CSS or JS?

    Are you able to post a link to your website or any relevant screenshots can help 🔍

    Talk soon & best wishes @G1234 Richard
  • Vimeo's Iframe and custom CSS

    2
    0 Votes
    2 Posts
    627 Views
    RichardR
    Dear Pierre @Pierre-Fave

    The following code:

    iframe { border-radius: 25px; }

    Gave me the result:
    Screen Shot 2022-01-27 at 8.49.54 AM.png

    https://www.w3schools.com/cssref/css3_pr_border-radius.asp

    Hope this helps & best wishes 🌝 Richard
  • Cover effect on a specific row

    1
    0 Votes
    1 Posts
    43 Views
    No one has replied
  • Newsletter Signup Mailjet

    1
    0 Votes
    1 Posts
    36 Views
    No one has replied
  • Project Thumbnail title & category / position

    3
    0 Votes
    3 Posts
    49 Views
    A

    Great, thank you Richard! Have a good 1.

  • 0 Votes
    5 Posts
    79 Views
    L

    Hello @Richard-Keith,

    I have the same problem for the images at my project page.

    I checked the "lazy loading" and the "
    Image Placeholder Background Color" in lay options and I added the code you said in my custom CSS area, but it doesn't alter the background-color when they're loading. Do you have any advice ?

    Thank you in advance

    (here's a link to my website, https://www.louiseterrasse.com/)

  • L-ESP

    3
    0 Votes
    3 Posts
    46 Views
    RichardR
    Dear @marcos

    Are you able to post a link to your website. The solution posted in the previous thread:

    https://stackoverflow.com/questions/41555397/strange-symbol-shows-up-on-website-l-sep

    Does this work for you as a solution?

    Best wishes Richard
  • Custom Style Posts

    1
    0 Votes
    1 Posts
    18 Views
    No one has replied
  • Fixed text move up when footer moves in

    2
    0 Votes
    2 Posts
    48 Views
    RichardR
    Dear @zwtsr

    There could be a few solutions depending on design. Are you able to post a link to your website, this can help testing.

    The text is Fixed so will always control it's own space:

    "An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element.
    A fixed element does not leave a gap in the page where it would normally have been located."

    https://www.w3schools.com/css/css_positioning.asp#:~:text=An element with position%3A fixed,would normally have been located.

    You may want to add some space above your footer, making room for the fixed text. Another options is to change the position property of your Footer to interact with the text and not be overlapped but this may create some issues, would need to test and see.

    Talk soon & best wishes Richard
  • 0 Votes
    4 Posts
    33 Views
    RichardR
    @jmmc

    Thanks João for following up & best wishes! ✨

  • 0 Votes
    3 Posts
    100 Views
    RichardR
    Dear @mihir

    Would it suit to use JSON and create a basic project layout? then for any new project you could just past your Basic JSON code and get the setup.

    http://laythemeforum.com:4567/topic/7421/insert-page-into-another

    Best wishes Richard
  • Dropshadow for menu bar

    8
    0 Votes
    8 Posts
    51 Views
    RichardR
    Dear Nico @Nico-Schröder

    The following code:

    .navbar { -webkit-backdrop-filter: blur(.3rem); backdrop-filter: blur(0.3rem); -webkit-box-shadow: 0 1px 5px rgb(0 0 0 / 10%); -moz-box-shadow: 0 1px 5px rgba(0,0,0,.1); -ms-box-shadow: 0 1px 5px rgba(0,0,0,.1); -o-box-shadow: 0 1px 5px rgba(0,0,0,.1); box-shadow: 0 25px 5px rgb(0 0 0 / 10%); }

    Produces the following result:

    Screen Shot 2022-01-19 at 10.51.30 AM.png

    This is not the same for you?
    The unexpected Token shouldn't be a problem:

    Screen Shot 2022-01-19 at 10.53.12 AM.png

    Result:

    Screen Shot 2022-01-19 at 10.53.28 AM.png

    Best wishes Richard
  • Website loading on mobile

    4
    0 Votes
    4 Posts
    47 Views
    RichardR
    Dear Sandro @ateliermaeve

    Strange 🤔still unable to recreate the issue when viewing first time (this test was on the Iphone 13 Pro, loaded beautifully ) :

    Screen Shot 2022-01-18 at 8.39.30 AM.png

    Is there any other way you can think of that may help me test these errors?

    Best wishes ✨ Richard
  • This topic is deleted!

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

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Index Filter Arrow

    4
    0 Votes
    4 Posts
    55 Views
    RichardR

    Great to hear @Hayo-Gebauer have a wonderful day ⭐️

  • Custom Jquery for the Shop

    6
    0 Votes
    6 Posts
    43 Views
    RichardR

    Happy to help @TYLM have a great day ✨

  • 0 Votes
    2 Posts
    41 Views
    fabiandraxlF

    @fabiandraxl

    After hour of trying i found some "solution":

    .cover-region, .cover-region-placeholder, .cover-inner { min-height: 60vh !important; height: 60vh !important; }

    But the automatic scrolling to row two is broken and the content of the cover is still centered as if the cover still was 100vh ...

    Could some body help me out pls? 😘

    Here my Testwebsite / PW via DM

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