WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Alignright image with caption not working

[Resolved] Alignright image with caption not working

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi

    @esmi

    Forum Moderator

    Try adding:

    .alignright {float:right}

    to your theme’s stylesheet.

    @esmi Thanks for the note. I added this to the style.css … still not working.

    Any other ideas? I’m stumped…

    esmi

    @esmi

    Forum Moderator

    I can’t see that CSS in your stylesheet.

    Weird. Ok, so, I added it to the style.css along with three other .css files I found: rtl.css, editor-style.css and editor-style-rtl.css

    still nothing…

    esmi

    @esmi

    Forum Moderator

    Now try changing:

    .alignright {float:right}
    }

    to:

    .alignright {float:right}

    Ok, I made that switch in each of the .css files and saved them.

    esmi

    @esmi

    Forum Moderator

    Move it to above:

    /* =Print Style
    
    -------------------------------------------------------------- */

    whooo, hooo. that worked! but now there is no border…

    ugh.

    Thanks for your help!

    Michael

    @alchymyth

    Forum Moderator

    the section of ‘print styles’ is not closed in your style.css;
    therefore all added styles would only be executed if you print your page.

    possibly close the section with an extra curly bracket } before these lines:

    a:active a:focus{
      outline-style: none;
      border: none;
    }

    Awesome. Thank you esmi and alchymyth!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Alignright image with caption not working’ is closed to new replies.
Skip to toolbar