WordPress.org

Ready to get started?Download WordPress

Forums

Typograph - Image Caption Centering? (2 posts)

  1. awrosey
    Member
    Posted 5 years ago #

    Morten:

    One other little problem I am having is getting image captions to center. Maybe you can assist with that also. Thanks in advance.

    Alan

  2. Morten Rand-Hendriksen
    Member
    Posted 5 years ago #

    @awrosey: To change the alignment of the image captioning all you have to do is edit the p.wp-caption-text style in the stylesheet. You'll find it on line 185. Just add text-align:center; to it and the text will align to center:

    #content p.wp-caption-text {
    font-size: 0.8em;
    padding-top: 5px;
    padding-right: 6px;
    padding-left: 6px;
    color: #999999;
    text-align: center;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags