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

B

be-laud

@be-laud
About
Posts
8
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Add my own JS
    B be-laud
    Mar 2, 2017, 4:59 PM

    :scream: !!! Thank you so much!

    My js was in the "Custom JS" window of the page, where it's impossible to write <script></script>. I thought it was automatic...

    I've put it in the custom header, and IT WORKS!

    Merci Merci Merci

    General Discussion

  • Add my own JS
    B be-laud
    Mar 2, 2017, 3:41 PM

    It's on this page, on the accordion:

    http://www.fusion-vegetale.fr/tutoriels/

    Thanks in advance!

    General Discussion

  • Add my own JS
    B be-laud
    Mar 2, 2017, 9:48 AM

    Hello Armin!

    Thank you for your answer, I've tried it, but I still don't understand.

    Here my code (compatible with every version of the Jquery library and it works on a simulator):

    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
    if(type == "page" && obj.id == 109){

    	function close_accordion_section() {
            jQuery('.accordion .title').removeClass('active');
            jQuery('.accordion .section-content').slideUp(300).removeClass('open');
          
        }
    
        jQuery('.title').click(function(e) {
            // Grab current anchor value
            var currentAttrValue = jQuery(this).attr('href');
    
            if(jQuery(e.target).is('.active')) {
                close_accordion_section();
            }else {
                close_accordion_section();
    
                // Add active class to section title
                jQuery(this).addClass('active');
                
                // Open up the hidden content panel
                jQuery('.accordion ' + currentAttrValue).slideDown(300).addClass('open');
    
            }
    
            e.preventDefault();
        });
    }
    

    });

    Thank you for your help :thinking:

    Audrey

    General Discussion

  • Text and images don't appear
    B be-laud
    Feb 13, 2017, 10:42 AM

    Finally fixed it! I was calling a wrong link in the header! :see_no_evil:

    Installation Problems

  • Text and images don't appear
    B be-laud
    Feb 10, 2017, 2:41 PM

    Thanks you for your help :cactus:
    I did it, nothing change :crab:

    Here the link -->> www.fusion-vegetale.fr

    Installation Problems

  • Project contents not visible
    B be-laud
    Feb 10, 2017, 11:57 AM

    Hi @ana!

    Very pretty website!
    I can see that you found a solution, which one is it?
    Thanks a lot in advance!

    Audrey

    General Discussion

  • Text and images don't appear
    B be-laud
    Feb 9, 2017, 9:59 AM

    Hi Armin!

    Thanks a lot for this awesome theme! I've made the last update last night, since, texte and images don't appear in my web site. Should I wait more, is it in "maintenance" ?
    I have no Child-Theme because I'm still building it.

    Thanks a lot,

    Audrey

    Installation Problems

  • Add my own JS
    B be-laud
    Feb 8, 2017, 5:24 PM

    Hi everybody!
    I'm Audrey, freelancer art director. I choose Lay Theme for building my first website for a personal project (vertical garden shop) and I want to try & customize some things with the help of Js ans Css animations.

    Here is the situation :

    [http://codepen.io/be-laud/pen/pROVmz]

    I am trying to put this accordion in Lay Theme. HTML and CSS are integrated and both of them work, but I'm not very good in JS. I tried super hard to apply the Lay Theme documentation... but I still miss something!
    Could you please tell me how I should write it to make it compatible with Lay Theme ?

    Thanks a lot!

    Audrey

    General Discussion

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
laytheme.com
  • Login

  • Don't have an account? Register

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