Pic and Text alignment issue with visual editor
-
Hello!
I’m having an alignment issue with the visual editor tool. I create a row and divide it into 50% on both sides, add a visual editor to both sides, and when I add media or text to the left side it always comes up center, but the media or text on the right is fine. When I have a row with 100% and text or media and center it, it shows up on the right side of the screen…
I’m familiar with css and I’ve tried my code on other sites and I dont have that issue. Is there any portion in the style.css worth attempting to change? I cleared cache and cookies. I’ve looked at the style.css on other sites where i used the same theme I’m using and it appears to be the same. The core is as follows./* =17. WordPress core
————————————————————– */.alignleft {
display: inline;
float: left;
margin: 18px 18px 18px 0;
}.alignright {
display: inline;
float: right;
margin: 18px 0 18px 18px;
}.aligncenter {
display: block;
margin: 18px auto 18px auto;
}.wp-caption {
max-width: 100%;
}.wp-caption img[class*=”wp-image-“] {
display: block;
margin: 0 auto;
}.wp-caption-text {
color: #444;
font-size: 12px;
text-align: center;
}.wp-caption .wp-caption-text {
margin-bottom: 0.8075em;
margin-top: 0.8075em;
}.gallery-item {
float: left;
margin: 0 4px 4px 0;
overflow: hidden;
position: relative;
}.gallery-columns-1 .gallery-item {
max-width: 100%;
}.gallery-columns-2 .gallery-item {
max-width: 48%;
max-width: calc(50% – 4px);
}.gallery-columns-3 .gallery-item {
max-width: 32%;
max-width: calc(33.3% – 4px);
}.gallery-columns-4 .gallery-item {
max-width: 23%;
max-width: calc(25% – 4px);
}.gallery-columns-5 .gallery-item {
max-width: 19%;
max-width: calc(20% – 4px);
}.gallery-columns-6 .gallery-item {
max-width: 15%;
max-width: calc(16.7% – 4px);
}.gallery-columns-7 .gallery-item {
max-width: 13%;
max-width: calc(14.28% – 4px);
}.gallery-columns-8 .gallery-item {
max-width: 11%;
max-width: calc(12.5% – 4px);
}.gallery-columns-9 .gallery-item {
max-width: 9%;
max-width: calc(11.1% – 4px);
}
- The topic ‘Pic and Text alignment issue with visual editor’ is closed to new replies.