Forums

Give help. Get help.

  • # March 28, 2014 at 10:20 am

    Hi All,

    I’m working on a website here

    I’m trying to get the images the full width of the container, I seem to have lost the selector that works. I’m currently using #block-1 .article header a.post-thumbnail

    the bigger challenge is for the images to resize according to screen size. It doesn’t seem to size correctly when resizing my browser window, or on my IPhone.

    What is the correct CSS use here? Thanks for your input.

    # March 28, 2014 at 2:22 pm

    Thanks for your help, That did the trick… sort of. I had to add a margin-right: -20px; to the container to the image to extend 100% of the box. But it is working now.

    # March 28, 2014 at 10:10 pm

    Shane is right. You need to set your widths to be percentages. This is rare but if you need to preserve aspect ratio at all times, let me know by @ mentioning me and I’ll hit you with a little trick you can use.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag