Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 06:41 am EST
Geeklog Forums
1.3.10 Professional Template - Column width's
AllanH
Anonymous
Hello. After pouring over code for over an hour now, I cannot seem to find where to set the column widths for the Professional template (stock as of 1.3.10). I've looked in the CSS, in the table width's of all the blocks and I'm stumped.
Can someone please tell me how to set the left and right column widths in this template?
Many thanks in advance
- Allan
Can someone please tell me how to set the left and right column widths in this template?
Many thanks in advance
- Allan
13
8
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Have a look at leftblocks.thtml and rightblocks.thtml. Also if you want to set the overall theme width to 780 or something - that would be set in the one of the main tables in header.thtml
Geeklog components by PortalParts -- www.portalparts.com
Geeklog components by PortalParts -- www.portalparts.com
13
7
Quote
AllanH
Anonymous
Thanks for the speedy reply
Unfortunately, nothing I do to leftblocks.thtml works :'(
This is leftblocks.thtml:
<table width="100%" class="block-hightopborder-left"><tr><td valign="top">
{geeklog_blocks}
</td></tr></table>
</td><td class="block-outerborder-left"><img src="{site_url}/images/speck.gif" width="10" height="1" alt=""></td>
Changing the default 100% to, say, 200px doesn't work. Adding a width="200px" in the first doesn't work either.
.block-hightopborder-left doesn't have a width: attribute to mess with and adding one does nothing.
I'm at wits-end
- Allan
Unfortunately, nothing I do to leftblocks.thtml works :'(
This is leftblocks.thtml:
Text Formatted Code
<td class="block-featured-left" valign="top"><table width="100%" class="block-hightopborder-left"><tr><td valign="top">
{geeklog_blocks}
</td></tr></table>
</td><td class="block-outerborder-left"><img src="{site_url}/images/speck.gif" width="10" height="1" alt=""></td>
Changing the default 100% to, say, 200px doesn't work. Adding a width="200px" in the first doesn't work either.
.block-hightopborder-left doesn't have a width: attribute to mess with and adding one does nothing.
I'm at wits-end
- Allan
8
5
Quote
AllanH
Anonymous
Oh, and I've already centered the main table to my liking (780, actually), thanks though
8
8
Quote
AllanH
Anonymous
Thanks Dirk, you're the man
Unfortunately, I can't find a single instance of anywhere in my site (grepped for it - well, okay, I used Dreamweaver to look for it (the only thing dreamweaver is good for - a $400 GUI for grep)).
In my example above, you'll note that I have where the width = 10, and it STILL won't change!! I mean, I basically know where to look for this stuff and have tried all the obvious places. I don't suppose anyone else out there has tried to do this and succeeded?
Thanks for all the help. Geeklog Rules.
- Allan
Unfortunately, I can't find a single instance of anywhere in my site (grepped for it - well, okay, I used Dreamweaver to look for it (the only thing dreamweaver is good for - a $400 GUI for grep)).
In my example above, you'll note that I have where the width = 10, and it STILL won't change!! I mean, I basically know where to look for this stuff and have tried all the obvious places. I don't suppose anyone else out there has tried to do this and succeeded?
Thanks for all the help. Geeklog Rules.
- Allan
7
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by AllanH: Unfortunately, I can't find a single instance of anywhere in my site
This is the original leftblocks.thtml of the Professional theme:
Text Formatted Code
<td class="block-featured-left" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="searchform">
<tr align="right">
<td align="right">
<form style="margin-bottom:0;" action="{site_url}/search.php" method="GET">
<input type="text" name="query" size="30" maxlength="255" class="xpinputfield">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right"><input type="hidden" name="type" value="all">
<a href="{site_url}/search.php" class="advancedsearch">{button_advsearch}</a>
<input type="hidden" name="mode" value="search"></td>
<td width="40"><input type="submit" value="{button_search}"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table width="100%" class="block-hightopborder-left"><tr><td valign="top">
{geeklog_blocks}
<img src="{site_url}/images/speck.gif" width="180" height="1" alt="">
</td></tr></table>
</td><td class="block-outerborder-left"><img src="{site_url}/images/speck.gif" width="10" height="1" alt=""></td>
It has 25 lines and looks quite different from what you quoted above ...
bye, Dirk
9
6
Quote
AllanH
Anonymous
My Bad. I forgot I had already done some significant hacking away there.
I've taken the search form out and also removed the completely.
So, I'm still wondering why, when that image has been removed entirely, it's stubbornly staying at that width! Shouldn't it have collapsed down to 10px, waiting for me to fix it?
Argh! I know this is just something stupid I've done. I'll bang my head against the wall for a while longer and hopefully it'll just work at some point
Thanks Dirk
- Allan
I've taken the search form out and also removed the completely.
So, I'm still wondering why, when that image has been removed entirely, it's stubbornly staying at that width! Shouldn't it have collapsed down to 10px, waiting for me to fix it?
Argh! I know this is just something stupid I've done. I'll bang my head against the wall for a while longer and hopefully it'll just work at some point
Thanks Dirk
- Allan
10
10
Quote
All times are EST. The time is now 06:41 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content