0
Welcome Guest! Login
0 items Join Now

How can I add a css class to the nebulae template?

    • soloudmedia's Avatar
    • soloudmedia
    • Elite Rocketeer
    • Posts: 519
    • Thanks: 2
    • audio-visual-media-designer

    How can I add a css class to the nebulae template?

    Posted 13 years 5 days ago
    • Hi everyone,
      I want to add the following css class to the nebulae template, but don't know where and how.
      Can I just add it somewhere in the template css? Oder do I have to put it to the style css?

      Thank You so much
      David

      <style type="text/css">

      .thumbnail{
      position: relative;
      z-index: 0;
      }

      .thumbnail:hover{
      background-color: transparent;
      z-index: 50;
      }

      .thumbnail span{ /*CSS for enlarged image*/
      position: absolute;
      background-color: lightyellow;
      padding: 5px;
      left: -1000px;
      border: 1px dashed gray;
      visibility: hidden;
      color: black;
      text-decoration: none;
      }

      .thumbnail span img{ /*CSS for enlarged image*/
      border-width: 0;
      padding: 2px;
      }

      .thumbnail:hover span{ /*CSS for enlarged image on hover*/
      visibility: visible;
      top: 0;
      left: 60px; /*position where enlarged image should offset horizontally */

      }

      </style>
    • Last Edit: 12 years 10 months ago by soloudmedia.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: How can I add a css class to the nebulae template?

    Posted 13 years 5 days ago
    • You can put it in either, whichever one makes more sense to you. You don't need the <style> tags unless you want to call it directly from your HMTL markup.
      My preferred method of customizing CSS these days is the plug-in route as this doesn't require you to do a lot of saving when you decide to upgrade the template -> www.rockettheme.com/magazine/1292-creati...m-css-joomla-plug-in
    • soloudmedia's Avatar
    • soloudmedia
    • Elite Rocketeer
    • Posts: 519
    • Thanks: 2
    • audio-visual-media-designer

    Re: How can I add a css class to the nebulae template?

    Posted 13 years 1 day ago
    • Thank You Dan! This helped a lot!
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: How can I add a css class to the nebulae template?

    Posted 13 years 1 day ago
    • soloudmedia wrote:
      Thank You Dan! This helped a lot!
      No prob...
      Check my signature and click the button beside "Marking your threads as Solved". Thanks.

Time to create page: 0.073 seconds