Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.8k Topics 20.5k Posts
  • wordpress admin bar not showing on the frontend

    5
    0 Votes
    5 Posts
    154 Views
    arminunruhA
    yes u're right! i will add an "edit" button!! i just hid the adminbar cause it makes the website look worse
  • thanks for the update ...

    4
    0 Votes
    4 Posts
    126 Views
    arminunruhA
    im very sorry this happened! wordpress doesn't autosave metabox content so it wasnt saved without hitting the "update" button i did find a solution https://wordpress.stackexchange.com/questions/3316/how-to-show-a-custom-meta-box-on-the-quick-edit-screen/115867#115867 i might code an autosave feature one day
  • page loads slowly

    5
    0 Votes
    5 Posts
    199 Views
    arminunruhA
    mmh maybe some images were very big. be careful only to use jpg images, not .tif or png images. they can be too big!
  • Project thumbnail descriptions attached to cursor hover

    2
    0 Votes
    2 Posts
    53 Views
    arminunruhA
    hey theres no option for this! but i will write it down, maybe i will code it one day
  • scroll Overflow on mobile is not working

    2
    0 Votes
    2 Posts
    122 Views
    arminunruhA
    use this css body { overscroll-behavior-y: none; } you dont need any of the css you're using https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior-y
  • remove licence from old site

    3
    0 Votes
    3 Posts
    97 Views
    K
    @Alex-F Thank you!
  • Disable Rightclick and context menu for copyright reasons

    3
    0 Votes
    3 Posts
    174 Views
    A
    @arminunruh true, but the regular user dont use the inspector to download images. i would say this prevents 95% of downloading images. i just feel better with no context menu
  • While editing the carousel, the images are not displayed correctly

    4
    1
    0 Votes
    4 Posts
    60 Views
    arminunruhA
    hey can you go to your webhost control panel, meaning log in whereever you got your webspace and domain then try and find the php settings use a new php version like version 8. now you should be able to use the latest version of lay theme!
  • shortocdes on woocommerce product pages for ACF

    6
    1
    0 Votes
    6 Posts
    307 Views
    arminunruhA
    ooh very nice! congratulations!
  • SET ROW BACKGROUND NOW NOT WORKING

    7
    0 Votes
    7 Posts
    202 Views
    arminunruhA
    if u update now, now it works! sorry
  • CSS grid column values

    2
    0 Votes
    2 Posts
    72 Views
    arminunruhA
    hey jot! oh well i think i dont have time to help u with this
  • 0 Votes
    2 Posts
    43 Views
    arminunruhA
    aha <3 <3 <3 :))
  • Lottie / bodymovin / json animations

    2
    0 Votes
    2 Posts
    110 Views
    arminunruhA
    hey! i think someone did a post about it here on the forum. i havent used lottie before
  • previous and next mouse cursor - pixelated on retina

    7
    0 Votes
    7 Posts
    191 Views
    arminunruhA
    mh don't know. on chrome it looks good
  • I want to create a thumbail grid but with images and not projects

    5
    0 Votes
    5 Posts
    113 Views
    arminunruhA
    @peterroden said in I want to create a thumbail grid but with images and not projects: I like the hoverimage effect on the project thumbnails where it scales up a bit on hover. How do I add that to the element grid? that is just for the project thumbnails. you'd need to do a transform: scale(1.1); transition for example I have added a border to the grid elements using CSS however this seems to have broken the grid columns. You can see that if there is not a multiple of 3, the last image in the grid scales across all 3 columns instead of keeping the same size. https://leightonspace.co.uk/brainmarrow/test/ maybe try a 1px box shadow instead of a border also the padding you added makes the boxes bigger than they're supposed to be so they dont fit in you added this css. and it makes the elements get too big because you use flexbox i think: .element-wrap { border-width: 1px 1px 0px 1px; border-style: solid; border-color: #2C56A2; padding-left: 16px; padding-right: 16px; padding-top: 16px; box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: column; -webkit-box-direction: column; -ms-flex-direction: column; flex-direction: column; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -webkit-box-flex: 1 1 0%; -ms-flex: 1 1 0%; flex: 1 1 0%; } best to dabble around with the css and learn about flexbox The element grid is not scaling in the same way responsively as the thumbnail grid. for me it does scale I cannot get my text animation on the artist name hoverstate to work. On the project thumbnail version I have a cool hoverstate animation that changes the font. I cant get that to work on the element grid. you probably need to target the parent container like .element-wrap:hover .caption{ } instead of .caption:hover{ }
  • (urgent) Mobile: hide site title on every news page

    5
    0 Votes
    5 Posts
    106 Views
    arminunruhA
    do this instead: body.type-lay_news .mobile-title, body.type-lay_news .navbar, body.type-lay_news .burger { display: none !important; } body.type-lay_news{ padding-top: 0; }
  • The admin bar not showing on front-end when logged in

    5
    1 Votes
    5 Posts
    111 Views
    arminunruhA
    i disabled it very hard :D so u cant
  • Transparent Navbar (header)

    15
    0 Votes
    15 Posts
    1k Views
    arminunruhA
    jQuery(window).scroll(function() { // check if scroll event happened if( window.innerWidth > 700 ) { if (window.scrollY > 50) { // check if user scrolled more than 50 from top of the browser window jQuery(".navbar").css("background-color", "rgba(255, 255, 255, 0.4)"); // if yes, then change the color of class "navbar" to white (#ffffff) and 0.4 opacity // jQuery(".navbar").css("background-color", "#ffffff"); // if yes, then change the color of class "navbar" to white (#ffffff) jQuery(".navbar").css("backdrop-filter", "blur(5px)"); // if yes, then change the blur to 5px } else { jQuery(".navbar").css("background-color", "rgba(255, 255, 255, 1); jQuery(".navbar").css("backdrop-filter", "blur(0px)"); // if yes, then change the blur to 0px } } });
  • How to set up an index of text instead projects

    14
    0 Votes
    14 Posts
    687 Views
    arminunruhA
    oh u can only use the project index element for a list of projects. not for a list of any texts :/
  • adding Extra columns in project index

    7
    1
    0 Votes
    7 Posts
    316 Views
    Y
    @victor789 How did you fix/manage your issue in the end? would be nice to know :)

I also code custom websites or custom Lay features.
šŸ’æ Email me here: šŸ’æ
info@laytheme.com

Our Web Development company: 100k.studio

Want to tip me? https://www.paypal.com/paypalme/arminunruh

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