[resolved] [Theme: Twenty Eleven] Image caption / border spacing (4 posts)

  1. adyo
    Posted 3 years ago #

    After resolving another related issue,
    I've run into another one.

    I can't seem to get the caption-related border centered properly and the background or border or whatever around the image and caption text is all off.

    Example here:

    Any tips? I was trial-and-erroring my way through the CSS but I think some of you know better than me, feeling a bit lost.

  2. The Night Fox
    Posted 3 years ago #

    I'm sorry I can't help, but awesome job editing the theme. Is that comment box a plugin or is it hard coded?

  3. adyo
    Posted 3 years ago #

    Honestly I've not done much to it aside from changing the background and header and some minor tweaks here and there. Comment box is part of it I believe.

  4. adyo
    Posted 3 years ago #

    Alright, this is driving me mad. Everything looks peachy in the post editor, then it gets mangled once it's posted.

    Edit: for some reason, declaring it twice fixed it (?)
    See code below..

    .wp-caption .wp-caption-text:before {
      	content: ''; /*remove the symbol before caption text */
    /* caption cleanup
    ----------------------------------------------- */
    .wp-caption .wp-caption-text:before {
    	color: #666;
    	content: '';
    	font-size: 14px;
    	font-style: normal;
    	font-weight: bold;
    	margin-right: 5px;
    	position: absolute;
    	left: 10px;
    	top: 7px;

    Why does the empty content line only remove the content from the parent theme if I declare it twice like that?

Topic Closed

This topic has been closed to new replies.

About this Topic