side scrolling wordpress site

I have been asked to design a side scrolling site for WordPress similar to this
site. Each post is positioned side by side on the page.

Im trying to work out if there is a line of PHP that i can add to page.php that will allow a normal vertical scrolling site to horizontal scroll ?? as far as I’m aware there is no jQuery used . . . . .

Read More

I’ve looked for countless amounts of WordPress themes but can’t seem to find the relevant piece of php for horizontal-scrolling. It seems to be quite a common layout for UK based illustrators/graphic designers. Does anyone have any ideas how to achieve this ??

thanks

Related posts

Leave a Reply

3 comments

  1. Give your body (or for instance a wrapper div) an explicit width, either via CSS (fixed, see below) or JavaScript (dynamic and for instance depending on the number of articles). Then float your articles left and give them an explicit width as well.

    <!DOCTYPE html>
    <style>
        body { width: 8000px; }
        .article { float: left; width: 800px; }
    </style>
    <body>
      <div class="article">...</div>
      ... 
      <div class="article">...</div>
    </body>