SMF Support > SMF 2.0.x Support

Theme Formating Issue

(1/3) > >>

SCEM:
Hello everyone,

I now have a frustrating issue with the Enterprise theme I'm using.

http://custom.simplemachines.org/themes/index.php?lemma=43


When you do a sticky post the background is white and the text is white.
So you cant see the text on the sticky subjects until you click them.
I'm sure this is an easy fix if one new how to approach it.

Could someone please walk me through the process of either
altering the background color or the text color so it can be seen.

I have included a screen shot just in case there's any confusion.


THANKS

Shambles:
Try adding sticky background classes to your index.css file (if it doesn't already have them, which I guess it doesn't)


--- Code: (Add) ---  .stickybg
{
    background: #171717;
}

  .stickybg2
{
    background: #111111;
}

--- End code ---

Play with the colour codes to suit.

Sorry, that's the best I can do (I'm a css n00b, but you ain't got any better responses so far)

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

SCEM:
So are you saying drop this code:


--- Quote from: Antechinus on July 24, 2012, 04:22:58 AM ---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 ---

in the index.css
or in the Recent.template.php
could you suggest some colors that you think would work with enterprise?
Perhaps even show me what the code would look like with such suggested colors.
I have no idea what the proper color codes are "lazy I know" but I'm really good at copy and paste.  :laugh:

Thanks

Shambles:
Have you tried the firebug extension in firefox? (Actually, later versions of firefox - and I believe Chrome - have the ability to right click and "inspect element" to allow you to 'play' with colours, before committing them to the stylesheet file)

Navigation

[0] Message Index

[#] Next page

Go to full version