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

XF 1.2 Member card opacity

Discussion in 'Styling and Customization Questions' started by tommydamic68, Sep 20, 2013.

  1. tommydamic68

    tommydamic68 Well-Known Member

    How do I change the opacity in the member card background?

    Thanks,
     
  2. Tracy Perry

    Tracy Perry Well-Known Member

    In EXTRA.css with (where the 0.65 makes it lighter - 1.0 removes the opacity)
    Code:
    .memberCard {
    opacity: 0.65;
    }
    
     
    Last edited: Sep 20, 2013
  3. Steve F

    Steve F Well-Known Member

    There is a style property for the member card in 1.2 which controls this.
     
  4. Tracy Perry

    Tracy Perry Well-Known Member

    Yes, there is, when you choose the Member Card from the ACP -> Style Properties but it's not readily apparent that you can click on the Member Card Box selection and the background color and below the RGB is the A (I'm "ass"uming it's for Alpha) you can define the transparency there.
    It boils down to whether you wish to use the Style Properties whenever possible or keep it mainly in your EXTRA.css. I prefer the EXTRA.css since I can document the changes in it. ;)
     
  5. tommydamic68

    tommydamic68 Well-Known Member

    It worked, the issue is it also made the members image see through.
     
  6. Tracy Perry

    Tracy Perry Well-Known Member

    Try in your EXTRA.css (in addition to the above)
    Code:
    .memberCard .avatarCropper img {
    opacity: 1.0;
    }
     
    tommydamic68 likes this.
  7. tommydamic68

    tommydamic68 Well-Known Member

    That worked- thanks!
     
  8. Tracy Perry

    Tracy Perry Well-Known Member

    You are most welcome. Even as long as I've been playing with xenForo, I still learn something new when I help others out with something I don't use. :D
     
    Amaury likes this.

Share This Page