WordPress.org

Ready to get started?Download WordPress

Forums

horizontal site responsive to content (4 posts)

  1. rook
    Member
    Posted 1 year ago #

    Hello all, I have made the basis of a horizontal side scrolling site. The one thing I want to change is the width only being as long as the content placed on pages automatically. so for example at the moment I have four images on the art page, I want it so that if I add another four then the width of the site will change accordingly. At the moment new images simply just go underneath. Here is a link to the site: http://eyeballcomix.robscenitycomix.co.uk/

    thanks for any help in advance

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You might want to read this re: your flashing element on the front page:

    http://www.un.org/webaccessibility/1_visual/15_nomoving.shtml

    (It's horribly annoying as well as dangerous for some people)

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    To answer your question, you have a fixed width set here:

    .one-column #content {
        float: left;
        height: 500px;
        margin-left: 150px;
        width: 1700px;
    }

    So that will limit it. Other than that, just keep floating elements.

  4. rook
    Member
    Posted 1 year ago #

    ok cheers for that, I know sorry bout the gif, gunna have an animation there in the end, was just using the gif as a tester. cheers

Topic Closed

This topic has been closed to new replies.

About this Topic