Title: PHP or CSS problem: Modifying a Template.
Last modified: August 18, 2016

---

# PHP or CSS problem: Modifying a Template.

 *  [wordografik](https://wordpress.org/support/users/wordografik/)
 * (@wordografik)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/php-or-css-problem-modifying-a-template/)
 * Hi there.
 * I’ve been using WordPress for a short time now, and am having fun blogging. I
   am an amateur photographer, and want to start a photo blog. I figured that I 
   may as well try to modify a WordPress template to get the result I want.
 * In terms of layout I am almost 100% happy, but there is one small problem with
   the ‘newer’/’previous’ links.
 * I want them to appear just underneath the photo, and above the caption. It works
   fine on the most recent post, when only the ‘previous’ link is showing. But once
   you view the earlier posts and both ‘newer’ and ‘previous’ links are displayed,
   the layout displays incorrectly.
 * I’ve tried displaying only the ‘newer’ link, and the problem still exists. But
   when the ‘newer’ link is removed, the page displays correctly.
 * The CSS that I’ve used floats these links to the left and right. To display the
   links under the photo and above the caption (effectively in the middle of the
   post) I’ve used a relative positioning of:
 * top:500px;
 * My main problem is that I don’t know PHP, so am effectively operating blind here.
   
   Any help would be appreciated.
 * The site is here: [http://www.wordografik.com/photografik/](http://www.wordografik.com/photografik/)
 * Thanks in advance!
    Reuben.
 * PS: I tried to make sure that this post conforms to forum moderation standards,
   but have only limited time before an appointment. Please excuse any etiquette
   faux pas from this newbie!

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

 *  Thread Starter [wordografik](https://wordpress.org/support/users/wordografik/)
 * (@wordografik)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/php-or-css-problem-modifying-a-template/#post-353551)
 * PS: I’ve looked at in in Safari, Firefox, and Camino, and it displays the same
   in ecery browser.
 *  Thread Starter [wordografik](https://wordpress.org/support/users/wordografik/)
 * (@wordografik)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/php-or-css-problem-modifying-a-template/#post-353587)
 * Now that I read this over again, I doubt that anyone would be interested in trying
   to figure it out. I didn’t want to post a bunch of code here, but I realise now
   that having to go check out the page source on my site is a lot more undesirable.
 * Anyway, no worries, I’ll just badger away at it myself.
 * Thanks anyway.

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

The topic ‘PHP or CSS problem: Modifying a Template.’ is closed to new replies.

## Tags

 * [Modify](https://wordpress.org/support/topic-tag/modify/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [wordografik](https://wordpress.org/support/users/wordografik/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/php-or-css-problem-modifying-a-template/#post-353587)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
