Welcome to Geeklog, Anonymous Saturday, July 12 2025 @ 07:18 pm EDT
Geeklog Forums
Static Page "Title" Font Color
Status: offline
Forum User
Junior
Registered: 06/15/04
Posts: 25
Hi. I'm trying to locate where the static page title fon't color is. I would like to either change it or make the text in my static page the same. I found the "story" title fon't color in the css file but that isn't it.
I looked in the index file within the staticpages folder but didn't see anything. Any help would be greatly appreciated.
affero
rate me
I looked in the index file within the staticpages folder but didn't see anything. Any help would be greatly appreciated.
affero
rate me
15
12
Quote
Status: Banned
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
try blockheader.thtml in your theme folder. you can put your color there or note the class name if any, and edit your css to match.
16
18
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Also, in Geeklog 1.3.11 / Static Pages 1.4.1, you can use the "template override" via the theme's functions.php file and give static pages their own block header / footer file.
bye, Dirk
bye, Dirk
31
12
Quote
Status: offline
Forum User
Junior
Registered: 06/15/04
Posts: 25
Status: offline
Forum User
Full Member
Registered: 12/17/04
Posts: 340
Quote by Dirk: Also, in Geeklog 1.3.11 / Static Pages 1.4.1, you can use the "template override" via the theme's functions.php file and give static pages their own block header / footer file.
Hi, it´s exactly what I want to do but I can´t seem to get it to work.
As far as I understand it you can assign a custom .thtml file based on the blockfeader and footer to a single static page.
So I did the following, but it doesn´t work.
I adapted the functions.php so it contains an entry like this:
Text Formatted Code
$_BLOCK_TEMPLATE['language'] = 'language-header.thtml,language-footer.thtml';In the language-header.thtml file I removed the {block_title} variable as I don´t want this to show up.
However, it ignores it and still shows the block-title.
The static page has for sp_id, sp_label and sp_title language
Anyone a clue what I am doing wrong

And yes, I am using Geeklog 1.3.11 / Static Pages 1.4.1.
Thanks,
Boris
17
15
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
You can only override the block templates for all of the static pages by setting $_BLOCK_TEMPLATE['_staticpages_block'].
Or, you could check that you are about to display a static page entitled "language" and only override the $_BLOCK_TEMPLATE['_staticpages_block'] in that case.
bye, Dirk
Or, you could check that you are about to display a static page entitled "language" and only override the $_BLOCK_TEMPLATE['_staticpages_block'] in that case.
bye, Dirk
14
11
Quote
Status: offline
Forum User
Full Member
Registered: 12/17/04
Posts: 340
Thanks Dirk,
Worked like a charm. I knew I must be doing something wrong
Best Regards,
Boris
Worked like a charm. I knew I must be doing something wrong

Best Regards,
Boris
16
14
Quote
Status: offline
Forum User
Full Member
Registered: 08/05/03
Posts: 969
If you put the static page in a centerblock you can use this:
$_BLOCK_TEMPLATE['_staticpages_centerblock'] = 'blockheader-XXXX.thtml,blockfooter-XXXX.thtml';
Replace the XXXX with your template name.
$_BLOCK_TEMPLATE['_staticpages_centerblock'] = 'blockheader-XXXX.thtml,blockfooter-XXXX.thtml';
Replace the XXXX with your template name.
13
13
Quote
All times are EDT. The time is now 07:18 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