• [Caption]-images won’t center. I embedd a picture and click on center, it centers. I add an description and it becomes an HTML [caption] image and won’t center anymore. I already added this to my style.css “wp-caption” segment but no difference:

    https://www.ads-software.com/support/topic/25-imagemedia-uploader-problems?replies=1

    My style.css looks like this:

    [CSS code moderated – please post a link to your site, or use the pastebin]

    In my embedded images the CSS class is “size-full wp-image-1144 aligncenter” so I tried do change the .aligncenter in the code above to “margin-left: auto” and “margin-right: auto” because some pple said it would work. It didn’t.

    I use the Arras theme and WordPress version 3.0.5.

    Please help me. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • I had the same problem, this particular code helped

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

    I noticed something. To make it work I had to put it after this code:

    .wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
    }
    Maybe someone with more experience can explain why?

    Thread Starter Goala_Baer

    (@goala_baer)

    Thanks like I said above I already tried that, no difference. Here is my style.css.

    https://pastebin.com/6jpqR5Mr

    I even deleted the whole /* Trick the WordPress Theme Bot *Evil* */ section of my theme’s style.css and only used the .aligncenter line on the position you mentioned but still images that I embedd with description are left-bound.

    Even if you succeeded with an edit to the code, the Arras documentation says if you change the template files and then update your theme your customizations will go away.

    That having been said, I went to the Arras community support site and tried to register. Although the captcha is clear as a bell, it won’t let me register so I can’t post an issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[caption] images won't center’ is closed to new replies.