• DMB

    @mariusjopen That solved it! Thanks so much!

    D

    posted in Bug Reports read more
  • DMB

    Hi @Armin-Unruh @mariusjopen ,

    I'm trying to insert some glyphicons in the text editor. Using the 'source code' editor in the text function I can get glyphicons to appear - but only if there is a something entered into the span, like this A (it could be anything however, even a fullstop) :

    <p><span class="glyphicon glyphicon-triangle-bottom">A</span></p>

    If I leave the span blank like this it automatically deletes my code:

    <p><span class="glyphicon glyphicon-triangle-bottom"></span></p>

    How can I solve this because I just want to be able to show icons not characters as well? It seems that to make the span glyphicon appear you need a character value entered in the span tag, which is odd...

    If you leave it blank like my second code example it deletes the code and says 'Empty Text'

    Any ideas?

    Best,

    D

    posted in Bug Reports read more
  • DMB

    Hi @Armin-Unruh @mariusjopen ,

    I'm trying to insert some glyphicons in the text editor. Using the 'source code' editor in the text function I can get glyphicons to appear - but only if there is a something entered into the span, like this A (it could be anything however, even a fullstop) :

    <p><span class="glyphicon glyphicon-triangle-bottom">A</span></p>

    If I leave the span blank like this it automatically deletes my code:

    <p><span class="glyphicon glyphicon-triangle-bottom"></span></p>

    How can I solve this because I just want to be able to show icons not characters as well? It seems that to make the span glyphicon appear you need a character value entered in the span tag, which is odd...

    If you leave it blank like my second code example it deletes the code and says 'Empty Text'

    Any ideas?

    Best,

    D

    posted in General Discussion read more
  • DMB

    Hi @ArneRobot !

    Great websites! I just wondered how you integrated the full screen slider menus with the burger in the desktop site? Been wondering how to implement that for a while..

    Best,

    D

    posted in Showcase read more
  • DMB

    Hey man, I figured this out last week but then ended up not using the smooth scroll!

    So in custom head content put this:

    <!--SMOOTH SCROLL ANCHOR POINTS-->

    <script>
    jQuery(document).ready(function(){
    jQuery('body').on('click', '.yourclasshere', function(event) {
    event.preventDefault();
    var id = jQuery(this).attr('href');
    jQuery('html, body').animate( { scrollTop: jQuery(id).offset().top }, 750, 'swing' );
    });
    })
    </script>

    So obviously you need to replace 'yourclasshere' with your own class name.

    What I was using this script for was for several text links at the top of the page which would just scroll down to a certain point underneath where each image was.

    In that case I assigned the point I wanted to arrive at an #id and then in the text editor using the 'link' button entered this id '#youridhere'.

    I then had to go into the html editor in the text editor and manually add in the class in my JS script before the href link.

    That way all my anchors were smooth scrolling.

    I'm not entirely clear what you want to smooth scroll but hope you can adapt my code :)

    Best,

    Duncan

    posted in General Discussion read more
  • DMB

    Hi there,

    I have a problem with a clients site.

    I have the cover mode enabled and in firefox (works fine in chrome and safari) when i click the cover to scroll down, it highlights the text on the cover. I have set the text on highlight to be inverse with black background and white text but it looks really ugly like this in firefox.

    Could you help me fix this? Not sure why it should be doing this in firefox.

    Thanks as always,

    Duncan

    PS I tried to upload a movie but 'I do not have enough privileges to perform this action' apparently...

    posted in Bug Reports read more
  • DMB

    @soyfranasensio

    I am no expert in jQuery at all, but I do know that in Lay you cannot write '$'. Try replacing '$' with 'jQuery' for a start. There is further documentation here about it:

    http://laytheme.com/documentation.html#custom-javascript

    Best,

    D

    posted in General Discussion read more
  • DMB

    Hi there,

    Just wondering on if you have any tips on improving page load time on a Lay website?

    I know wordpress isnt the speediest CMS but the site I have made for an artist is a bit slowwww...

    Theres not even a huge amount of content. Even the contact page which is literally 2 lines of text can take 5 or more seconds to load up...

    Theres quite a bit of script in the custom head HTML - could that be slowing it down?

    Thanks

    Duncan

    posted in General Discussion read more

Looks like your connection to Lay Theme Forum was lost, please wait while we try to reconnect.