1
BadAngler
Need a centered three column layouts?
  • 2006/12/2 21:23

  • BadAngler

  • Just popping in

  • Posts: 36

  • Since: 2006/11/28


Hi,

I've a default XOOPS theme I'm integrating into a new site. I have noticed many sites have a centered 3 column layout and I like that look very much. I would like a 700 pixel wide center column, and two equal sized left and right columns of about 150 pixels each. My masthead for my rotating banners would cap the the columns and exactly match the width of all three. Is there a simple way to go about this layout? Thanks for any pointers.

BA

2
JMorris
Re: Need a centered three column layouts?
  • 2006/12/2 22:49

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


In your theme's theme.html
<body>
<
div id="wrapper">

div>
body>


In your theme's style.css
div#wrapper {width:700px;margin:auto;}


Note: I would recommend going with at least 750px for a three column theme. Anything less gets real cramped real fast.

Alternately, you could download and customize one of the many fixed width themes available for XOOPS.

HTH.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
BadAngler
Re: Need a centered three column layouts?
  • 2006/12/3 0:49

  • BadAngler

  • Just popping in

  • Posts: 36

  • Since: 2006/11/28


James,

THANKS. It works perfect. BA

4
BadAngler
Re: Need a centered three column layouts?
  • 2006/12/3 19:27

  • BadAngler

  • Just popping in

  • Posts: 36

  • Since: 2006/11/28


Hi,

I noticed the theme goes to fullscreen when I go into admin mode. When I log in as a member I'm back to my centered with the specified width. Is there another theme file used for admin mode?

Thanks.

5
BDW
Re: Need a centered three column layouts?
  • 2006/12/18 20:55

  • BDW

  • Quite a regular

  • Posts: 280

  • Since: 2002/9/28


Yes, its your default for admin. This is not in the themes directory.

Me personally would leave it alone.

I have for my fixed width sites. Its only you and other admins that see it anyway.

Login

Who's Online

406 user(s) are online (287 user(s) are browsing Support Forums)


Members: 0


Guests: 406


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits