Skip to content

General Discussion

5.0k Topics 21.7k Posts

A place to talk about anything Lay Theme related

  • Eventbrite in LayTheme

    5
    0 Votes
    5 Posts
    839 Views
    arminunruhA
    hey, i see this is the example they gave on the website: <div id="example-widget-trigger"></div> <script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"></script> <script type="text/javascript"> var exampleCallback = function() { console.log("Order complete!"); }; window.EBWidgets.createWidget({ widgetType: "checkout", eventId: "52766401728", iframeContainerId: "example-widget-trigger", iframeContainerHeight: 425, onOrderComplete: exampleCallback }); </script> <script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"></script> put this part in "lay options" -> "custom css & html" -> "Custom <head> content" put this html in your page in the gridder via "+more" -> "+html": <div id="example-widget-trigger"></div> in "lay options" -> "custom css & html" -> "Custom <head> content" I would insert the other code like this, according to: http://laytheme.com/documentation.html#custom-javascript <script type="text/javascript"> var exampleCallback = function() { console.log("Order complete!"); }; laytheme.on('newpageshown', function(){ if( jQuery('#example-widget-trigger').length > 0 ){ window.EBWidgets.createWidget({ widgetType: "checkout", eventId: "52766401728", iframeContainerId: "example-widget-trigger", iframeContainerHeight: 425, onOrderComplete: exampleCallback }); } }); </script> good luck this is all because lay theme is has a frontend that is a javascript app .. sry for the late reply
  • Ordered LayTheme on Gumroad / no serial

    7
    0 Votes
    7 Posts
    1k Views
    arminunruhA
    Sorry that email landed in my spam, and sry for the late reply :/
  • [solved] SVG Transparency Issue

    9
    1
    0 Votes
    9 Posts
    2k Views
    edgrbnzE
    Cool! Well yes that’s a thing. Since the pictures are transaprent the color is always there. That’s not a bug really. I had the same issue a while back. Glad it works now!
  • menu text -individual colour

    16
    1
    0 Votes
    16 Posts
    1k Views
    edgrbnzE
    Glad it works 💐
  • tripadvisor widget

    6
    0 Votes
    6 Posts
    1k Views
    mariusjopenM
    Dear @dani we hope to release a PHP version of LayTheme. Then this will be possible :-D Best! Marius
  • Hover image text appear

    2
    0 Votes
    2 Posts
    272 Views
    mariusjopenM
    Dear @chrisaadland this can be achieved with jQuery. Not that difficult. You create a text box which is on opacity 0. Then with jQuery you add or remove a class which gives opacity 1 !important to this element. You can use the toggleClass function from jQuery. Best! Marius
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • using URL query strings

    2
    0 Votes
    2 Posts
    288 Views
    mariusjopenM
    Dear @dani I do not know a way. Maybe with Javascript via an API? Anyone else? Best! Marius
  • CSS Styles missing

    2
    1
    0 Votes
    2 Posts
    162 Views
    mariusjopenM
    Dear @Cora can you post a link to your website? Best! Marius
  • shortcodes / textillate / word animation

    4
    0 Votes
    4 Posts
    523 Views
    mariusjopenM
    Dear @robochicken Because your Lay Theme website is a "Single Page" JavaScript application you are not able to use PHP. :-) We are working on a . PHP version of Laytheme. Best! Marius
  • This topic is deleted!

    25
    0 Votes
    25 Posts
    724 Views
  • mix-blend-mode css

    3
    0 Votes
    3 Posts
    680 Views
    mariusjopenM
    Dear @Andreas it is possible that the Laytheme editor will mark it is an error. it will still work. But some browsers don't support it though… Best! Marius
  • Footer & Transparent Background :-)

    15
    0 Votes
    15 Posts
    4k Views
    mariusjopenM
    Dear @walshmagger thank you for the great answer! Marius
  • site title as scroll to top button

    4
    0 Votes
    4 Posts
    576 Views
    mariusjopenM
    Great!! :-D
  • Accordion

    2
    0 Votes
    2 Posts
    1k Views
    mariusjopenM
    Dear @mrrpringle Maybe in the forum already asked that question and got an answer :-) Here is a pretty good tutorial for an accordeon with jQuery: https://css-tricks.com/snippets/jquery/simple-jquery-accordion/ But in the end this here is the key: $('.accordeon-child-button').on('click', function () { $(this).parent().toggleClass("accordeon-child-open"); }) Please note this: http://laytheme.com/documentation.html#custom-javascript Best! Marius
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    32 Views
  • collapse mobile nav on click menu-item

    10
    0 Votes
    10 Posts
    2k Views
    mariusjopenM
    Dear @designklinik I can imagine that this might do: https://api.jquery.com/toggleClass/ Best! Marius
  • Two different background colors on one page (horizontal)

    3
    0 Votes
    3 Posts
    272 Views
    mariusjopenM
    Dear @Jen totally possible with CSS :-) Can you post a link to our website? Then we can have a look and inspect that. Marius
  • Mobile: transition between portrait and landscape

    3
    0 Votes
    3 Posts
    435 Views
    mariusjopenM
    Dear @dolma ah sweet! Thank you for sharing! Best! Marius
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com