TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

June 28, 2024, 05:06:51 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,282
  • Total Topics: 21,227
  • Online today: 176
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 110
  • Total: 110

Block CSS problems

Started by Hack, June 27, 2007, 11:40:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hack

Hiya..

I am in the middle of trying to make a new theme for my site. I have gone into the TPortalBlocks.template.php file and added a style (.blockwindowbg) so that all the blocks have their own specific background rather than making use of windowbg. I am still learning CSS however and am having a slight problem in making the text and links within the blocks a different colour (the blocks are a darker colour so the text and links are harder to read compared to the rest of the site).

From what I have read so far I thought I could use descendants for defining what the err.. styles would look like under the blocks style I defined. I was hoping that '#blockwindowbg * a' would work or something like that but so far I have not had any luck :(

Can anyone give me some advice please? :)

Nokonium

Could you be a little more specific and post the template code that you have changed and the styles for it from the stylesheet.