• Hi,
    I just changed the theme on my WordPress blog to Imbalance 2, and I’ve been trying to make some style changes including to the text of the captions, which I find distractingly large within a post, e.g.:
    http://lisa-johnson.ca/2012/06/digital-playground-storify-hot-dog-day/

    I’ve looked around the support forum here and on the theme developer’s page, and seen advice to change font size in this code (which in my theme is contained within editor-style.css

    .wp-caption {
    	background: #f1f1f1;
    	border: none;
    	-khtml-border-radius: 0;
    	-moz-border-radius: 0;
    	-webkit-border-radius: 0;
    	border-radius: 0;
    	color: #888;
    	font-size: 12px;
    	line-height: 18px;
    	margin-bottom: 20px;
    	max-width: 632px !important; /* prevent too-wide images from breaking layout */
    	padding: 4px;
    	text-align: center;
    }
    .wp-caption img {
    	margin: 5px;
    }
    .wp-caption p.wp-caption-text {
    	margin: 0 0 4px;
    }

    But, when I changed what it looks like I should change (the font size) or tried adding font size information to the caption-text part below, nothing changed.

    Any advice? As is probably pretty obvious, I don’t really know what I’m doing :/

    Thank you very much.
    Lisa

Viewing 3 replies - 1 through 3 (of 3 total)
  • change font size in this code (which in my theme is contained within editor-style.css

    you might need to find the corresponding style in style.css editor-style.css only formats texts within the visual post/page editor.

    however, the existing .wp-caption styles are not applied because a few lines before in style.css you have this broken line:

    #footer-left a {

    remove it.

    You should change this in your style.css in the folder of the theme you are using, not editor-style.css

    Thread Starter lisasj

    (@lisasj)

    Fabulous! Thanks so much to both of you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Need help changing caption text size, style’ is closed to new replies.