Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

P

peolold

@peolold
About
Posts
10
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • simple text alignment issue
    P peolold

    that did the trick! as always, thanks a lot.

    General Discussion

  • simple text alignment issue
    P peolold

    @arminunruh it's safari version 18.0.1 (20619.1.26.31.7) on mac

    General Discussion

  • simple text alignment issue
    P peolold

    hey there,

    i'm having a simple issue with a text box, that does or doesn't align centered when opened with different browsers / devices. can someone help?

    thank in advance, leopold

    website:
    www.peolold.de

    textbox: "slide to unlock", aligned centre
    Bildschirmfoto 2024-10-25 um 14.30.25.png Bildschirmfoto 2024-10-25 um 14.30.48.png

    chrome on mac: works as intented
    Bildschirmfoto 2024-10-25 um 14.27.47.png

    safari on mac: not centered
    Bildschirmfoto 2024-10-25 um 14.26.23.png

    firefox on mac: works
    Bildschirmfoto 2024-10-25 um 14.26.12.png

    chrome on iPhone: not centered
    IMG_1532.jpg

    safari on iPhone: not centred
    IMG_1533.jpg

    General Discussion

  • Extra link styles for different text formats (underline strokewidth etc)
    P peolold

    That did the trick. Thanks as always for the quick support! :)

    General Discussion strokewidth underline link style

  • Extra link styles for different text formats (underline strokewidth etc)
    P peolold

    Following up on this thread:

    Website:
    https://peolold.de/portfolio/
    -> referring to fifth project from the top called "porta"
    -> referring to desktop version

    Problem:
    The linked textheadline "porta" is styled correctly by the settings I set in the "Customize" tab.
    The linked part of the paragraph "jung von matt / spree" is styled correctly by the custom CSS via the new created texformat "plainlinks" when not hovered. When hovered, it seems to jump back to the hovered settings set in the "Customize" tab instead of listening to the custom CSS.

    I used the custom CSS posted above:

    .lay-textformat-parent ._plainlinks a {
        font-weight: normal;
    }
    
    .lay-textformat-parent ._plainlinks a:hover {
        font-weight: normal;
    }
    
    General Discussion strokewidth underline link style

  • javascript changes values on mobile
    P peolold

    thanks for your quick reply!

    i use the custom phone layout on purpose for design reasons. the html-element is synched between desktop & phone layout though, so it's the exact same code. still, different code is shown when i open the website and view it via inspector.

    that's the piece of code used in both desktop & mobile:

    <div class="center-xy">
        <input type="range" value="0" class="pullee" />
    
    <script>var inputRange = document.getElementsByClassName('pullee')[0],
        maxValue = 150,
        speed = 12,
        currValue, rafID;
    
    inputRange.min = 0;
    inputRange.max = maxValue;
    
    
    function unlockStartHandler() {
        window.cancelAnimationFrame(rafID);
        
        currValue = +this.value;
    }
    
    function unlockEndHandler() {
        
        currValue = +this.value;
        
        if(currValue >= maxValue) {
            successHandler();
        }
        else {
            rafID = window.requestAnimationFrame(animateHandler);
        }
    }
    
    function animateHandler() {
        
        inputRange.value = currValue;
        
        if(currValue > -1) {
        	window.requestAnimationFrame(animateHandler);   
        }
        
        currValue = currValue - speed;
    }
    
    function successHandler() {
        var link = "https://peolold.de/portfolio";
        window.location.href = link
        
        inputRange.value = maxValue;
    };
    
    inputRange.addEventListener('mousedown', unlockStartHandler, false);
    inputRange.addEventListener('mousestart', unlockStartHandler, false);
    inputRange.addEventListener('mouseup', unlockEndHandler, false);
    inputRange.addEventListener('touchend', unlockEndHandler, false);
    </script>
    </div>
    
    General Discussion

  • javascript changes values on mobile
    P peolold

    hey there :)

    i've successfully implemented a "slide to unlock"-feature via some custom javascript on the frontpage of this website: https://peolold.de
    it works fine on desktop & tablet devices, hence as long as it's not the mobile version.
    i've noticed that two relevant javascript values automatically disappear when in mobile mode. i can't find a way to avoid that and it might be the reason that it doesn't work on mobile:
    jsbug_desktop.png
    <input>-tag on desktop with min & max values

    jsbug_mobile.png
    <input>-tag on mobile with missing min & max values

    does anyone have an idea why this could happen?

    General Discussion

  • Image hover -> Image on image
    P peolold

    i found a workaround to make the imagehover addon work on images as well:

    • insert a text element to your gridder
    • in the text elements toolbar, click the little "sourcecode" icon (looks like this: <>) and insert your image via html-code:
      <img src="https://..."/>
      -> simply copy the desired images file-url from your media library
    • the image will appear in your text-element, you can then highlight it, add a link and set your imagehover image or video :)
    Addons

  • align burger menu top left corner
    P peolold

    Thanks a lot!
    Love the theme.

    General Discussion

  • align burger menu top left corner
    P peolold

    Hey there :)

    Can anyone help moving / aligning the burger menu in the top left corner (mobile only)? Or am I missing a setting to do so?
    I don't mind the close icon - can be either top right or top left.

    Thanks in advance and best regards :)
    peolold

    General Discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search