Support » Fixing WordPress » Background colour on category headings

  • Hi,
    I am not having a very successful time trying to play around with a background colour on the category headings in the menu. Can someone with knowledge in css point me in the right direction?
    Thanks muchly for any advice 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey shadow,
    I may be thick (or tired), but I, at least, don’t exactly understand what you mean 😀

    Hi Minna,
    It’s probably my fault for not explaining myelf properly. Sorry.
    In my menu there are some category headings. At the moment they are sitting on a colourful backing which makes them a bit difficult to read, BUT I would like to either put a small image behind each heading or place a colour behind so that the words stand out a bit better.
    I hope that explains things a little more clearly…
    Any ideas how to add this to the css?

    Thanks Minna. I have given all of these ideas a try but not having much success to be honest.
    Ideally, I would like to make some kind of opaque effect happen behind the category headings which should lift the text just enough to make it stand out a bit more clearly. But as to how to do this is beyond me right now..
    One thing I am pleased about so far is the gallery @
    It’s simple but effective.
    Anyway – it’s definitely all a work in progress 🙂
    Thanks for taking the time to voice your ideas….

    Mark (podz)


    Support Maven

    Wrap it in a div:

  • <div class="cat1">Categories</div>
    • <?php wp_list_cats(); ?>

    Then style cat1 with a background colour.
    If you want to alter the actual textproperties, you can do that too this way, but the effects will cascade.
    The downside of this way is that if the colour goes past the last letter to the side, so ths span suggection above could be better ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Background colour on category headings’ is closed to new replies.