i've set up a 6.7 site here http://penguin.gazraa.com and sorted out the look and features of most of it.
But....
on the homepage, there is a News section, which is white with black borders. why is this not taking on the style of the other blocks/modules using the settings in my theme.php file ie dark greeny blue title and light bluey background.
can someone point me to the code and file that i would need to sort this out.
i've been looking through the and as I said, i'm a php newbie so i get a bit lost.
cheers
erbuc Corporal
Joined: Apr 17, 2003
Posts: 65
Posted:
Fri Aug 22, 2003 5:07 am
Hi,
Nice theme BTW.
And I realise there are so many tables generated in the themes that it is hard to determine which tags need to be updated.
In your themes directory, you will find a file named 'tables.php' and in the News directory under modules you will find the 'index.php' file. Notice in the index.php file thatthere is a call to "opentable()". This sets the borders, backgrounds etc.
Notice in the tables.php that there are probably more that one opentable functions like opentable2() etc.
You can do 1 of 2 things:
Change the opentable() function in your tables.php to display the table settings as you wish or
Change the opentable() reference in your index.php to the appropriate opentable() function with the settings you want.
found it! it wasn't the OpenTable function, that was fine, but in theme.php (did you mean that instead of tables.php?) it was the function themeindex() which hard codes the bgcolor to #FFFFFF
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum