SMF Support > SMF 2.0.x Support

Theme Formating Issue

<< < (3/3)

mashby:
Yes, that is the file to edit. :)

SCEM:

--- Quote ---The unread posts and new replies pages (in Recent.template.php) use a weird class of their own for topics that are both locked and sticked.
--- End quote ---

I have enter all code with color changes above in the index.css as instructed.
The only thing I have left to do is test the Recent.template.php.
How can I confirm the code is indeed taken effect with the Recent.template.php bug mentioned above?
The Forum is brand new only days old and doesn't have many post yet. 
--- Quote ---- Just Saying
--- End quote ---

SCEM:

--- Quote from: Antechinus on July 24, 2012, 04:22:58 AM ---Yup. The theme has the classes but they just have the default theme colours assigned. There is also a funny bug in 2.0 that must have been left from development days. I only noticed it the other day when fixing templates and css for 2.1.

The unread posts and new replies pages (in Recent.template.php) use a weird class of their own for topics that are both locked and sticked.  I added that class into the css for 2.1, but of course the colours would be wrong for Enterprise.


--- Code: ---.topic_table td.locked_sticky, .topic_table td.stickybglockedbg {
background: #e8d8cf url(../images/icons/quick_sticky_lock.png) no-repeat 98% 4px;
}
.topic_table td.locked_sticky2, .topic_table td.stickybglockedbg2 {
background: #f2e3d9 url(../images/icons/quick_sticky_lock.png) no-repeat 98% 4px;
}
--- End code ---

--- End quote ---

Ok I am now experiencing the bug you mentioned.
I dropped the code you suggested in the index.css
Did I mess up inserting it, or was this not were I should have placed it?
If it should have been placed somewhere else, where would that be?
If I resolved the other issues I should be able to resolve this one as well.
Does anyone have any ideas or suggestions?

SCEM:
I managed to solved the issue myself.
I searched the index.css and found the problem,
which was the color code for the locked topic.

Changed it to suit and all seems well.   8)

Navigation

[0] Message Index

[*] Previous page

Go to full version