1
dniezby
Any idea how to fix this?
  • 2006/7/28 16:52

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


I've created my very first "real" theme. (Meaning, I created everything; not just modified an existing one.)

It's a two column theme for a gaming clan and I've managed to get everything to look the way I want it to EXCEPT for the NewBB.

Anyone have any idea on how I can get the forums to expand properly?

To see what I'm talking about, visithttp://www.nssclan.org and go to the forums...You'll see how the forums do not properly expand in the right side.

I'd appreciate ANY help you can give me to figure out this puzzle.
-Dave

2
Will_H
Re: Any idea how to fix this?
  • 2006/7/28 18:17

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Just redifining the link

http://www.nssclan.org/modules/newbb/

3
dniezby
Re: Any idea how to fix this?
  • 2006/7/28 18:43

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


OOpps...sorry...I didn't realize that the menu wasn't showing up to navigate to the boards.

It's fixed now. Anonymous users can now see the link to the forums.

4
snow77
Re: Any idea how to fix this?
  • 2006/7/28 20:14

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


just a few suggestions, don't know exactly if it will help or mess up things, it's hard to advise like this.

- I can't seem to detect where you have applied the width of the main page area. You have it enclosed in a div tag like this:

</head>
<div align="center">.....</div>
</body>

(I think you tried to do that with the style
.maincontent {width: 100%;float: none;}

it could be if you take the style away from that table and make it like this:

#maincontent {width: #pixelofdesigntotalwidth px}
and add that to the above div like this <div align="center" id="maincontent">

I don't know about the float part, I'm still a little clumsy with that)

that way you give that div a style that defines the total width of design. Then you apply width's to the left and right columns as you wish, but generally no width is applied to centercolumn like you have: td#centercolumn {width:545px;}, it normally stretches normally without applying a size to it

and in this style you have:

table {width: 68%; margin: 5; padding: 5; font-size: small}

normally table should be left always to 100%.

This one may be the one causing for the forum to shrink.

you can try this out but keep a backup of the original one you have now in case it messes up.
www.polymorphee.com
www.xoopsdesign.com

5
dniezby
Re: Any idea how to fix this?
  • 2006/7/29 1:38

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


Cool, I will try this out.

6
dniezby
Re: Any idea how to fix this?
  • 2006/7/29 6:11

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


Quote:

snow77 wrote:
just a few suggestions, don't know exactly if it will help or mess up things, it's hard to advise like this.

- I can't seem to detect where you have applied the width of the main page area. You have it enclosed in a div tag like this:

</head>
<div align="center">.....</div>
</body>

(I think you tried to do that with the style
.maincontent {width: 100%;float: none;}

it could be if you take the style away from that table and make it like this:

#maincontent {width: #pixelofdesigntotalwidth px}
and add that to the above div like this <div align="center" id="maincontent">

I don't know about the float part, I'm still a little clumsy with that)

that way you give that div a style that defines the total width of design. Then you apply width's to the left and right columns as you wish, but generally no width is applied to centercolumn like you have: td#centercolumn {width:545px;}, it normally stretches normally without applying a size to it

and in this style you have:

table {width: 68%; margin: 5; padding: 5; font-size: small}

normally table should be left always to 100%.

This one may be the one causing for the forum to shrink.

you can try this out but keep a backup of the original one you have now in case it messes up.

Ok, I've done this and that DOES make the forums expand properly. HOWEVER, now I can't get the images to line up correctly..

Everything looks great on an 800x600 screen but go any bigger and the image breaks apart.

I set the div to the size of the actual images which is 850 but it still expands and breaks apart.

7
snow77
Re: Any idea how to fix this?
  • 2006/7/29 15:28

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


hmm, the outer div if set in fixed pixel width should contain everything to the size it should be. I looked at your site and you have the original theme without the changes, so it's hard to continue helping you without seeing the theme, could you maybe take the theme you have been applying the changes to and name it like nssclan2 and activate it with a theme select box so I can view it?
www.polymorphee.com
www.xoopsdesign.com

8
dniezby
Re: Any idea how to fix this?
  • 2006/7/29 16:16

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


I think I may have found my prolem...

I have different widths for the two tables. I'm going to try making some corrections and if that doesn't work, I'll post the theme with the issues..

Thanks for your help so far. It's given me different angles to look at the code.
-Dave

9
dniezby
Re: Any idea how to fix this?
  • 2006/7/29 19:22

  • dniezby

  • Just popping in

  • Posts: 54

  • Since: 2006/6/1 2


Ok, I fixed it!

Thanks for your input. Because of it, I was able to go down a different path of thinking.

Here is where my errors were.

I was creating a <div> to center the table and graphics then assigning a size to THAT <div>

I removed that class from Style.css and created a new one.

.mainT {width: Ypx; background-color: transparent;}

Y = The total width of the graphics within the main table

Then I went back to the
td#leftcolumn and set the width back to a % (25% in this case)

Then removed the width setting I put in the td#centercolumn section.

That fixed ALMOST everything.

The other issue was positioning the actual tables and to fix this, I went into my theme.html and added this to the main container table.

<table align="center" class="mainT" padding="0">

This final change centered the artwork now everthing seems to fit correctly.

There are times where the tables are simply too large for to contain the information without overlapping content but it's rare after these changes.

Thanks again for the showing me the path to enlightenment.

10
snow77
Re: Any idea how to fix this?
  • 2006/7/29 19:55

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


your welcome. I like the efforts you have done in creating this theme by yourself and taking the time to learn and look closer at the details that needed fixing, finding the solutions. Not many people take the time to do this without falling into frustration or just end up complaining. You have done an original theme with your own design that fits your needs and that is quite meritory.
www.polymorphee.com
www.xoopsdesign.com

Login

Who's Online

170 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

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

Latest GitHub Commits