Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Tagged

Social Topics

Problem with caption align
  • Hello, I have a problem with the align of the captions of my theme. If I don´t put anything in the user.css, the images with caption have a correct space with the paragraph, but I can´t align center an image with caption.

    If I put a code to align center the caption in my user.css, the images with caption in the paragraphs, lose the space with this and close near the paragraph without any space.

    I use this code to align center the captions:
    .wp-caption { margin: 0 auto; }

    Any solution?

    Thanks you very much and sorry for my bad english...
  • Solved with this code:

    .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }