• Resolved Sebas Dekker

    (@sebas-dekker)


    Hi there,

    When i hover my cursor above the content of my posts, the cursor doesn’t change, neither for links or text, it’s as if the content became an image..
    but it does become clickable when i create a link ( < a > ) below the loop. This is my code:

    Not clickable content:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    
    <div class="l-one-third column paddingbottom">
    	<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    	<?php the_content(); ?>
    	<a href="<?php the_permalink(); ?>">lees meer</a>
    </div>
    
    <?php endwhile; ?>
    <!-- post navigation -->
    <?php else: ?>
    <!-- no posts found -->
    <?php endif; ?>

    Clickable content with just a link behind it:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    
    <div class="l-one-third column paddingbottom">
    	<h2><a>"><?php the_title(); ?></a></h2>
    	<?php the_content(); ?>
    	<a>">lees meer</a>
    </div>
    
    <?php endwhile; ?>
    <!-- post navigation -->
    <?php else: ?>
    <!-- no posts found -->
    <?php endif; ?>
    <a href="">gekkehuis</a>

    DevTools Console gives no errors. I’m on iOS Mavericks creating a custom Theme. Can anybody tell me what is happening?

    Greetz

Viewing 1 replies (of 1 total)
  • Thread Starter Sebas Dekker

    (@sebas-dekker)

    hahahahahaha ow damn, nevermind guys, i didn’t close my div.container with a closing /div tag, another 3 hours wasted.. all good

Viewing 1 replies (of 1 total)

The topic ‘Content links from posts not clickable with cursor’ is closed to new replies.