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

R

Rama94

@Rama94
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Carousel: applying alt-buttons class to another class
    R Rama94
    May 12, 2021, 11:53 AM

    Hi everyone

    I've got a Carousel slideshow where I make use of the alt-buttons function for my numbers; that's working well. Since I want my captions not beside my numbers (and I don't want a proper caption for each slide, more like a fixed title for all slides in the show), I'm dealing with the issue of how I can adapt the alt-buttons function to another element/class. I mean this is pretty simple, you only have to add the class .alt-buttons to that element. But remember that I have a fixed title that is visible through all slides; if I would add .alt-buttons to that element, the .alt-buttons class would be active for all slides. My goal is to achieve that this class is only active for those slides that have the alt-buttons function activated and not for the whole slideshow. I hope my thoughts are clear till here.

    Well, I noticed that if a slide has the alt-buttons function active, it automatically gets the class .alt-buttons; and if I swipe to the next slide – where the alt-buttons function is inactive – the class isn't added anymore. Based on this, I thought I simply have to code a jQuery which says if element "xy" has class .alt-buttons then add .highlight to class .Title and there I am. But it's not working.

    This is my carousel and below my code: https://raphaelmathias.de/projects/wp1_krizolbricht/till/

    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
    		if(type == "project"){
    
    jQuery(function () {
        if (jQuery('.lay-carousel-wrap').hasClass('alt-buttons')) {
            jQuery('._Titel').addClass('highlight');
        } 
    });
    
    }
    });
    
    .highlight {
        background-color:#ff0;
    }
    

    My jQuery is working when I use the following classes .lay-carousel-slide and .lay-use-alt-buttons, but then the class .highlight is added to all slides of the slideshow and not to a certain slide.

    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
    		if(type == "project"){
    
    jQuery(function () {
        if (jQuery('.lay-carousel-slide').hasClass('lay-use-alt-buttons')) {
            jQuery('._Titel').addClass('highlight');
        } 
    });
    
    }
    });
    
    .highlight {
        background-color:#ff0;
    }
    

    Any thoughts are welcome! Thanks.

    Best
    Raphael

    Addons

  • Image Hover Add-on / Using without active link
    R Rama94
    Apr 15, 2021, 5:18 PM

    @Baptiste Thank you for your reply. when I use "pointer-events: none;" the link doesn't appear anymore that's true, but then in my case the image doesn't appear either. Am I wrong?

    Addons

  • Image Hover Add-on / Using without active link
    R Rama94
    Apr 15, 2021, 8:07 AM

    @Baptiste Hi Baptiste
    Did you manage to code it yourself? I would like to achieve the same effect but don't know how....

    Best
    Raphael

    Addons

  • How to return to the exact same scroll position when going back to previous page
    R Rama94
    Sep 26, 2020, 10:30 AM

    Hi Everyone!

    I recently have noticed that if I jump to another page while using the menu and then go back again (pressing back button ) that Lay Theme brings me to the same scroll position that I was before on the previous page. That's great so far.

    But: if I'm navigating through a regular link on the site (I mean a link that is not contained in the menu) and then go back, that Lay Theme always take me to the top of the page instead to the previous scroll position.

    Is there a way to fix this?

    Best
    Raphael

    General Discussion

  • Mismatched "post_max_size“ and "upload_max_filesize“ values
    R Rama94
    Aug 31, 2020, 7:40 PM

    Hi everyone

    I received the following message a few days ago: Mismatched „post_max_size“ and „upload_max_filesize“ values. The settings for post_max_size and upload_max_filesize are not the same, this could cause some problems when trying to upload files.

    Does anyone have an idea whats the issue and how to fix it?

    Best
    Raphael

    Bildschirmfoto 2020-08-31 um 21.39.25.png

    Bug Reports

  • simple link to page#anchor doesn't work since update 3.3.9
    R Rama94
    Aug 6, 2020, 9:56 AM

    @arminunruh Thank you Armin – it's working again! Have a great day!

    Bug Reports

  • simple link to page#anchor doesn't work since update 3.3.9
    R Rama94
    Aug 1, 2020, 8:34 AM

    Hi There!

    I've noticed the same issue – I've just update from version 3.3.8 to 3.3.9 and immediately all anchor links stopped working (I don't use any scroll-to-code at all).

    If you click on those anchor links you won't get any reaction, unless you do a right-click "open link in a new window" – that's working totally fine. Noticed it on Chrome as well as on FireFox.

    Could you fix it as soon as possible?

    Many thanks
    Raphael

    Bug Reports

  • Current Site Title for Phone
    R Rama94
    Jul 16, 2020, 5:41 PM

    Hi Armin, hi everyone

    I thought it would be useful (on the phone) to show the current site title instead of the site title, because in my case (see screenshot attached) the URL and the side title are redundant. You get twice the information that you are on the site of "Benjamin Sprick". But it would be helpful to the readers on which page they browse (for instance: News / About / Contact etc.)

    Would it be possible to include this option into Lay Theme? Or perhaps with some self-made code?

    Best
    Raphael

    2020-07-16 13.11.04.png

    Feedback

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
M
maxseml
9 minutes ago
arminunruhA
arminunruh
16 minutes ago
P
piotr
17 minutes ago
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
laytheme.com
  • Login

  • Don't have an account? Register

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