Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.7k Topics 20.3k Posts
  • Showing and hiding custom coded things

    twitter php api
    4
    0 Votes
    4 Posts
    831 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(); });
  • Change size of mobile menu title (logo)

    mobile menu tit
    3
    0 Votes
    3 Posts
    604 Views
    H
    Perfect, thank you!
  • Website structure with various project categories

    structure categories
    3
    0 Votes
    3 Posts
    1k 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
    659 Views
    J
    Loveley! Thanx for the quick reply! :smiley:
  • how to change the min-height on mobile

    5
    0 Votes
    5 Posts
    750 Views
    WalkerW
    Hey Armin, your reply solved the problem. Thanks a lot Walker
  • Google Maps plugin

    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
    951 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

    mouseover thumbnail
    3
    0 Votes
    3 Posts
    1k Views
    A
    @arminunruh Helps A LOT! This is working perfectly now! Thank you so much! Great work!
  • Extend Lay Theme with standard wordpress API page template?`

    4
    0 Votes
    4 Posts
    637 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
    342 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

    swap column mobile
    3
    0 Votes
    3 Posts
    837 Views
    WalkerW
    Armin, thank a lot, your suggestion was brilliant, the "very creative" not coding way. Thank walker
  • New laytheme license update

    update license addon
    4
    0 Votes
    4 Posts
    871 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
    574 Views
    B
    Thanks! Way better :)
  • Footer BG-Color

    3
    0 Votes
    3 Posts
    527 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

    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; }
  • 0 Votes
    2 Posts
    289 Views
    arminunruhA
    The www thing I think is related to your webhost, please ask your webhost about that. A PC doesn't have the helvetica font, so that's why it uses Arial or something. That might be the reason why the website looks different on pc.
  • Costum CSS & HTML doesn't show in WP mask anymore?!

    costum css & ht wp mask
    4
    0 Votes
    4 Posts
    513 Views
    arminunruhA
    Ahw, I would have liked to know why that happened ^^:/ Maybe you can find a wordpress plugin that does database backups. Then if that happens again you will have a backup.
  • Random Background Color in Page

    backgroundcolor page random
    1
    0 Votes
    1 Posts
    458 Views
    No one has replied
  • SEO, Google,Java?

    seo meta google java
    3
    0 Votes
    3 Posts
    686 Views
    P
    Hi Armin, It is: www.paulremmelts.nl

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