• The issue of how the theme deals with images is still not resolved. Arthur, I sent you screenshots/code but you never replied. The issue has not been resolved.

Viewing 15 replies - 1 through 15 (of 26 total)
  • Theme Author arthur-gareginyan

    (@arthur-gareginyan)

    Hi, William!
    You create again the same topic.
    I replied to you repeatedly.

    You wrote:

    I’ve never had this problem before with image wrap so it definitely has something to do with your coding.

    No error in the template! No error in the my code!
    You make mistakes when writing articles!
    Example:

    <div id="yiv1034764464">
    <p><img class="attachment-single-post-thumbnail wp-post-image alignleft" style="margin-left: 10px; margin-right: 10px;" title="bostonmanhunt4" alt="bostonmanhunt4" src="https://www.globalresearch.ca/wp-content/uploads/2013/04/bostonmanhunt4-400x266.jpg" width="240" height="160"><em>In recent developments, US Attorney General Eric Holder has announced that federal authorities will “seek the death penalty for Dzhokhar Tsarnaev if he is found guilty of the Boston Marathon bombing last April.” </em></p>
    <p><em>This article by professor James Tracy first published in the week following the bombings, sheds light on the nature of this tragic event.?<span id="more-74066"></span></em></p>
    <p style="text-align: center;">*??? *??? *</p>

    This code from your website:
    https://williambowles.info/2014/04/02/media-narrative-witnessing-bostons-mass-casualty-event-by-james-f-tracy/

    The image is placed in a paragraph and the second paragraph is outside! Therefore, the text does not wrap around the image!

    Thread Starter William Bowles

    (@creative-i)

    Arthur,
    I never received a single response aside from the one about embedding code in this forum.

    You say:

    The image is placed in a paragraph and the second paragraph is outside! Therefore, the text does not wrap around the image!

    I have never, I repeat never had this happen before and I’ve been using WP for over five years. When an image is set to the left or the right, all text, including paragraphs wraps around the image. It’s the way it’s displayed in the WordPress editor and it’s the way it should look on the page.

    BEfore installing your theme I ran WordPress’s P2 and never had this happen.

    Theme Author arthur-gareginyan

    (@arthur-gareginyan)

    What do you think about the example that I showed?
    You understand that the second paragraph is out of the first paragraph, and the image is in the first paragraph?

    <p>
       <img></img>Text...
    </p>
    <p>
       Text...
    </p>

    And should be something like:

    <img></img>
    <p>
       Text...
    </p>
    <p>
       Text...
    </p>

    Thread Starter William Bowles

    (@creative-i)

    Arthur,
    Yes, I understand but as I said, wrap around an image has always worked regardless of the number of paragraphs.

    So for example, with your theme I have to remove </p> and <p> from even one paragraph before the text wraps let alone two or more paragraphs, it’s not the way HTML works. I never had to do this before and I’ve been using HTML since 1994!

    Thread Starter William Bowles

    (@creative-i)

    Esme: Why exactly did you add the link?

    Why exactly did you add the link?

    That’s your previous topic on this subject. The one you said you had never seen a response to?

    it’s not the way HTML works. I never had to do this before and I’ve been using HTML since 1994!

    Then I assume you know the difference between block level and inline elements as these were part of the W3C specifications as far back as HTML 3.2? Did you ever get around to learning about CSS?

    Thread Starter William Bowles

    (@creative-i)

    ESme: Nope, not really. I know how CSS works tho but this has nothing to do with CSS, this is basic hmtl, align an image left or right and the text wraps regardless of the number of paragraphs around the image.

    B

    this has nothing to do with CSS

    Actually, it has everything to do with CSS. HTML marks up your page contents but CSS defines how it is displayed. That said, the theme author is correct – your HTML markup logic is flawed. If you want the image to float to one side of the text, then you should place it within the same paragraph (block level) section as the text that you wish to wrap. It should not be within its own <p></p> tags.

    Thread Starter William Bowles

    (@creative-i)

    Esme, well it’s a new one on me!!! Even the WP editor displays an image wrapped eg left, with all the paragraphs adjacent to the image wrapped! In all the years I’ve been using WordPress until I switched to this theme (that otherwise I really like) I’ve never had this problem. Surely, that was the entire point of having text around image?

    Even the WP editor displays an image wrapped eg left

    The Visual editor should not really be relied upon. It’s WYSIWYG is crude at best. Have you checked to see what CSS is being applied to paragraph tags by default in this theme?

    Thread Starter William Bowles

    (@creative-i)

    Crude it may be but it wraps text around images regardless of the number of paras. I mean it’s so basic I don’t understand all this stuff about CSS, I’m not a programmer, I’m a writer.

    and no I haven’t checked the style sheet (for this).

    no I haven’t checked the style sheet (for this)

    I’d suggest checking the CSS rules that are impacting on <p> tags. Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    Thread Starter William Bowles

    (@creative-i)

    I wouldn’t know where to start

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Still have a problem with wrapping text around an image’ is closed to new replies.