Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.3k Topics 17.7k Posts
  • Hirarchie on Mobile

    13
    0 Votes
    13 Posts
    2k Views
    D

    Hey Armin,

    Perfect! Thanks a ton!

    Best regards,
    Dennis

  • 0 Votes
    2 Posts
    499 Views
    arminunruhA

    noo there isn't

  • Lay Theme all pages suddenly blank

    6
    0 Votes
    6 Posts
    815 Views
    L

    Hi, same issue — all pages blank. Could you please send me the instructions? Thank you in advance.

  • 0 Votes
    3 Posts
    460 Views
    arminunruhA

    Hey david, I wrote this down and I'm going to test that and work on fixing it ^^

  • Showing and hiding custom coded things

    4
    0 Votes
    4 Posts
    726 Views
    arminunruhA

    Ok, so every link in Lay Theme that just links to a subpage of your website has a "data-type" attribute and "data-id" attribute. Let's just focus on that it has a data-type attribute.
    So you could do:

    jQuery("body").on("click", "a[data-type]", function(event) { jQuery('.twitter-feed').fadeOut(); });
  • 0 Votes
    3 Posts
    555 Views
    H

    Perfect, thank you!

  • 0 Votes
    3 Posts
    993 Views
    A

    Hi both, thanks for the question and the reply - I am working on making these changes now as they are exactly what I want - jus' sayin.

  • Individual hover color for each thumbnail

    3
    0 Votes
    3 Posts
    601 Views
    J

    Loveley!

    Thanx for the quick reply!
    :smiley:

  • how to change the min-height on mobile

    5
    0 Votes
    5 Posts
    694 Views
    WalkerW

    Hey Armin,

    your reply solved the problem.

    Thanks a lot

    Walker

  • Google Maps plugin

    2
    0 Votes
    2 Posts
    1k Views
    arminunruhA

    Hey gggggb! Thx!
    Unfortunately shortcodes dont work with lay theme: http://laytheme.com/troubleshooting.html#shortcodes

    Maybe you can add a map using not a shortcode but a html embed code like an iframe embed. If you add a text, you can click the <> "code" button and insert html code there.
    I hope that helps.

  • Using laytheme without a license?

    2
    0 Votes
    2 Posts
    899 Views
    arminunruhA

    Hey nikolai!
    Good question. If you have downloaded lay theme for free before and u are using it on a website, you can keep using it for free on that website. Right now Updates and lay theme work even without a license key. I might add a "unregistered" message just in the backend if u dont have a key in a future update.

  • Project Thumbnail Mouseover

    3
    0 Votes
    3 Posts
    1k Views
    A

    @arminunruh Helps A LOT! This is working perfectly now!
    Thank you so much! Great work!

  • 0 Votes
    4 Posts
    546 Views
    arminunruhA

    Ok, I see

    http://laytheme.com/documentation.html#custom-javascript
    You could also fetch your data using wp-api. http://v2.wp-api.org/
    That's what lay theme uses.

    In this case it's pretty slow, cause first I fetch all posts, then I fetch each featured image (project thumbnails) and that just takes long. :/

    <script> Frontend.GlobalEvents.on("newpageshown", function(layoutObj, type, obj){ if(type == "page" && obj.id == 20){ //fetch projects jQuery.getJSON(frontendPassedData.wpapiroot+'wp/v2/posts/', function(result){ console.log(result); for(var i=0; i<result.length; i++){ var fi_id = result[i].featured_image; jQuery.getJSON(frontendPassedData.wpapiroot+'wp/v2/media/'+fi_id, function(result){ console.log(result); }); } }); } }); </script>

    But maybe you don't need all the featured images but just the project titles. That's faster:

    <script> Frontend.GlobalEvents.on("newpageshown", function(layoutObj, type, obj){ if(type == "page" && obj.id == 20){ //fetch projects jQuery.getJSON(frontendPassedData.wpapiroot+'wp/v2/posts/', function(result){ for(var i=0; i<result.length; i++){ console.log(result[i].title.rendered); } }); } }); </script>
  • Cant align pictures

    2
    0 Votes
    2 Posts
    327 Views
    arminunruhA

    hey naico, right now that's a limitation of the gridder. you can't put elements on top of each other within one row. That's something I need to work on one day

  • Instagram / Tumblr

    10
    0 Votes
    10 Posts
    3k Views
    arminunruhA

    Hey ma!
    instafeed looks good. Ok, let's see. I'm going to work on instagram feed embedding one day, but I'm not sure when I got time for that.

  • how to swap columns on mobile

    3
    0 Votes
    3 Posts
    722 Views
    WalkerW

    Armin, thank a lot,
    your suggestion was brilliant,
    the "very creative" not coding way.

    Thank

    walker

  • New laytheme license update

    4
    0 Votes
    4 Posts
    752 Views
    arminunruhA

    hey TKN!
    Ah good question!
    I haven't planned new addons. I think if there will be a new addon one day it would be included in the pro and studio licenses, yea. And I would probably send that new addon to people who have the pro or studio license.

    But, I'm really not sure if I will code a new addon. Right now I'm again pretty busy with another project and then I want to focus more on improving lay theme and the existing addons.

    cheers

  • custom sitetitle.img size for mobile

    4
    0 Votes
    4 Posts
    541 Views
    B

    Thanks! Way better :)

  • Footer BG-Color

    3
    0 Votes
    3 Posts
    496 Views
    Q

    Hi,
    I wanted a footer on a page with a background image. But when I have a background image the background color for the footer is not visible (seems to be behind the image). When I disable the image, the color in the footer is visible.
    How can I solve this?

  • Hide menu

    2
    0 Votes
    2 Posts
    3k Views
    arminunruhA

    Hey Kristina!
    As explained here, you can target specific projects/pages/categories with css: http://laytheme.com/how-to-use.html#custom-css-styling

    Example for hiding the nav for a page that has an id of 10:

    body[data-type="page"][data-id="10"] nav{ display: none !important; }
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 A S
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com