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.
 Quote

Status: offline

Benta

Forum User
Regular Poster
Registered: 03/11/05
Posts: 80
The best would be here if you gave a link to the site.

Otherwise, let us at least know which theme you are using.
 Quote

Status: offline

Benta

Forum User
Regular Poster
Registered: 03/11/05
Posts: 80
Also, there is a great firefox extension for playing with css and layout. It is called Pederick's Web Developer or something like that.
HIghly recommended!
 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.
 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 !!!! Frown
 Quote

Status: offline

geiss

Forum User
Full Member
Registered: 02/10/04
Posts: 176
Location:Boise, Idaho
In layout/professional/leftblocks.thtml change:

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
 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 ??
 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:

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
 Quote

Newbie

Anonymous
Big Grin 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.
 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