Support » Theme: The Bootstrap » Post with tag containing "span" matches CSS wildcard incorrectly

  • Resolved jrfoell

    (@jrfoell)


    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:

    http://www.foell.org/justin/page/3/

Viewing 1 replies (of 1 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

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

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

Viewing 1 replies (of 1 total)
  • The topic ‘Post with tag containing "span" matches CSS wildcard incorrectly’ is closed to new replies.