custom theme problem.

cleb

Joined: 2005-07-26
Posts: 14
Posted: Thu, 2005-09-15 14:42

ok... so I am creating a new theme based on Siriux and matrix but am running into a problem. I am more of a hacker at css and such so I am having a problem. You can see it here my gallery2.

I wanted the Siriux look and feel with the left nav bar from Matrix but what happened when I did this was that the main body of the album's and photos's end up below the nav bar. If I set it up so they are on the same level by adding a position: absolute; to the #gsSidebar section of the theme.css file then on the admin section the navbar section and the content section over lap.

any ideas on how to fix this ??

thanks in advance..

 
cleb

Joined: 2005-07-26
Posts: 14
Posted: Fri, 2005-09-16 11:01

any ideas ??

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Fri, 2005-09-16 12:53

Well, I don't know of any good solution to this problem. There is one lesser good one but I can't really seem to remember from the top of my head what it is. This solution does break when presented with too long things, so you probably don't want to try it.

The Matrix theme uses a table with 1 row and 2 cells to display the sidebar next to the main content. I think you should best do the same thing.

(btw, the gallery.menalto.com website is having a sidebar and a main part next to eachother)

 
cleb

Joined: 2005-07-26
Posts: 14
Posted: Wed, 2005-09-21 12:12

think I got it now... looks like everything works.... I took the main body and absolute positioned it which put it where I wanted it... You can see it here http://bethnchris.com

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Wed, 2005-09-21 12:21

What happens when an item in the sidebar is a little bit too wide? does it force the sidebar to display unde the main part?? (I think it would)

 
cleb

Joined: 2005-07-26
Posts: 14
Posted: Wed, 2005-09-21 15:41
RwD wrote:
What happens when an item in the sidebar is a little bit too wide? does it force the sidebar to display unde the main part?? (I think it would)

It cuts it off I think... On Firefox on the mac you can see this on the bottom of the left navigator. I need to make it a little widder because of this. For the most part I can live with this.

If anyone wants to give it a try I can zip the files up and send it out...

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Wed, 2005-09-21 16:35

Why would you not use a table in the cases where css will not give 100% satisfaction? Nobody is really gonna look and see if you cheated :P

 
cleb

Joined: 2005-07-26
Posts: 14
Posted: Wed, 2005-09-21 16:49

Lazy... This was a quick and dirty theme... What I came up with required the least amount of changes...