Admin Panel
-
Hey everyone.
I have a question regarding the alternating colors in the category section of the admin panel. There’s a point when the colors alternate between the categories in the display. Well the colors in my panel are dark so I have light letters, however the color it chooses to alternate with is white. So it makes it rather annoying to read to say the least :).
I tried adjusting the .alternate section of the wp-admin.css file but that didn’t seem to do it. I know from the source code that in the wrap div the tr code pulls a “#eee” from out of nowhere that I can tell and if I can isolate that I guess I can tweak it.
I had a similar problem in the edit.php form so I played with this snippet.
<?php
if (empty($m)) $showposts = 15;
include(ABSPATH.’wp-blog-header.php’);
if ($posts) {
$bgcolor = ”;
foreach ($posts as $post) { start_wp();
$bgcolor = (‘#eee’ == $bgcolor) ? ‘none’ : ‘#eee’;
?>
and inserted a darker color for the “#eee” which seems to suffice for now but I don’t know if that’s like a really bad idea to do.
What I did find for the categories.php was this bit of code
<?php
cat_rows();
?>
but I don’t know enough php to tell it how to use colors.
What’s simplest way to do this?
- The topic ‘Admin Panel’ is closed to new replies.