0
Welcome Guest! Login
0 items Join Now

how to do a new module class suffix using this css?

    • Kraven's Avatar
    • Kraven
    • Sr. Rocketeer
    • Posts: 190
    • Thanks: 0

    how to do a new module class suffix using this css?

    Posted 16 years 1 month ago
    • HI, how do I do a new module class suffix using this css? or edit a module class suffix in any RT template?
      html,
          body {
              margin:0;
              padding:0;
              color:#000;
              background:#fff;
          }
          body {
              padding:20px;
              font:76%/140% "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
          }
          #labfooter {
              text-align:center;
              clear:both;
          }
          .adwrap {
              margin:30px auto 10px;
              padding:10px 0;
              width:468px;
              border:1px solid #ccc;
              border-width:1px 0;
          }
          .adwrap object {
              width:468px;
              height:60px;
          }
          
          
          .teaser {
              padding:0 0 0 11px;
              margin:10px;
              background:url("tsr-l.gif") top left no-repeat;
          }
          .teaser h3 {
              background:url("tsr-r.gif") top right no-repeat;
              margin:0;
              padding:8px 0 0.5em 0;
          }
          .teaser p {
              margin:0 0 0 -11px;
              padding:0 11px 0.5em;
              border:1px solid #d8d8d8;
              border-width:0 1px;
              background:#fff;
          }
          .teaser div {
              margin:0 0 0 -11px;
              padding-left:11px;
              background:url("tsr-l.gif") bottom left no-repeat;
          }
          .teaser a.more {
              display:block;
              text-align:right;
              padding:0 10px 10px 0;
              background:url("tsr-r.gif") bottom right no-repeat;
          }
       
    • Maria Dacus's Avatar
    • Maria Dacus
    • Elite Rocketeer
    • Posts: 943
    • Thanks: 1
    • Web Site Designer/Administrator

    Re: how to do a new module class suffix using this css?

    Posted 16 years 1 month ago
    • As far as I know, you just tag it with .module-hilitename and the part that you want...

      for example:

      .module-hilitekraven {margin:0; padding:0; color:#000; background:#fff;}

      .module-hilitekraven .adwrap object {width:468px; height:60px;}
    • When solved, please modify your original post and add (SOLVED) into the subject AND change your icon to the green check.  This helps people know they can find a solution in your post if they have the same problem.

Time to create page: 0.057 seconds