Forums

fixed content height and scrollbar (3 posts)

  1. sbalbarbin
    Member
    Posted 9 months ago #

    Hi,

    how do we go about to give our website a fixed height as far as the content is concerned and add scroll bar (if necessary/needed)?

    In other words, the website would be a fixed rectangle that would never scroll in the browser, but instead, the content (wither it's the news page with the posts, or the about page with it's descriptive text...) would scroll within the website content section?

    Thanx in advance,

    Stef

  2. esmi
    Theme Diva & Forum Moderator
    Posted 9 months ago #

    Create a scrollable div for the content using CSS.

  3. sbalbarbin
    Member
    Posted 9 months ago #

    Thanx for the reply,

    not being very familiar with coding this, where exactly would you say I should put this code, if my theme .css file looks like this:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    content, content h1, content p, ...?

    Thanx again!

    Stef

Reply

You must log in to post.

About this Topic