• Resolved kakgungor

    (@kakgungor)


    Hi everyone, I have been pouring over code trying to identify what’s causing this little bug. I have set up a new WordPress site and customized the Minimalizine theme to my taste. Everything looks good to me except my Tag Archives. Rather than trying to explain, here’s one of my Category Archive pages which looks fine. Now here’s one of my Tag Archive page – notice how the fonts have turned blue? When I look at the page source for each of those pages I can’t see anything that’s different between them, yet the Tag Archive colours are all wrong.

    I would appreciate any help or suggestions on where to look next.

    Thanks,
    Kent

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    The .tag class is changing that. One way I can think of fixing that would be to add the rule:

    body.tag { color: *insert desired color*; }

    Thread Starter kakgungor

    (@kakgungor)

    Thanks Jose. So if I understand correctly, there is an extra CSS parameter on the Tag Archive pages that aren’t affecting the Category Archive pages? I’m new to WP so I assumed the two were pulling from the same PHP file. I don’t think I need any special formatting on my Tag Archives, so is there a way to ignore the .tag class?

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    They can pull from the same PHP file. It all depends on what files the theme has. It’s a matter of file template hierarchy and then CSS classes used in the body.

    When body_class() is used it prints out all the classes associated the template being used. If it is a post it will do

    <body class="single single-post post-125 single-format-standard">

    for example if an individual post is being viewed.

    Thread Starter kakgungor

    (@kakgungor)

    Jose, I was able to fix my issue with your suggestion. Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category Archive Format is Fine but Tag Archive is Not’ is closed to new replies.