Welcome to Geeklog, Anonymous Tuesday, January 07 2025 @ 04:16 pm EST
Geeklog Forums
how to "lower" left & right blocks?
Status: offline
tstockma
Forum User
Full Member
Registered: 07/22/03
Posts: 169
I discovered a real cool trick a bit ago, I made an image of some good "site header" text, then made it a staticpages centerblock with a space in the "title" so I have an unusual site index page header.
I know that must sound unclear--see southparkcity to see what I mean.
Now I want to "lower" the beginning of the left and right blocks, so they start at the same place as the articles.
Anyone have any ideas?
Tom
www.southparkcity.com
I know that must sound unclear--see southparkcity to see what I mean.
Now I want to "lower" the beginning of the left and right blocks, so they start at the same place as the articles.
Anyone have any ideas?
Tom
www.southparkcity.com
12
8
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Correct, you can use the option in functions.inc to use different block templates for different blocks.
BTW there's a break tag in your site title...
(sorry, I first said it was in config.php)
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
BTW there's a break tag in your site title...
(sorry, I first said it was in config.php)
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
10
22
Quote
Status: offline
tstockma
Forum User
Full Member
Registered: 07/22/03
Posts: 169
Thanks, all, but that doesn't seem to be getting it...the blockheader (even using an alternate one for the top-block on each side) still leaves the background of the left-n-right-sides. What I actually want to do is shove even that background image down on the page.
Also--my goof--when I gave you the URL earlier, I forgot that I'd set up this "center graphic" I'm talking about to be viewable by admin only, in case I screwed up while I was experimenting. It's now viewable, for those that want to see what I'm trying to do:
southparkcity.com
beewee--thanks for the comment on the br tag, yep, also on my list is to figure this out--I insterted the br tag in my title purposely because of how it displays in the header on the page, I need to find out how to keep a br in the header but eliminate it from the title.
Thanks again, all!
Tom
www.southparkcity.com
Also--my goof--when I gave you the URL earlier, I forgot that I'd set up this "center graphic" I'm talking about to be viewable by admin only, in case I screwed up while I was experimenting. It's now viewable, for those that want to see what I'm trying to do:
southparkcity.com
beewee--thanks for the comment on the br tag, yep, also on my list is to figure this out--I insterted the br tag in my title purposely because of how it displays in the header on the page, I need to find out how to keep a br in the header but eliminate it from the title.
Thanks again, all!
Tom
www.southparkcity.com
10
6
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
About the break-tag: You could hardcode the title in the header template
About lowering the blocks: this is tricky because of the theme you are using. The top of the left column is, if i can remember from using the same theme, is coded in the header template. So you could place a image tag for a transparent image (speck.gif) with the correct height (or a vertical menu to fill the space and get rid of some menu-tags).
I guess the top of the right column is in the footer template. Place an transparent image there as well.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
About lowering the blocks: this is tricky because of the theme you are using. The top of the left column is, if i can remember from using the same theme, is coded in the header template. So you could place a image tag for a transparent image (speck.gif) with the correct height (or a vertical menu to fill the space and get rid of some menu-tags).
I guess the top of the right column is in the footer template. Place an transparent image there as well.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
29
12
Quote
Status: offline
drshakagee
Forum User
Full Member
Registered: 10/01/03
Posts: 231
I don't know how that theme works but why couldn't you just put a spacer gif at the top of leftblocks.thtml and rightblocks.thtml before the {geeklog_blocks} variable?
Yes I am mental.
Yes I am mental.
12
32
Quote
Status: offline
tstockma
Forum User
Full Member
Registered: 07/22/03
Posts: 169
I really do appreciate the comments! I started fiddling with the theme just a bit, right along the lines of what both of you are suggesting--first time I've tried to hack a theme--interesting stuff.
First I did indeed go into the leftblock and rightblock thtml files, and there's a blank gif image right where I need it in both--to push the start of the blocks down. Two issues:
1. The background image of the column areas didn't push.
2. Hmm. This pushed the columns down on all pages, I only want index!
Beewee, as you said, while the rightblock does have that blank file in it so I could probably push the background image down, leftblock is elsewhere--I'll find it--but elsewhere.
Regarding the 2nd issue, what I also need to do is my first real code hack, to find in lib-common where calls to the theme files go on, add in ifs to calls where if I'm on the index.php page, call special cloned versions of the thtml. So I only get this change for the index page.
Whew--I know this isn't a lot of programming, but I'm somewhat new to PHP & had to get over the intimidation factor before I decided to go for it!
NOW I'll post a new thread--"rookie lib_custom question" or somesuch so I do a good clean job of it.
Thanks for all the comments! They led me to realize what I have to do.
Tom
www.southparkcity.com
First I did indeed go into the leftblock and rightblock thtml files, and there's a blank gif image right where I need it in both--to push the start of the blocks down. Two issues:
1. The background image of the column areas didn't push.
2. Hmm. This pushed the columns down on all pages, I only want index!
Beewee, as you said, while the rightblock does have that blank file in it so I could probably push the background image down, leftblock is elsewhere--I'll find it--but elsewhere.
Regarding the 2nd issue, what I also need to do is my first real code hack, to find in lib-common where calls to the theme files go on, add in ifs to calls where if I'm on the index.php page, call special cloned versions of the thtml. So I only get this change for the index page.
Whew--I know this isn't a lot of programming, but I'm somewhat new to PHP & had to get over the intimidation factor before I decided to go for it!
NOW I'll post a new thread--"rookie lib_custom question" or somesuch so I do a good clean job of it.
Thanks for all the comments! They led me to realize what I have to do.
Tom
www.southparkcity.com
6
11
Quote
All times are EST. The time is now 04:16 pm.
- 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