Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #596

    could you please help with trying to align images to the right…. The default wordpress option when inserting from library aligns right only in the visual editor but not in the page.

    #32128

    Hey,

    There is conflicting CSS however there is a simple fix to get images to align to the right.

    Open up style.css and find this code (around line 868):

    .alignright {
    display:inline;
    float:right;
    margin:0 0 15px 15px;
    }

    replace it with:

    .alignright {
    display:inline;
    float:right !important;
    margin:0 0 15px 15px;
    }

    This !important declaration overrides the existing CSS which is telling the images to float to the left.

    #32129

    love you guys. that was really quick and worked perfect!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘cant align images to the right :(’ is closed to new replies.