I’ve created a blog using WordPress and am attempting to add images to each post. The images don’t seem to work ‘inline’ though. I have attempted add inline styles (using Chrome dev tools) and cannot seem to get the paragraphs to wrap.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For text to wrap around the image, you must have
display: inlineas well as afloatset.You have
display:inlineset on the div that contains the div that contains the caption and image, but no float applied. Addfloat: leftto the parent div of the caption div (the one that already hasdisplay: inlineset as an inline style) and the text will flow around the image.Or remove that parent div entirely (since it’s totally extraneous and has no real purpose) and simply apply
display: inlineto the.wp-captionclass that is applied to the caption div that contains the image andfloat: leftto the.alignleftclass (which is what WP assigns to any left-aligned image).