• No matter what I try, I cannot get my text to wrap around my images in my posts. It’s very frustrating. The photo just divides the text with big blank spaces at the side. It looks stupid. If anyone knows of a cure for this problem, I would greatly appreciate it. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you have a custom theme you need really need to save the code from the standard theme stylesheet to the custom one.

    /* -------------------------------------------------------------- 
    
       Basic WordPress Blog Styles   
    
    -------------------------------------------------------------- */   
    
    /* Images
    -------------------------------------------------------------- */
    
    .entry-content img {
    	margin: 0 0 1.5em 0;
    }
    .alignleft,
    img.alignleft {
    	display: inline;
    	float: left;
      margin-right: 1.5em;
    }
    .alignright,
    img.alignright {
    	display: inline;
    	float: right;
      margin-left: 1.5em;
    }
    .aligncenter,
    img.aligncenter {
    	clear: both;
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }
    .wp-caption {
    	text-align: center;
    	margin-bottom: 1.5em;
    }
    .wp-caption img {
    	border: 0 none;
    	margin: 0;
    	padding: 0;
    }
    .wp-caption p.wp-caption-text {
    	margin: 0;
    }
    .wp-smiley {
    	max-height: 1em;
    	margin:0 !important;
    }
    .gallery dl {
    	margin: 0;
    }
    .gallery-caption {
    	margin:-1.5em 0 0 0;
    }
    
    /* Pullquotes
    -------------------------------------------------------------- */
    
    blockquote.left {
    	float: left;
    	margin-left: 0;
    	margin-right: 20px;
    	text-align: right;
    	width: 33%;
    }
    blockquote.right {
    	float: right;
    	margin-left: 20px;
    	margin-right: 0;
    	text-align: left;
    	width: 33%;
    }

    RBenzaim,

    Add a link to your site so we can take a better look.

    nataljaz

    (@nataljaz)

    My text doesn’t wrap around either in no way. I have a custom theme.
    https://www.videofotomatrimonio.com

    You can see the same problem with the 2 images as numbers.

    The other problem is when I highlight some text with yellow background (see website), the font gets reduced and I can’t find a way to make it as big as the rest of text. I tried this:
    <span style=”font-size: x-large;”>

    but it gets too large.

    Thanks!

    nataljaz

    (@nataljaz)

    I just managed to solve the problem of wrapping the text around the images: some code was missing in the style.css

    The other problem is still there….

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Text doesn’t wrap around images’ is closed to new replies.