Support » Plugin: Post Tiles » display colour/text half up?

  • Hi there,

    I love this plugin! Thank you! 🙂

    I was wondering whether there was a way to display the tiles with the coloured block & text half of the way up? So, when the post tile is on the page you can see half of the featured image at the top and then a little bit of text at the bottom – and then when running your mouse over it, it would scroll all of the way up?

    Any assistance greatly appreciated! 🙂

    https://wordpress.org/plugins/post-tiles/

Viewing 1 replies (of 1 total)
  • I tried editing the below code in post-tiles-frontend.js and it worked for me:

    [ Moderator note: code fixed. Please wrap code in the backtick character (not the word) or use the code button. ]

    // Animate Up
    	    // Action when mouse enter of featured image
    	    $('li.featured-image.up').mouseenter(function() {
    	    	$(this).children('a').animate({
    	    	    top: '0%'
    	    	  }, 500 );
    	    });

    Edit the %value of top to adjust how much top is left when mouseover.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘display colour/text half up?’ is closed to new replies.