Title: Problem with previous link
Last modified: August 30, 2016

---

# Problem with previous link

 *  Resolved [totallytech](https://wordpress.org/support/users/totallytech/)
 * (@totallytech)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/problem-with-previous-link/)
 * Hi All,
 * I’ve got an odd problem, I know I have a previous page and a next page from where
   I am browsing now.
 * For some reason the “Previous” button does nothing however the next works fine…
 * Can anyone see what on earth I’ve done wrong?
 *     ```
       <?php previous_post_link( '%link', __( 'Previous') ); ?>
       <?php next_post_link( '%link', __( 'Next') ); ?>
       ```
   
 * My site layout is here:
 * [http://goo.gl/w9imJU](http://goo.gl/w9imJU)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [PToaster](https://wordpress.org/support/users/ptoaster/)
 * (@ptoaster)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/problem-with-previous-link/#post-6643177)
 * I believe it’s because you have a div covering it from being able to be clicked.
 * Your div add-images-to-cart-single has a bottom padding of 5% instead of 5px
 *  Thread Starter [totallytech](https://wordpress.org/support/users/totallytech/)
 * (@totallytech)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/problem-with-previous-link/#post-6643187)
 * oh man! thank you so much – I just couldn’t see it even though I was using various
   developer tools!!
 * I’m having to add loads of additional code to this, so I can get it displaying
   properly and its been several years since I used css and php – so many changes,
   so I’d convinced myself it was something serious rather than something daft like
   a padding!!!
 * Thank you again 🙂
 *  [PToaster](https://wordpress.org/support/users/ptoaster/)
 * (@ptoaster)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/problem-with-previous-link/#post-6643199)
 * Easily missed. glad I could help 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with previous link’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [PToaster](https://wordpress.org/support/users/ptoaster/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/problem-with-previous-link/#post-6643199)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
