• Resolved 4hhistory

    (@4hhistory)


    I’m having issues in that the captions for all of the images in my posts appear to have what looks like an em-dash preceding the caption like bullet list. I’ve tried various CSS changes, but nothing works. Here’s what I have now…

    wp-caption-text {
    	text-align: justify;
    	font-size: 9px;
    	color: #000000;
    	padding-top: 5px;
    	margin-bottom: 5px;
    	font-family: Arial, Helvetica, sans-serif;
    }

    You can view an example at..

    https://4-hhistorypreservation/News/

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter 4hhistory

    (@4hhistory)

    CrouchingBruin

    (@crouchingbruin)

    Copy & paste these two rules to the end of your child theme’s style.css file:

    .wp-caption .wp-caption-text:before {
         content: '';
    }
    
    .wp-caption .wp-caption-text {
         padding-left: 0px;
    }

    The first rule will remove the em-dash, the second rule will remove the extra space that was taken up by the dash.

    Thread Starter 4hhistory

    (@4hhistory)

    SWEET!
    WOrks perfectly.

    Than you so much

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post Imate Caption Formatting Issue’ is closed to new replies.