The Bootstrap
[resolved] Post with tag containing "span" matches CSS wildcard incorrectly (2 posts)

  1. jrfoell
    Posted 3 years ago #

    I have a post which was tagged "spandex" (post about bikes) and the "span" in "spandex" is being matched (incorrectly) by this bit of CSS:

    [class*="span"] {
      float: left;
      margin-left: 20px;

    But I'm not sure if there's a way to limit the matching without creating a bunch of additional entries.

    You can see the post indented more than the others here:


  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    You may just have to override these instances, e.g;

    article.post.tag-spandex {
     float: none;
     margin-left: 0;

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic