How to modify class with a space

  • Author
    Posts
  • #823790

    tjgephart7
    Member

    I’m trying to remove the “By [Author]” portion on a posts page. Example: http://turfrugs.com/2012/02/14/custom-trailers/

    Currently that <div class=”entry-meta”> includes:


    <span class="meta-sep">by</span>
    <span class="author vcard">Administrator</span>

    I’m able to successfully add .meta-sep {display:none;} but when I add .author vcard {display:none;} it doesn’t appear to be accepted and I’m wondering if this is due to the class having a space in the value.

    Any recommendations? Thanks in advance!

    The blog I need help with is turfrugs.com.

    #823936

    Author and vcard are two separate classes, not one with a space. Just use

    .author
    or
    .vcard

    #823939

    tjgephart7
    Member

    Ah, thanks for the clarification as that that did the trick. Thanks again thesacredpath!

    #824032

    You are welcome.

The topic ‘How to modify class with a space’ is closed to new replies.