WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Can't delete underscore in image caption

[Resolved] Can't delete underscore in image caption

Viewing 2 replies - 1 through 2 (of 2 total)
  • WPyogi
    Forum Moderator

    @wpyogi

    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.

    mooredesign
    Member

    @mooredesign

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Can't delete underscore in image caption’ is closed to new replies.