Support » Fixing WordPress » Additional CSS will not apply

  • Resolved pureconsciousmess

    (@pureconsciousmess)


    I am a noob to wordpress and a big dum-dum when it comes to IT. I am having trouble using Additional CSS.

    I first wanted to hide the date from all blog posts and found this online which worked:
    span.posted-on {
    display: none;
    }
    Now I am trying to hide the author avatar and tags fromt he top of the post. I found these, but they will not apply and I don’t understand why:

    .post .post-tags {display: none;}

    .content-post .post-author { display:none; }

    Any help is greatly appreciated

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Carl Wuensche

    (@stuffradio)

    If you want to hide the author avatar you could use.

    .byline { display: none!important; }

    If you want to hide the category links you can use
    .cat-links { display: none!important; }

    If you want to hide the tag links you can use
    .tags-links { display: none!important; }

    If you want to hide all three you can use

    .byline, .tags-links, .cat-links { display: none!important; }

    pureconsciousmess

    (@pureconsciousmess)

    Worked like a charm! Many thanks!

    Carl Wuensche

    (@stuffradio)

    Just note the important declaration. It really depends where you add the CSS code. If you add css code to overwrite other code after it’s initially declared, you will need to overwrite it with the important declaration.

    @carl
    Thanks. That worked.

    I am at a loss for where this “additional css” is located. I have “Appearance” –> “Customize” but no “Additional CSS” like everyone is mentioning.

    Where are you putting
    span.posted-on {
    display: none;
    }
    ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Additional CSS will not apply’ is closed to new replies.