Theme tweaking goes different then in 1.3.x?? Problems Theme tweaking goes different then in 1.3.x?? Problems
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Theme tweaking goes different then in 1.3.x?? Problems

Started by Rosely, February 10, 2006, 07:11:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rosely

Hi :)

I hope my subject covers what I'm asking as I suck at thinking of right one-liners.

So here it goes. I used to have 1.3.x and had it all custom styled to fit the rest of my site.
Now, a week ago my lovely server got corrupted and the whole gallery was corrupted (luckily not my images) and so I had to reinstall and all. And now choose the latest version 1.4.3 :)
STUPID as I am, I appearantly didn't have a backup of my completed custom theme  ::)
So, now I took what I had and pasted it in my themes, and then tried to config it a bit, but it seems things are different in this new version, or I just really still lacked configging at that point of my backup :) (probably a bit of both)

My Site where the gallery is: http://www.screencap-paradise.com/caps you need to scroll alllll the way down to find the gallery ;)

Now what do I want?
first of all, the gallery should be in that wide open space where is now a pretty blank background, instead of at the bottom.
What I tried:
Sure, I tried to fix the gallery to 500px width, even 400px width. That space however is 638px width, so it should fit with a gallery of 600px width, which I made now.
I've stared and stared at template.html, but I can't find out why it doesn't work.
I've got my CSS files located at: www.screencap-paradise.com/static/css/content.css and www.screencap-paradise.com/static/css/layout.css and the style one that is in the theme folder itself which is themes/SP/style.css
(And ofcourse I've got them linked rightly, otherwise you'd only see a nice white site with blue and purple links in times new roman ;) )
So, what did I overlook? Why does it still not want to be where I want it to be.
The code for the surrounding there is an id called right
in content.css you'll find:
#right{
width : 638px;
background : #FFFFFF;
float : left;
margin : 0;
color : #2E518E;
text-align : left;
}


I hope I've stated this clear :)

Now my second problem is that for some reason everything is aligned centered, while it should just be aligned left.
Now in my previous layout, I had it all right, but I just can't figure out why it won't work now :(
I changed every align:center into align:left, (and back when they didn't do anything) but still... :(


Hope someone can help me!!

Thank you so much in advance!


btw: much thanks to the good tutorial on how to skip the intermediate page, had it working flawless right after the first post about it :) Also the hack for the image count worked immediately :D

Blueiris

Did you already find the fix for this? Your gallery seems to be displaying correctly in both Firefox and IE6.
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

Rosely

Is it not totally at the bottom under the whole navigation bar that is on the left?

The gallery should be on the right, just under those banners...
But it is at the bottom for me.

I probably did something wrong in template.html

You want to see the code?

Blueiris

Quote from: Rosely on February 10, 2006, 08:26:08 PM
Is it not totally at the bottom under the whole navigation bar that is on the left?

The gallery should be on the right, just under those banners...
But it is at the bottom for me.

No, it's not at the bottom under the nav bar. Nav bar's on the left, gallery on the right just under banners.

If it's displaying correctly for me, then you probably don't have any problems in template.html. Maybe try clearing your browser cache, and checking it again?
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

Rosely

Hmm, that's weird.
It still was wrong for me.
But I've now added overflow : hidden; to the style of the div and it works now :D
Only other problem left is that the lists are centered, while I want them on th left :)

So you see Buffy, season 1, season 2, etc. and they're centered.
Do you know where I should fix that??

Thanks so much for the help!!

Blueiris

I'm looking at the output in view source, but I see this:

Quote<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tbody><tr>
                                <td align="center" valign="top">
                                       
                                       
<!-- Start standard table -->
<table class="maintable" align="center" cellpadding="0" cellspacing="1" width="590">

Find that "<td align="center" valign="top">"  tag -- it should be just above your {GALLERY} token, and try taking the "align=center" out.

Just a note - the categories are only centered when viewing your page in IE or Opera. Firefox and Netscape display them correctly, on the left.
You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

Rosely

hmmm Okay, thanks :)
I'm gonna try that first thing in the morning :D

Thanks for your suggestions, I hope that's the one, as I did try loads of centered alignments to change to left. But I didn't leave it out yet, so that might be it. :)

Rosely

YES!! That worked!!

Thank you very much Blueiris :)
I think it's all right again now :D

(If someone feels like cleaning up, this topic could be closed :D)