Forums

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

Home Forums CSS Image that clears content on sidebar

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45655
    menosketiago
    Member

    Hi there guys,

    I’m revamping this wordpress theme to make a blog and thought of a nice feature that would be to use in some posts an image that extends the full wrapper area of the site, pushing down the content of the sidebar.

    See what I mean (imagine it’s working LOL) > http://menosketiago.com/mana/teste-ps3/

    This would be a special class to apply only on some images.

    I tried to give the img a float and a clear and work around it but I’m missing something =X

    Any help? ;)

    #139325
    pixelgrid
    Participant

    try giving the entry image a width of 100%

    .entry img {

    width: 100%;
    }

    the margin part of the code could be used if you used box-sizing:border-box otherwise its going to be more than 100%

    #139330
    menosketiago
    Member

    hmm, that extends the img to 100% of the #content column, what I’m looking for is extending towards the right edge of the #sidebar and to pull down it’s content :|

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