• Resolved ssor

    (@ssor)


    Hello.

    I wish to drop the position of the where the most recent post appears on my blog. I wish to drop the post down by say 200px and insert an advert there.

    I only want this to happen on the front page, not on any sub pages.

    An example is here > http://www.rapnews.co.uk/

    I’m having trouble working out which files to edit and what code to use.

    Could anyone possibly shead any light on the situation?

    My wordpress blog > http://bluntedpresents.co.uk/blog/

    Thanks in advance,
    Ssor

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have a look at your themes where the content begins.

    Above that (like div id=content or table id=content) insert
    <?php if (is_home()) echo “<div><img src=yourimage></div>” ?>

    Thread Starter ssor

    (@ssor)

    Thanks for that, works perfect!

    However, I want to drop it down so it lines up with the box around my search function. Tried to use padding-top but to no effect.

    Been looking through w3c schools but not found the answer!

    Any ideas?

    Many thanks
    Ssor

    Thread Starter ssor

    (@ssor)

    Its ok, used the CSS to call an alignment.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post alignment’ is closed to new replies.