[resolved] Can't delete underscore in image caption (3 posts)

  1. mooredesign
    Posted 3 years ago #

    I can't remove the underscore in my captions. Here is a link to my page.



  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    That's being caused by the "content" attribute in this CSS:

    .wp-caption .wp-caption-text:before {
        color: #666666;
        content: "—";
        font-size: 14px;
        font-style: normal;
        font-weight: bold;
        left: 10px;
        margin-right: 5px;
        position: absolute;
        top: 7px;

    That section of code is duplicated in the twentyeleven style.css file as well (line 906), so you'll have to remove it in both places.

  3. mooredesign
    Posted 3 years ago #

    Thanks WPyogi. I changed the content to "none" and it worked perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic