• Resolved latvianalaskan

    (@latvianalaskan)


    Hi everyone! I am going crazy trying to figure out how I can get my post text to wrap around my theme inserted featured image. I have read up on a lot of different posts about wrapping text around images and I have applied ‘float:left;’ to just about everywhere I can think of and I still can’t get the text to wrap. Here is a link to a post and what I am talking about: http://www.coastalfootprint.org/post-3/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Remove float left on your paragraphs.

    Thread Starter latvianalaskan

    (@latvianalaskan)

    You the man Andrew! I am an [moderated] Thanks!

    Thread Starter latvianalaskan

    (@latvianalaskan)

    This might need another thread, but do you have any useful tips on cleaning up my code? Aside from just sitting down and removing, editing, stuff line by line? Or perhaps a good method for doing it line by line? I have done quite a few modifications to the Danko theme, but I know it is pretty messy at this stage in the backend of things. Thanks again !

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You could try using a browser developer tool for this kind of exploratory CSS work.
    I use Google Chrome’s built-in Developer Tool just because I find it particularly easy to expose underlying HTML and CSS.

    In Chrome’s Developer Tool, you can literally tick-off CSS styles to see whether they actually do anything. If you tick them off and nothing changes, you can remove them from your stylesheet.

    If there is erroneous code, excluding CSS3, you can use W3C’s CSS validator to pinpoint it http://jigsaw.w3.org/css-validator/

    General rule for me is not to create duplications of CSS styles and to instead use multiple selectors (separated by commas) on existing styles.

    Thread Starter latvianalaskan

    (@latvianalaskan)

    Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Getting my text to wrap around my theme inserted featured image’ is closed to new replies.