1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Transparent images visible twice when expanded

Discussion in 'Resolved Bug Reports' started by Luke F, Mar 17, 2012.

  1. Luke F

    Luke F Well-Known Member


    Perhaps not strictly a bug, but it might be better to have the expanded version's css background match the post background or such
  2. Lone Wolf

    Lone Wolf Well-Known Member

    I find this annoying too
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Here is a fix:

    Admin CP -> Appearance -> Templates -> EXTRA.css

    Add this code:

    	background-color: @contentBackground;
    @contentBackground is the background color of the message area in the default style so this should be appropriate for most styles that use the palette.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Or this would actually be more correct:

    	background-color: @primaryContent.background-color;
    That way it literally uses the background of primaryContent and not just the same color swatch.
  5. Mike

    Mike XenForo Developer Staff Member

    I think I'm actually using the entire set of background properties specified for @primaryContent for this now, but the concept is similar to what Jake suggested. :)
    Slavik likes this.
  6. CyberAP

    CyberAP Well-Known Member

    You could just set
    visibility: hidden;
    for the parent image and
    visibility: visible;
    for child.
    That way we don't screw up custom styles and properly display semi-transparent images.

Share This Page