• Resolved siggia

    (@siggia)


    I’ve searched for the solution to this but haven’t found it anywhere, so here goes.

    When I upload a picture and add a caption to it, the caption underneath it is not centered, and, the border around it isn’t displayed correctly (although the preview in WP is just fine) – in this particular case, the lef aligned image loses the border on the left. Take a look at how it is.

    Any ideas?

    I am using the iNove theme (version 1.2.3)

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

    (@siggia)

    Nevermind, after reading a lot of threads here, I just decided to copy/paste the code from the default theme.

    Could you let me know what code you copied, from what file, and where you pasted it?

    Much appreciated, (same issue – sort of)

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Thread Starter siggia

    (@siggia)

    Exactly, thanks Otto42.

    Glenngeiger, just copy all the ‘wp.caption’ from the link Otto provided into your style.css file (I just pasted it at the very bottom, doesn’t matter where).

    This code:

    .wp-caption {
    	border: 1px solid #ddd;
    	text-align: center;
    	background-color: #f3f3f3;
    	padding-top: 4px;
    	margin: 10px;
    	-moz-border-radius: 3px;
    	-khtml-border-radius: 3px;
    	-webkit-border-radius: 3px;
    	border-radius: 3px;
    }
    
    .wp-caption img {
    	margin: 0;
    	padding: 0;
    	border: 0 none;
    }
    
    .wp-caption p.wp-caption-text {
    	font-size: 11px;
    	line-height: 17px;
    	padding: 0 4px 5px;
    	margin: 0;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image caption not centered’ is closed to new replies.