B
B
BadassRolf2015-05-19 17:58:42
css
BadassRolf, 2015-05-19 17:58:42

How to make the correct orientation of the WP image?

dab83871d9.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wphelp, 2015-05-19
@BadassRolf

Add to your theme's style.css (you can use Appearance - Editor in the WordPress admin).

img.alignright {
    float: right;
    margin: 0 0 10px 15px;
}
img.alignleft {
    float: left;
    margin: 0 15px 10px 0;
}
img.alignnone {
    margin: 15px 0;
}
img.aligncenter {
    display: inline-block;
    margin: 15px auto;
    text-align: center;
}
.alignright {
    float: right;
    margin: 0 0 10px 15px;
}
.alignleft {
    float: left;
    margin: 0 15px 10px 0;
}
.aligncenter {
    display: block;
    margin: 0 0 10px 0;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question