• Resolved Bodhipaksa

    (@haecceity)


    I just wanted to flag up that one list item in my list of posts was displaying weirdly, and drifting off to the right of the rest of the list. It turned out that one of the tags for that post was “right livelihood,” and the plug was pulling the tags into the class for the list item. Since that one item now had a class of “right” the list item was picking up on the class for floating items to the right. It’s something to watch out for.

    http://wordpress.org/extend/plugins/posts-by-tag/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sudar Muthu

    (@sudar)

    It is an extremely corner case, but thanks for reporting this.

    I might add an option to not add tags as class names to fix this if enough people are facing this type of issues.

    or you could prefix each tag class with tag-* which would also eliminate it

    Plugin Author Sudar Muthu

    (@sudar)

    @webdragon,

    That’s a nice suggestion.

    The only problem is that there are already lot of people who are using the Plugin as it is and have changed their CSS to work. If I implement it now, it might break those pages 🙁

    Thread Starter Bodhipaksa

    (@haecceity)

    Could you make that feature an option? It would be nice not to have to be concerned about css conflicts.

    I also experienced this issue.

    I was using a tag called ‘logo’, which resulted in a few posts links receiving all the CSS given to the website logo by a theme I used.

    It would be really nice if an option could be used to specify:

    1. add tags as class names (backwards compatibility mode)
    2. prefix class names with ‘tag-‘ (@WebDragen suggestion)
    3. don’t include tags as class names at all (keeps your HTML small)

    Thanks in advance.

    Plugin Author Sudar Muthu

    (@sudar)

    Okay. Added this to the todo list. Will implement it when I get some free time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Tags can cause css confusion’ is closed to new replies.