Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.4k Topics 18.6k Posts
  • Full-content blog section

    2
    0 Votes
    2 Posts
    26 Views
    arminunruhA

    Screenshot 2024-01-27 at 13.56.44.png

    choose this as the layout type

  • Cursor gif not working in chrome and Firefox

    2
    0 Votes
    2 Posts
    98 Views
    arminunruhA

    i think most browsers just don't support gifs or any animated cursors

  • Round Edges Images / Video

    8
    0 Votes
    8 Posts
    300 Views
    arminunruhA

    try this

    .type-img img{ border-radius: 10px; } .type-img .ph{ background-color: transparent!important; }
  • javascript changes values on mobile

    4
    0 Votes
    4 Posts
    34 Views
    arminunruhA

    hey please put your javascript in lay options → custom css & html

    then

    <script>…</script>

    put it in custom content for <head>

    and use https://laytheme.com/documentation/custom-javascript.html#newpage-events

  • slow loading

    8
    0 Votes
    8 Posts
    102 Views
    arminunruhA

    hey so with static websites, no contact form, booking plugins or anything like interactive will work where the user would send any information to the server

    so if you want me to try and create the static website for you:

    can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

  • Thumbnail blur without blurring edges

    6
    0 Votes
    6 Posts
    105 Views
    C

    hmmm okey, I will try!

  • Can you embed a page?

    6
    0 Votes
    6 Posts
    60 Views
    arminunruhA

    the page on the right side is always just the page you're on

    and the page on the left side is always whatever footer page you chose

    you know
    Screenshot 2024-01-20 at 11.19.10.png

    in lay options → footers

    you can select these boxes where it says:
    "Show a select input in the Project Edit Screen to choose a Footer for individual Projects"

    then for each project/page/category you can choose a different footer page.
    so this way you can have different pages that show on the left side of the splitscreen layout

    and whatever page you're on will always be on the right side

    there are no other settings for this, so im not sure if that covers your use case

  • custom js question

    4
    0 Votes
    4 Posts
    42 Views
    arminunruhA

    oh yea so the text needs to be hidden by default

    you can use css to have it hidden at the start

    in lay options → custom css & html → custom css:

    #footer-region{ opacity: 0; }
  • Carousel as overlay not working

    4
    1 Votes
    4 Posts
    48 Views
    arminunruhA

    Screenshot 2024-01-20 at 11.07.27.png

    mmh i see this error in your console. i have never seen that one before! i'd need to dig a little deeper

    can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

  • 0 Votes
    2 Posts
    30 Views
    arminunruhA

    nice customization!

    well u can use your browsers inspector
    and see:

    Screenshot 2024-01-18 at 07.13.22.png

    site title and menu just get css added. now if you dont want them to be opacity:0 on certain pages, you'd do this

    so as far as i can tell you only want the fadeout on one page. and all other pages should not have the fadeout

    body:not(.slug-archive) .sitetitle{ opacity:1!important; } body:not(.slug-archive) .laynav.desktop-nav{ opacity:1!important; }

    so this is saying: on any page other than the one with the "slug-archive" class: always show menu and site title

    https://developer.mozilla.org/en-US/docs/Web/CSS/:not
    https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page

  • Lightbox

    10
    0 Votes
    10 Posts
    98 Views
    arminunruhA

    sure, sorry for the hassle

  • 1 Votes
    11 Posts
    160 Views
    A

    Jesus! So good! I knew there's a alternative way to do it! Armin, thank you so much! Finally!! :-DD

  • align burger menu top left corner

    4
    0 Votes
    4 Posts
    51 Views
    arminunruhA

    thanks a lot :))

  • Embed API in JSON Format

    2
    0 Votes
    2 Posts
    26 Views
    arminunruhA

    hey christian!

    you'd need to learn about how to fetch api endpoints using javascript:
    https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

    then you'd need to use the json you get to create html using javascript and then insert that into the website using javascript as well

    i think this is hard to do for a beginner, i don't have time to code this for you :/

    the link shows an embed, that would be better. can u somehow get that embed code and put it on a lay theme page using → + more → +html

    or +more → +embed

    https://www.w3schools.com/tags/tag_embed.asp

    seems like you could probably just add it using +html

  • carousel captions following cursor

    5
    0 Votes
    5 Posts
    53 Views
    arminunruhA

    maybe other events will be better for u / good reads:

    https://swiperjs.com/swiper-api#events

    https://stackoverflow.com/questions/32945099/how-to-detect-current-slide-in-swiper-js

    https://stackoverflow.com/questions/592396/what-is-the-purpose-of-a-self-executing-function-in-javascript

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • is laytheme compatible with php 8.1?

    3
    0 Votes
    3 Posts
    47 Views
    F

    Thanks for your answer!

  • Only text slides in a carousel

    3
    0 Votes
    3 Posts
    88 Views
    ArneRobotA

    Ahhhhhh, perfect!
    Thank you very much! I didn't realize you could fill in "auto"!
    Cheers, Arne

  • Help for individual css Project Title

    4
    0 Votes
    4 Posts
    51 Views
    arminunruhA

    Screenshot 2024-01-12 at 01.32.35.png

    but it already works no?

    you can use the settings for this, instead of css:
    in customize → project thumbnails → project thumbnail mouseover

    Screenshot 2024-01-12 at 01.34.09.png

    use white bg color and opacity like 0 i think or 100

    and in:

    customize → project thumbnails → project title
    Screenshot 2024-01-12 at 01.34.22.png

    show title on mouseover

    or maybe i don't understand what you're trying to do correctly

  • Lightbox

    2
    0 Votes
    2 Posts
    32 Views
    arminunruhA

    do you have a link?
    did you do all the steps to the right in the cyan box?

    i don't see this happening on my lay theme installation

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