• Resolved Beth

    (@pedalkraft)


    Hey,
    I would like to remove the funky effects which appear when you hover on a ‘latest posts’ image link on the home page, I can’t find the code for this anywhere!
    Could anyone tell me where it is?
    Thanks so much – I love the theme – just what I was looking for ??
    Beth

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author tarabusk

    (@tarabusk)

    Hi Beth,
    This easiest way for now (i’ll think about adding an option in the next release) will be modifying the content-home.php file in between the div element class=”view view-ninth” :

    <div class="view view-ninth" id="post-<?php the_ID(); ?>">
    .....
    </div>

    REPLACE THE content of class=”view view-ninth” BLOCK BY THIS CODE :

    <div class="view view-ninth" id="post-<?php the_ID(); ?>">
    
    <a href="<?php the_permalink() ?>" style=" display:inline-block; width:100%;height:100%;">
    			<?php if ( has_post_thumbnail() ) {
    				the_post_thumbnail();
    			}
    			else {
    				echo '<img src="' . get_stylesheet_directory_uri() . '/img/default.jpg" />';
    				echo '<div class="title-no-thumb">';the_title(); echo'</div>';
    			} ?>
     </a>
    
    </div>

    ———————-
    Keep always a copy of the original file, and don’t forget that if you don’t use a child theme, your modification will disapear at the next release.

    Ga?lle

    Thread Starter Beth

    (@pedalkraft)

    You’re a star – thank you so much for the prompt response, that’s worked great ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove latest posts effects’ is closed to new replies.