Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.7k Topics 20.3k Posts
  • Custom Menu Color (for different pages)

    19
    0 Votes
    19 Posts
    6k Views
    A
    Hi Guys, any idea for doing the same with the site img? I am using an image instead of a text. I will need to use a different logo color (black or white) for each page or project. Thanks!!
  • how to embed P5.js sketches

    3
    0 Votes
    3 Posts
    596 Views
    S
    @mariusjopen said in how to embed P5.js sketches: Iframe is not a solution, I assume? Hi Marius, Thanks for the quick revert. Im not very familiar with the HTML/CSS, but can manage some basic stuff in this medium. Could you elaborate a bit on the iframe? Thanks, Sunil
  • custom code for desktop menu only

    4
    0 Votes
    4 Posts
    454 Views
    mariusjopenM
    Have a look here: <script> jQuery(function () { if (jQuery(window).width() > 600) { // YOUR CODE HERE } jQuery(window).on('resize', function () { if (jQuery(window).width() > 600) { // YOUR CODE HERE } }); jQuery(window).on('resize', function () { if (jQuery(window).width() <= 600) { // YOUR DISABLING CODE HERE } }); }); </script> Maybe you need to adjust it with this: http://laytheme.com/documentation.html#custom-javascript But that should cover it. Best! Marius
  • Replace Site Description with Project Title

    2
    0 Votes
    2 Posts
    260 Views
    mariusjopenM
    Hi @joshujoshu There is no official way to do it. You have roughly 2 options: You move the title or a div with the title on top of the site description. Using CSS. Maybe even hide the site description. Use jQuery to replace the site description with the title. It is possible. Not very very complicated. But might be a bit tricky if you are a beginner. Let me know how I can help! It helps us also to see the website of yours. Best! Marius
  • Home page link: Where to find in admin panel

    3
    0 Votes
    3 Posts
    362 Views
    D
    eureka! I knew it was something so simple, just didn't know exactly where it was. Thank you much, Marius.
  • HTTP error when uploading media

    3
    0 Votes
    3 Posts
    371 Views
    F
    @mariusjopen I have already built a large amount of my website without any issues, would starting with a fresh wordpress installation loose all my work up to this point?
  • Position of rotated textbox

    10
    0 Votes
    10 Posts
    982 Views
    mariusjopenM
    Hi @Paul_Moxie Can you try to use this code here: .fixed { position: fixed; top: 0px !important; z-index: 0; width: 600px !important; right: -26vh; } Also this is a workaround. I hope that helps! Best! Marius
  • Links mouse hover doesn't work correctly

    6
    0 Votes
    6 Posts
    598 Views
    mariusjopenM
    HI @Loris ! Have a look here: a:hover span { color: grey !important; } So now all the links which contain <span> elements are getting grey on hover. If you want to limit it to specific boxes you can add another class in front like here: .ANOTHERCLASS a:hover span { color: grey !important; } I hope I could help! Best! Marius
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Custom Field in addition to title

    2
    0 Votes
    2 Posts
    260 Views
    mariusjopenM
    Hi @useruser Custom fields are not possible in Laytheme. If you want to use custom fields and other extras we recommend the plugin LayGridder. Best! :-) Marius
  • more control over navbar's border dimensions

    4
    0 Votes
    4 Posts
    482 Views
    mariusjopenM
    Hi @gjb ok. Now I see what you mean. It is a bit complex to explain you how to do it. I strongly recommend to make a basic CSS course at Codeacademy. The stuff you need to do is all very basic and you should be able to do it yourself. After you did the course and tried it – I am happy to answer specific questions. Good luck! Marius
  • Position of image caption

    fullscreen captions image addon
    3
    1 Votes
    3 Posts
    1k Views
    B
    Bump this. Would really love this feature.
  • Calendar Plug-ins?

    4
    0 Votes
    4 Posts
    488 Views
    mariusjopenM
    Hi @PapaSasha best is to follow the instructions of the Plugin: Upload wp-simple-booking-calendar directory to the /wp-content/plugins/ directory Aktiviere das Plugin mittels dem ‚Plugins‘-Menü in WordPress Click on the menu entry ‚WP Simple Booking Calendar‘ Click on ‚Add New‘ at the top of the page to create a calendar Click ‚Save Changes‘ to save the calendar Embed the calendar on any page or post using the shortcode [sbc title=“yes“] or [sbc title=“no“] If it doesn't work – it is not compatible with Laytheme. Laytheme is coded as a single-Javascript-Application. Also it is not possible to modify the template. All the best! Marius
  • Web Fonts Stopped Working (Chrome)

    webfonts chrome
    5
    0 Votes
    5 Posts
    932 Views
    J
    @mariusjopen It worked!! Thanks!!
  • Page Title in Header

    1
    0 Votes
    1 Posts
    341 Views
    No one has replied
  • SEO optimization and Google

    seo google search
    1
    0 Votes
    1 Posts
    571 Views
    No one has replied
  • Custom Scrollbar Jquery

    12
    0 Votes
    12 Posts
    1k Views
    mariusjopenM
    Hi Daniel, this is because it runs all with Javascript and it needs to run a loop the whole time. I personally would not got for the customized scroll bar. Especially since the iframes cause trouble as well. Best! Marius
  • Vertical Split Background Colors

    4
    0 Votes
    4 Posts
    1k Views
    mariusjopenM
    Hi @extra-vitamins I did not do the whole thing but actually you just need to copy the code and use it again_ <script> var colors = ["#fff", '#000', '#f0f', '#0ff', '#00f', '#ff0', '#0f0'] Frontend.GlobalEvents.on("work", function(layoutObj, type, obj){ if(obj.slug == "frontpage"){ var ix = getRandomInt(0, colors.length); var color = colors[ix]; jQuery('.colors-1').css('background-color', color); } }); // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random // Returns a random integer between min (included) and max (excluded) // Using Math.round() will give you a non-uniform distribution! function getRandomInt(min, max) { min = Math.ceil(min); max = Math.floor(max); return Math.floor(Math.random() * (max - min)) + min; } var colors2 = ["#fff", '#000', '#f0f', '#0ff', '#00f', '#ff0', '#0f0'] Frontend.GlobalEvents.on("work", function(layoutObj, type, obj){ if(obj.slug == "frontpage"){ var ix = getRandomInt2(0, colors2.length); var color = colors2[ix]; jQuery('.colors-2').css('background-color', color); } }); // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random // Returns a random integer between min (included) and max (excluded) // Using Math.round() will give you a non-uniform distribution! function getRandomInt2(min, max) { min = Math.ceil(min); max = Math.floor(max); return Math.floor(Math.random() * (max - min)) + min; } </script> Then you make two divs: <div class="colors-1">COLORS-1</div> <div class="colors-2">COLORS-2</div> This is a quick and dirty method and you might do some adjustments to get it work. But this is how you colud do it. Otherwise use images. Best!! Marius
  • Adding Project to Category not working

    4
    0 Votes
    4 Posts
    494 Views
    mariusjopenM
    Hi @dsinclair Best is if you write an email to marius@thepeople.world and include your username, password and a link to this conversation. Best! Marius
  • HTML5

    2
    0 Votes
    2 Posts
    306 Views
    mariusjopenM
    Hin @Maclin Best is if you write an email to armin.unruh@gmail.com and include your username, password and a link to this conversation. Many wishes! Marius

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