0
Welcome Guest! Login
0 items Join Now

SOLVED Afterburner2 hover effect missing

    • Kurt Snow's Avatar
    • Kurt Snow
    • Sr. Rocketeer
    • Posts: 227
    • Thanks: 0

    SOLVED Afterburner2 hover effect missing

    Posted 11 years 10 months ago
    • We duplicated the content from the Afterburner2 module for the header position in which a gradient appears to distinguish each column. But, upon duplication the hover does not appear. In Firebug, the hover seems to be coming from a php file, which I have yet to learn about. Here is the link to the site:

      californiansforconservation.org/

      The hovers should have been appearing on the Call Your Legislator, Sign up Today and Share with Friends "columns" in the header position as in the demo found here:

      demo.rockettheme.com/?template=afterburner2
    • Last Edit: 11 years 10 months ago by Kurt Snow.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED Afterburner2 hover effect missing

    Posted 11 years 10 months ago
    • add this to your custom css file:
      #rt-header .gantry-width-33 {padding-bottom: 20px;margin-bottom: -25px;}
      #rt-header .gantry-width-33:hover {
      /* IE9 SVG, needs conditional override of 'filter' to 'none' */
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC43Ii8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
      background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%); /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.7))); /* Chrome,Safari4+ */
      background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%); /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%); /* Opera 11.10+ */
      background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%); /* IE10+ */
      background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%); /* W3C */
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#b3000000',GradientType=0 ); /* IE6-8 */
      }
      If you are using Gantry 4 (or later) you can create a file using a simple text editor for custom css and name it using this format: templatefolder-custom.css (e.g., rt_kirigami-custom.css or gantry-custom.css).
    • Kurt Snow's Avatar
    • Kurt Snow
    • Sr. Rocketeer
    • Posts: 227
    • Thanks: 0

    Re: SOLVED Afterburner2 hover effect missing

    Posted 11 years 10 months ago
    • Thank you for your prompt reply. I never would have figured that out. It looks great.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED Afterburner2 hover effect missing

    Posted 11 years 10 months ago
    • Kurt Snow wrote:
      Thank you for your prompt reply. I never would have figured that out. It looks great.
      Happy to help :cheesy:
  • Re: SOLVED Afterburner2 hover effect missing

    Posted 11 years 9 months ago
    • By the way, how to change the colors in this exilent hoover effekt ?
  • Re: SOLVED Afterburner2 hover effect missing

    Posted 11 years 9 months ago
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED Afterburner2 hover effect missing

    Posted 11 years 8 months ago
    • Sorry Jens this was a solved issue therefore your post would have been better to start a new topic. Thanks for replying with the solution for creating cross-browser css for gradient backgrounds you located. That is the answer I would have provided had I seen this sooner.

      See you around the board :)
  • Re: SOLVED Afterburner2 hover effect missing

    Posted 11 years 8 months ago
    • Thanks cdavis411 :-)
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22283
    • Thanks: 3226
    • messin' with stuff

    Re: SOLVED Afterburner2 hover effect missing

    Posted 11 years 7 months ago
    • Here's the original code that sometimes gets buggererd in an Afterburner 2 install... I dunno why, but I only sometimes have to add this to my custom CSS file:
      #rt-header .gantry-width-33:hover {
      background-color: #ededed;
      background-image: -moz-linear-gradient(top,#F1F1F1,#E7E6E6);
      background-image: -webkit-gradient(linear,0 0,0 100%,from(#F1F1F1),to(#E7E6E6));
      background-image: -webkit-linear-gradient(top,#F1F1F1,#E7E6E6);
      background-image: -o-linear-gradient(top,#F1F1F1,#E7E6E6);
      background-image: linear-gradient(to bottom,#F1F1F1,#E7E6E6);
      background-repeat: repeat-x;
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff1f1f1', endColorstr='#ffe7e6e6', GradientType=0);
      }
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:

Time to create page: 0.081 seconds