Can a scrolling frame be added to a page's content area? (4 posts)

  1. David Borrink
    Posted 6 years ago #

    My client is requesting a template where a page has a scrolling content area so that the sidebars and headers do not disappear. Neat idea for him, but I'm looking on here and did searches on using frames in themes and I'm not finding any answers.

    I know how to set up a page as the front page on a site, but...

    Is there a way to allow a container area to have scrolling bars?

  2. zeniph
    Posted 6 years ago #

    set the objects height then give overflow property

    	overflow: auto;

    This will place scroll bars automatically if content exceeds 400px


    	height: 400px;
    	overflow: scroll;

    This will always place scroll bars on the object - dimmed out if content doesnt exceed the height.

  3. David Borrink
    Posted 6 years ago #

    Thanks, Zeniph.

    Looks pretty straightforward. One of these days I'll really understand most of the CSS functions.

  4. thesampler
    Posted 5 years ago #

    I'm an absolute beginner with a clean WP install of the default theme. Can you tell me where I would insert the lines above in order to make the main content area scroll on the default theme.

    I think that learning even this will help me get going. If anyone can recommend any books for CSS etc that will be great too.

    Thank you...

Topic Closed

This topic has been closed to new replies.

About this Topic