Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Newbie problem with floats

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #178354
    ztalk112
    Participant

    Hi,

    I have what is likely a basic problem with the float property. You can see what I am trying to achieve in this screen grab from my wordpress visual editor:
    http://pacificnewmedia.co.nz/assets/temp/float2.png

    However this is what I end up with in reality:
    http://adair.pacificnewmedia.co.nz/products-services/labels-signs-tags/decorative-signage/

    As you can see, a float clear is applying automatically after the first paragraph, despite the fact that I haven’t applied the clear property in the code.

    Thx in anticipation for any help.

    #178358
    nixnerd
    Participant

    Really no way to know. You could have some stupid margin issues. You could have something that is positioned relative when it should be. You could have a hard-coded height attribute when you don’t need one. Again, hard to say.

    Is there ANY WAY you could post a Codepen of this issue? I know it’s WordPress but could you try?

    #178360
    ztalk112
    Participant

    Thanks for your reply.

    I’m not able to reproduce the problem in codepen. But what i did do is verify that the problem only presents when I use a particular WP plugin to format the post. When I enter the same source code into the html tab of the regular WP text editor, it doesn’t occur.

    So I’ll go back to the plugin author. Thx again for your input.

    #178427
    ztalk112
    Participant

    Thank you!

    I put this in the custom css for the theme and it fixed the problem:

    .widget ul { clear: none; }

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.