WordPress.org

Ready to get started?Download WordPress

Forums

photo opacity (6 posts)

  1. carrozzasurfboards
    Member
    Posted 1 year ago #

    i have made my body contain slighty opaque at .9 but the product photos within the body are now also opaque at .9 -

    wondering if there is css element or code that can overwrite this and make the photo not opaque at all?

    http://carrozzasurf.com/board-models-2/short-boards/

    Thanks

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    Opacity will affect all child elements, which will be everything if it's applied to the body. Check out this article: http://robertnyman.com/2010/01/11/css-background-transparency-without-affecting-child-elements-through-rgba-and-filters/

  3. Andrew
    Forum Moderator
    Posted 1 year ago #

    Don't use CSS opacity, use transparent/translucent background images instead.

  4. Andrew Bartel
    Member
    Posted 1 year ago #

    Oh Andrew let them learn.

  5. carrozzasurfboards
    Member
    Posted 1 year ago #

    So I don't really get it - I though opacity was transparency - There does not seem to be an actual element called transparency?

    Or am I wrong -

    Please advise -

  6. Andrew Bartel
    Member
    Posted 1 year ago #

    A transparent background would be an image with a transparent layer.

    http://en.wikipedia.org/wiki/Portable_Network_Graphics#Transparency_of_image

Topic Closed

This topic has been closed to new replies.

About this Topic