Jump to content

Drop Shadows on Modules - Please help


Recommended Posts

Hey guys and gals, I've recently been thrown in the mix rebuilding a site for some folks, and right about release day.... I was asked if I could add shadows to our stores modules.

 

I've done plenty of online research about adding or adjusting css with diferent code and files that would add in a shadow image and resize it as needed... ie

 

<div class="img-shadow">



</div>

.img-shadow {
 float:left;
 background: url(shadowAlpha.png) no-repeat bottom right !important;
 background: url(shadow.gif) no-repeat bottom right;
 margin: 10px 0 0 10px !important;
 margin: 10px 0 0 5px;
 }

.img-shadow img {
 display: block;
 position: relative;
 background-color: #fff;
 border: 1px solid #a9a9a9;
 margin: -6px 6px 6px -6px;
 padding: 4px;
 }

 

but even with adding the divs and the css edits, i got nuthin (both on the global css or the local to the module.

 

Now my issue might be a few things.

 

1. This might simply not work

2. B_Body for the theme is simply over writing or superceding the shadow images

3. I'm adding the div in a bad spot in the module ...see code below..

 

<div class="img-shadow">
<div class="margin-form">
 <input type="radio" name="text_list" id="text_list_on" value="1" '.(Tools::getValue('text_list', Configuration::get('MANUFACTURER_DISPLAY_TEXT')) ? 'checked="checked" ' : '').'/>
 <label class="t" for="text_list_on"> <img src="../img/admin/enabled.gif" alt="'.$this->l('Enabled').'" title="'.$this->l('Enabled').'" /></label>
 <input type="radio" name="text_list" id="text_list_off" value="0" '.(!Tools::getValue('text_list', Configuration::get('MANUFACTURER_DISPLAY_TEXT')) ? 'checked="checked" ' : '').'/>
 <label class="t" for="text_list_off"> <img src="../img/admin/disabled.gif" alt="'.$this->l('Disabled').'" title="'.$this->l('Disabled').'" /></label>
    '.$this->l('Display').' <input type="text" size="2" name="text_nb" value="'.(int)(Tools::getValue('text_nb', Configuration::get('MANUFACTURER_DISPLAY_TEXT_NB'))).'" /> '.$this->l('elements').'
 <p class="clear">'.$this->l('To display manufacturers in a plain-text list').'</p>
</div>
</div>

 

so if none of those are the case (yes I have the images in the image folder, and it's simply not calling the image)....

 

Is there a module that will let me just click and add which modules get what type of drop shadow?

 

thanks in advance for any help or even input.

Link to comment
Share on other sites

×
×
  • Create New...