Kingdom Theme – Image Alignment Fix

In Tips & Trouble Shooting by Alex CooperLeave a Comment

An aligned image with a caption that’s not aligning correctly.

A number of WP Eagle regulars have been in touch with me to ask about a problem with images when using the Kingdom Theme.  It seems that images with a caption don’t align themselves properly, even when they are set to left or right align..

It’s an easy fix, all you need to do is add the following code to the additional CSS section within the Appearence – > customize section in your WordPress dashboard.

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
    float: right;
}
.wp-caption.alignleft {
    margin: 5px 0 20px 20px;
    float: left;
}

You Might Like:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.