Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • no, try the stylesheet first – in your admin dashboard, go to PRESENTATION > theme editor and then select your theme’s stylesheet (style.css). Then look for the #menu and #header sections. They might already have entries for top and left – if so, change the numbers to the ones I suggested. If not, add the lines:
    top: 310px;
    left: 135px;

    to the #header section, and
    top: 310px;
    left: 400px;

    to the #menu section.
    making sure you add these lines in between the curly brackets, where all the other entries are. And of course if you don’t like these new positions, keep on changing them until you’re happy – obviously to move the header up, decrease the top: number, and to move the thing further left, decrease the left: value.

    Try this, then –
    1. Find in your code the <div id="menu"> and replace it with <div id="menu" style="position:absolute; top:310px; left:400px;">
    2. Find, below that, <div id="header"> and replace it with <div id="header" style="position:absolute; top:310px; left:135px;">
    You can fiddle with the numbers to get the placement exactly where you want: they refer to the number of pixels from the top and from the left that the layer will start (always goes from the top left corner).
    3. You might now have issues with the colour of the mouseover links, as they get hidden a bit on the background – this is something you can change in the stylesheet if you need to.

    Actually, forget that – on reflection, probably the best thing to do is to stick these numbers directly into your stylesheet – apologies for posting so many time before thinking things through properly! In the style.css file, find the section referring to .menu and .header. There’ll already be some position info in there, you’ll just need to change the numbers.

    Ok, sorry, I’ve just look at your code, and obviously you already have divs/layers, you just need to specify their location on the page. The two layers you need are the ID=”menu” and ID=”header”.
    You’ll either need to edit your index.php (or header.php, whichever this section is in), or better still, change the style sheet, which will involve finding the section of your theme’s tyle.css file marked #menu and #header.

    You’ll need to use layers [div], and make the title and nav bar a separate layer from the rest of the page, making sure you get the z-index such that this new layer appears on top, not underneath (otherwise you won’t see it, and you won’t be able to click the links, either!). This is a straightforward html thing. Let me know if you need further help…

    Look at the address bar in each case – you’re actually going to the post pages when you click on the post titles, but the post page in each case is exactly the same as the index. Is it possible that you’ve overwritten the contents of single.php (the post template) with the contents of index.php (main template)? That would certainly explain things.

    Thread Starter fouriertransform

    (@fouriertransform)

    Yes, this happens regardless of the permalink string. There’s always a ‘previous entries’ link on the page, and there’s always a ‘previous posts’ link in the admin>manage dashboard.

    If I create additional test posts, then obviously the previous link works fine up until the point at which the first post is reached. Then the link should disappear, because there aren’t any more posts, but it’s still there, trying to go even further back. The ‘next’ links work fine, however.

Viewing 6 replies - 16 through 21 (of 21 total)