• Resolved renegademann

    (@renegademann)


    I know, it must sound horrible to you, but I would like to have the captions below my pictures. What do I have to do?

Viewing 1 replies (of 1 total)
  • Moderator Kathryn Presner

    (@zoonini)

    You could start with something like this in your child theme’s stylesheet:

    .wp-caption.alignleft .wp-caption-text {
      float: none;
      position: relative;
      top: inherit;
      left: 0;
      text-align: center;
      width: 100%;
      border-top: none;
    }
    .wp-caption.alignright .wp-caption-text {
      float: none;
      position: relative;
      top: inherit;
      right: 0;
      width: 100%;
      border-top: none;
    }

    I’ve tested it and it seems to work, but I haven’t tested extensively with different sizes of images and screens, so you’ll want to do that to make sure it looks as intended.

Viewing 1 replies (of 1 total)
  • The topic ‘Caption below pictures’ is closed to new replies.