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

A

arno_aubry

@arno_aubry
About
Posts
16
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Shop integration
    A arno_aubry

    Perfect timing !! Thank you !

    General Discussion

  • Shop integration
    A arno_aubry

    Any news about the shop integration ?

    General Discussion

  • Mobile Menu broken because of Custom Javascript
    A arno_aubry

    Hello,

    I have used a piece of custom javascript to display temperature and humidity on a website:
    http://jardinc.org

    But it seems it's breaking the mobile menu... Can you help me ?

    Here is the piece of code:

    <script type="text/javascript">
    
    
    const key = 'b2b1b01a9261a8b31e450dffc404f9e9';
    if(key=='') document.getElementById('temp').innerHTML = ('Remember to add your 	api key!');
    
    function weatherBallon( cityID ) {
    fetch('http://api.openweathermap.org/data/2.5/weather?lat=47.204530&lon=-1.563377&appid=b2b1b01a9261a8b31e450dffc404f9e9')  
    .then(function(resp) { return resp.json() }) // Convert data to json
    .then(function(data) {
    	drawWeather(data);
    })
    .catch(function() {
    	// catch any errors
    });
    }
    function drawWeather( d ) {
     var celcius = Math.round(parseFloat(d.main.temp)-273.15);
      var fahrenheit = Math.round(((parseFloat(d.main.temp)-273.15)*1.8)+32);
    var description = d.weather[0].description;
     var humidity = d.main.humidity; 
    
    
    document.getElementById('temp').innerHTML = celcius + '°C';
    document.getElementById('humidity').innerHTML = 'H:' + humidity + '%';
    
     if( description.indexOf('rain') > 0 ) {
    document.body.className = 'rainy';
     } else if( description.indexOf('cloud') > 0 ) {
    document.body.className = 'cloudy';
     } else if( description.indexOf('sunny') > 0 ) {
    document.body.className = 'sunny';
     } else {
    document.body.className = 'clear';
     }
    }
    window.onload = function() {
    weatherBallon( 6167865 );
    }
    
     </script>
    
    General Discussion

  • Content of my pages disappear when I change site title from image to text...
    A arno_aubry

    Thank's again Marius,

    I have used this line, that was the problem, I think it is the jQuery library:
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>

    So sorry, I know it is written on Lay website,

    Have a good day,

    Bug Reports

  • Content of my pages disappear when I change site title from image to text...
    A arno_aubry

    Hello Marius,

    I have added the logo myself with custom code because I wanted to change it on hover

    .sitetitle.img {
    background: url("http://www.jardinc.org/wp-content/uploads/2019/08/logo_jardinc-01.svg") no-repeat;
    display:inline-block;
    width:153px;
    height:42px;
    }

    .sitetitle.img:hover {

    background:url("http://www.jardinc.org/wp-content/uploads/2019/08/logo_jardinc_hover-02.svg")no-repeat;
    width:153px;
    height:42px;

    }

    Bug Reports

  • Content of my pages disappear when I change site title from image to text...
    A arno_aubry

    Hello !

    I have tried to add a custom image to my site title in order to change it when hover it.
    But when I change site title from image to text in Customize section, all the content of my pages disappear !

    Here is a link to the website:
    http://www.jardinc.org/

    Bug Reports

  • Syntax problem between <span class="..."> inside data-text="..."
    A arno_aubry

    Hello !
    There is a little problem with one of my websites... It seems like it's a syntax issue in custom html and css. I'm trying to add different styles to a scrolling one line text on my footer.
    I am using data-text to play the animation infinite. However, it seems like the editor doesn't understand the difference between " and ' ?

    <p class="defile"
    data-text="      
     <span class="_titre_exposition">EXPOSITION</span>       
    <span class="_titre_indication"><u>QG</u></span>       
    <span class="_titre_exposition">DE</span>   ">

    <span class="_titre_exposition">EXPOSITION</span>       
    <span class="_titre_indication"><u>QG</u></span>       
    <span class="_titre_exposition">DE</span>

    </p>

    Maybe you can help me ? I tried to replace " by ' but it doesn't work
    here is the website : askipaskipaskip.com

    General Discussion

  • html5 music player
    A arno_aubry

    Ouch... I don't understand Javascript...
    If you can't help me with this I understand, I will try to find someone who can possibly help me with this !

    Thank you,

    General Discussion

  • Site title and menu hidden
    A arno_aubry

    It is not perfect because there is visible at some place and hidden at some other place in the css... But that will make it !

    Bug Reports

  • html5 music player
    A arno_aubry

    Hello,

    I'm trying to add a html5 custom music player to my website:
    https://codepen.io/molonom/pen/mYGKBP

    I have an issue: the play button is not working. It's the second player I'm using, and same problem each time. Maybe it's a problem with javascript and something has the same name in Lay Theme ?

    here is my website :
    http://www.jardinc.org/enregistrements

    Thank you if you can help me

    General Discussion

  • Site title and menu hidden
    A arno_aubry

    I readded this in the custom css... That was the solution I founded, but that's not perfect

    .sitetitle, .laynav, .mobile-title, .burger, .navbar {
    visibility: visible; }

    Bug Reports

  • Site title and menu hidden
    A arno_aubry

    Any idea to help me ?

    Bug Reports

  • Site title and menu hidden
    A arno_aubry

    Hey MArius,

    here it is:

    http://www.jardinc.org/

    Bug Reports

  • Site title and menu hidden
    A arno_aubry

    Hello Armin,

    Once again thank you for this wonderful tool ! Lay Theme is neat

    I've been starting a new website... and did my own header and footer...
    But for some strange reason (maybe very obvious for you), my site title and menu are hidden.

    I founded this when searching in the code:
    .sitetitle, .laynav, .mobile-title, .burger, .navbar {
    visibility: hidden; }

    Where can I change this ? When I go to customize, it seems like my menu and sitetitle are enabled...

    Bug Reports

  • Change background for a specific page.
    A arno_aubry

    Thank you !

    I'm confused I made you loose your time...
    Sometimes the solution is so easy you don't see it !!

    General Discussion

  • Change background for a specific page.
    A arno_aubry

    Hi !
    First of all, thank you for this wonderful theme, documentation, and videos. It's easy and broke my reluctance to code.

    I'm pretty a newbie with html / css and I really tried to do it by myself but can't find why it's not working. I'm trying to add a background image for a specific page of my girlfriend's website.

    This is the page I want to change:
    http://charleneguyonmathe.com/overview

    In my CSS, I added, as you suggested on your tutorial, a class with background url:

    body.slug-overview{background:url('http://charleneguyonmathe.com/wp-content/uploads/2016/12/background-v2.jpg'}

    Thank you for your help

    General Discussion
  • Login

  • Don't have an account? Register

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