• Resolved akiryk

    (@akiryk)


    I’m working on creating my own theme and started by creating a stylesheet that I tested and that worked in plain old html and css — i.e. not in wordpress (you can see it here

    When I ported it all over to wordpress templates, it still mostly worked — but the image is no longer floating left in Safari. Check it out here: https://adamkiryk.com/

    Further, while the image floats in firefox, it stops working if I add in an <h1> headline above the paragraph of text. What is going on?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You have some CSS errors that need sorting.

    Thread Starter akiryk

    (@akiryk)

    Thank you. Fixing the css errors helped and now the text floats to the right of the image in firefox and safari. However, if I add an <h1> header to the top of the text, the floating ends. I re-validated css and html and both said it is error-free. If you check out https://adamkiryk.com/ you’ll see that text and header don’t float in either browser. Any suggestions?

    the ‘clear: both;’ in /styles/rebuild.css is interfering:

    h1,h2,h3,h4,h5,h6 {
            font-weight: normal;
            clear: both;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Text not floating around image’ is closed to new replies.