RSGallery2 Support Forums

RSgallery2 support forums => Display and Templates => Topic started by: nad13 on April 05, 2008, 04:39:20 pm



Title: CSS Images and border of thumbs_float.php
Post by: nad13 on April 05, 2008, 04:39:20 pm
hello

I want to remove the borders of images because it uses the theme of css Joomla 4 colors Rockettheme
and use CSS of the gallery.

Semantic - Default display template
>>edit override
>>>> thumb_float.php

If I comment : <div class="img-shadow">
         <img alt="<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>" src="<?php echo $thumb->url(); ?>" />
         </div>


The title of the image on the right hand  :(

I want to put the title below
And use a dark background

I make changes in the template of rsgallery, it does not work.

Thanks for your assistance   
      
Nad

Quote
<li <?php echo "style='float: $floatDirection'"; ?> >
      <a href="<?php echo JRoute::_( "index.php?option=com_rsgallery2&page=inline&id=".$item->id."&Itemid=$Itemid" ); ?>">
         <!--<div class="img-shadow">-->
         <img alt="<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>" src="<?php echo $thumb->url(); ?>" />
         <!--</div>-->
                        <span class="rsg2-clr"></span>
         <?php if($rsgConfig->get("display_thumbs_showImgName")): ?>
            <br /><span class='rsg2_thumb_name'><?php echo htmlspecialchars(stripslashes($item->title), ENT_QUOTES); ?></span>
                        <br><?php echo $kid->owner;?>