Skip to content

General Discussion

5.0k Topics 21.7k Posts

A place to talk about anything Lay Theme related

  • Q-Translate

    3
    0 Votes
    3 Posts
    363 Views
    S
    @arminunruh it works! great! thank you very much :)
  • Adding bandcamp and spotify to social media icons

    2
    0 Votes
    2 Posts
    162 Views
    arminunruhA
    sure [image: Screenshot 2022-10-20 at 12.47.58.png] find icons here https://www.iconfinder.com/social-media-icons
  • Colour of an element changes when hovering over another one

    2
    0 Votes
    2 Posts
    173 Views
    arminunruhA
    can u send the url of where ure trying to achieve this the tilde selector ure using, i havent ever used or seen it this is it: https://www.w3.org/TR/selectors-3/#general-sibling-combinators how exactly are u imagining the selector to work?
  • Mobile error

    2
    0 Votes
    2 Posts
    110 Views
    arminunruhA
    it works for me on both chrome and safari on my iphone maybe update your ios
  • Problem with color

    2
    0 Votes
    2 Posts
    144 Views
    arminunruhA
    i think ure using the wrong css selector i think this one is correct: https://developer.mozilla.org/en-US/docs/Web/CSS/Adjacent_sibling_combinator when inspecting the html make sure u target the right .col , the html elements you target need to be siblings, meaning they need to be in the same parent element and next to each other
  • 1px right border on videos

    7
    2
    0 Votes
    7 Posts
    327 Views
    arminunruhA
    the link doesnt work
  • Text block background color

    2
    0 Votes
    2 Posts
    255 Views
    arminunruhA
    right click the text give it a class "green" in your css in lay options: .green{ background-color: green; }
  • Add Bandcamp player in text block

    bandcamp player bandcamp
    5
    0 Votes
    5 Posts
    778 Views
    W
    Thanks so much @arminunruh!!! This worked perfectly!
  • Creating animated menu.

    5
    0 Votes
    5 Posts
    998 Views
    G
    Thanks @arminunruh i can do this.
  • Text colour according to background contrast

    10
    0 Votes
    10 Posts
    2k Views
    X
    @arminunruh Thank you for your reply and the solutions provided. Just in case you got me wrong: I created a one row layout with a fullscreen carousel (fixed height: 100vH, filled slides) and text elements "on image". Now I'm trying to change these elements (e.g. the site title) on a specific carousel slide (2) like this: .slug-fullscreen .lay-carousel-slide:nth-child(2) .sitetitle span{ color: white !important; } Does this make any sense?
  • full screen slider - mobile

    2
    0 Votes
    2 Posts
    280 Views
    arminunruhA
    it seems the sliding speed is set to 0 pls check this setting in lay options → fullscreen slider addon [image: Screenshot 2022-10-13 at 12.33.33.png] and set it to a higher value u could also create a custom phone layout that contains a carousel
  • my submenu doesn't show up

    5
    2
    0 Votes
    5 Posts
    583 Views
    arminunruhA
    the issue was there was custom css
  • Intro page always showing up

    4
    0 Votes
    4 Posts
    309 Views
    arminunruhA
    no sorry :/
  • Multiple mobile menus

    2
    0 Votes
    2 Posts
    209 Views
    arminunruhA
    hey there one day i will work on this feature where you can create a menu or any overlay by creating a page in the gridder its on my todo list not sure when i will work on it!
  • Customize Site Title with mix-blend-mode

    5
    0 Votes
    5 Posts
    900 Views
    P
    Very cool! I'll try that. Thank you Armin for sharing the post!
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Carousel Add-On: Prev/Next on linked images

    3
    0 Votes
    3 Posts
    451 Views
    L
    Yesss. Meant cursors! Thxxx. Would be super super nice :)))
  • Having different colors for the site title/menus on different pages

    2
    0 Votes
    2 Posts
    250 Views
    arminunruhA
    https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page
  • This topic is deleted!

    6
    1
    1 Votes
    6 Posts
    26 Views
  • Button to switch visibility of Menu

    4
    0 Votes
    4 Posts
    308 Views
    arminunruhA
    <script> var showDesktop = false; jQuery(document).on("mouseenter click", ".desktopbutton", function(e) { e.stopPropagation(); if( showDesktop ) { jQuery("nav").removeClass("navoff"); }else{ jQuery("nav").addClass("navoff"); } showDesktop = !showDesktop; }); the touchstart event is triggered at the same time the click event is triggered. you need to read about event propagation, google it var showMobile = false; jQuery(".mobilebutton",).on("click", function(e) { e.stopPropagation(); if( showMobile == true ) { jQuery("nav").removeClass("navoff"); }else{ jQuery("nav").addClass("navoff"); } showMobile = !showMobile; }); jQuery(document).on("click", function(event) { // hide desktop and mobile menu // if you dont want these menus to get hidden when clicking on a menu point, // you need to take a look at event.target and see if that element or its parents are part of the menu }); u probably also only need to add and remove one class: navoff instead of switching out navon, navoff. the navoff class just has opacity: 0; i'd recommend you to read a beginners book about jquery to learn how to do things like that or post questions like that on stackoverflow or sth i didn't test this code, idk if it really works well. but i don't have time to help you more than that, as its custom coding
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com