• 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:

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

Viewing 1 replies (of 1 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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.