Support » Theme: Sampression Lite » articles display problem in custom homepage

  • Resolved alarm_webmaster

    (@alarm_webmaster)


    Hi! Congrats for your beautiful theme.
    I created child theme and custom homepage to display articles with different sizes (column eight, column four…)
    I wish to add another two articles below current two, but
    it seems then that some articles are sometimes partly hidden…
    This happens especially with Chrome (problem self fixes when I resize navigator)
    I am not too sure if your theme allows this “multi-size articles” feature, but do you have any clue? Could it be a JS problem?
    Thanks in advance for your help.
    http://alarm-asso.fr

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sampression

    (@sampression)

    Hi alarm_webmaster,

    That is most probably caused by the JS. If the problem self fixes when you resize navigator then you could use this code on that page

    jQuery(document).ready(function() {
    setTimeout(function(){jQuery(window).resize()},2000); // This triggers window resize 2 seconds after dom is ready
    });

    Please let us know if this helps you.

    Thanks

    Thread Starter alarm_webmaster

    (@alarm_webmaster)

    Thank you for the fix! works fine

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘articles display problem in custom homepage’ is closed to new replies.