Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 03:42 pm EST
Geeklog Forums
Block Color
Newbie
Anonymous
In 'styles.css' I have set the left and right blocks to different colours. I would now like to change the text colour on the left block, however, everthing I've tried seems to change both of them. Is this possible?
Help appreciated, please.
Help appreciated, please.
9
8
Quote
Newbie
Anonymous
I'm using 'professional' theme - I have right block pale green/black text - left block is dark green - would like white text. ????
*********
I use Top Style lite (freebie) for css, very good.
*********
I use Top Style lite (freebie) for css, very good.
8
9
Quote
Newbie
Anonymous
C'mon guys.................83 views, and NO advice !!!! Surely someone knows how to do this - or if it's not possible, please tell me !!!!
10
9
Quote
Status: offline
geiss
Forum User
Full Member
Registered: 02/10/04
Posts: 176
Location:Boise, Idaho
In layout/professional/leftblocks.thtml change:
<div class="block-bg-left">
{geeklog_blocks}
<div class="block-bg-spreader"></div>
</div>
to:
<div class="block-bg-left">
<font color="#FFFFFF">{geeklog_blocks}</font>
<div class="block-bg-spreader"></div>
</div>
See if that gets you what you're after (I haven't tested it though).
AFAIK, Geeklog uses the same styling for both left and right blocks, so you will have to do something like the above to override it.
Hope this helps!
Eric
Synergy - Stability - Style --- Visit us at glfusion.org
Text Formatted Code
<div class="block-bg-left">
{geeklog_blocks}
<div class="block-bg-spreader"></div>
</div>
to:
Text Formatted Code
<div class="block-bg-left">
<font color="#FFFFFF">{geeklog_blocks}</font>
<div class="block-bg-spreader"></div>
</div>
See if that gets you what you're after (I haven't tested it though).
AFAIK, Geeklog uses the same styling for both left and right blocks, so you will have to do something like the above to override it.
Hope this helps!
Eric
Synergy - Stability - Style --- Visit us at glfusion.org
8
9
Quote
Newbie
Anonymous
Many thanks Eric, this has worked on all text except links..........is it possible to also change these - just for the keft blocks also ??
8
12
Quote
Status: offline
geiss
Forum User
Full Member
Registered: 02/10/04
Posts: 176
Location:Boise, Idaho
You will need to go into the block (login as admin and edit the blocks you have created) and wrap the link like this:
<a href="somelink"><font color="#FFFFFF">link text</font></a>
For blocks that are Geeklog default blocks, you will have to find out where the code for those blocks is pulled from (look in lib-common.php) , and do the same thing there as well.
Make sure though in .php files to escape out of " like this: \" so the PHP engine treats the " symbol as html, and not PHP.
The above code might look like this:
<a href=\"somelink\"><font color=\"#FFFFFF\">link text</font></a>
Hope this helps!
Eric
Synergy - Stability - Style --- Visit us at glfusion.org
Text Formatted Code
<a href="somelink"><font color="#FFFFFF">link text</font></a>
For blocks that are Geeklog default blocks, you will have to find out where the code for those blocks is pulled from (look in lib-common.php) , and do the same thing there as well.
Make sure though in .php files to escape out of " like this: \" so the PHP engine treats the " symbol as html, and not PHP.
The above code might look like this:
Text Formatted Code
<a href=\"somelink\"><font color=\"#FFFFFF\">link text</font></a>
Hope this helps!
Eric
Synergy - Stability - Style --- Visit us at glfusion.org
6
5
Quote
Newbie
Anonymous
My sincere thanks for your time and help Eric. This has achievd exactly what I wanted. GL is a severe learning curve for me at the moment, but I'm enjoying it.
7
10
Quote
All times are EST. The time is now 03:42 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