Results 1 to 10 of 100

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: Support Thread - Responsive Color Changes for 155

    Very educational, thanks!

    I fiddled with your site. Tagging indexDefaultMainContent with the white rgba worked right out of the bag, of course. But interestingly (to me), I couldn't get the same effect with hex. I could have sworn I'd been able to achieve similar translucency with hex before. The hex for white is #FFFFFF and adding 33 (#FFFFFF33) should have gotten me there, but I couldn't do it. Maybe I used a webkit or something before? Or maybe I was thinking about applying translucency to layers in photoshop, totally unrelated to CSS. Dunno.

    Anywho, rgba has firmly proved it's value to me! :)

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,697
    Plugin Contributions
    11

    Default Re: Support Thread - Responsive Color Changes for 155

    Translucence is often misused when talking about transparency. Transparency is generally associated with clear. The more correct term for how well you can "see" through something is opacity.

    Where you may be confused is that, in order to have 20% opacity in the #FFFFFF, the 33 is added at the beginning rather than at the end AND the result should be eight (8) versus six (6) characters. Had you entered #33FFFFFF, it would have worked IF your browser supported it.

    It is the old method and doesn't give the non-compatible browser any alternative. Another reason for the dual calls in the css.

    Mentioned it in an earlier thread but, http://tinyurl.com/y929h5f6 is a good read. Especially near the end of the article. Click on View Demo just before the Conclusion.


    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: Support Thread - Responsive Color Changes for 155

    My browser must not support it because that's how I had it originally, with 33 in front.

    Fabulous article, hit the nail right on the head. And the demo was highly cool, thanks!

 

 

Similar Threads

  1. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Templates, Stylesheets, Page Layout
    Replies: 1087
    Last Post: 18 Jan 2025, 07:23 PM
  2. v151 Tableau Responsive Theme - Support Thread
    By numinix in forum Addon Templates
    Replies: 622
    Last Post: 19 Apr 2020, 11:11 PM
  3. Autoresponder+ for ZC v1.3.x [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 229
    Last Post: 28 Jun 2017, 12:32 AM
  4. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Addon Templates
    Replies: 0
    Last Post: 17 Mar 2016, 12:30 AM
  5. v154 Order Steps Responsive [Support Thread]
    By davewest in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jul 2015, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg