WordPress.org

Ready to get started?Download WordPress

Forums

Expand to fill Browser Window? (6 posts)

  1. DavidDeCristoforo
    Member
    Posted 9 years ago #

    I just uploaded the Trident template but I really need to figure out how to get the content of the blog to fill the browser window or at least be much wider than it is by default. I'm taking a guess at this (from the wp-layout.css file) has something to do with this?

    #main {
    float: left;
    width: 645px;
    height: 100%;
    }

  2. NuclearMoose
    Member
    Posted 9 years ago #

    You can increase the 645px as you like or even change it to a percent value to make it fluid, but fluid designs can be a bit trickier to keep under control.

    Most sites are designed to fit into a 800px wide viewport, minus the chrome and vertical scrollbars, so keep that in mind IF that is how you wish to set up your site.

  3. DavidDeCristoforo
    Member
    Posted 9 years ago #

    Thanx Moose. What I really want is for the center col. to be fluid and the l & r cols to be fixed with the blog expanded to fill whatever size window it's displayed in with no bg showing. Any hope?

    thanx
    DD

  4. NuclearMoose
    Member
    Posted 9 years ago #

    Yep, it can be done. Leave the L and R columns as a fixed width and set the content column to a % of width rather than px or em, etc.

    http://positioniseverything.net is a good spot for some detailed help with this. It also has some good links to other very good CSS information sites.

  5. DavidDeCristoforo
    Member
    Posted 9 years ago #

    Well this ain't easy when you don't know what you're doing! I got the blog to fill the window by changing the rap to 100%. But the right col is "fluid" while the center is fixed. How can I reverse this so that the center is fluid and the right stays put?

    Thanx
    DD

  6. DavidDeCristoforo
    Member
    Posted 9 years ago #

    Man am I having a bad day. I just can't seem to make this work. If I change the content col to a % it shrinks but is not fluid. If I set it to auto, it becomes fluid but the left col appeard below rather than on the left side. At this point I don't have much hair left!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.