Keyword

How to prevent caption on thumbnail only?

  • Jack Bremer
  • Jack Bremer's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 7 months ago - 17 years 7 months ago #1782 by Jack Bremer
How to prevent caption on thumbnail only? was created by Jack Bremer
Hi,

I just bought the pro version today - very slick, but I'd like the caption to only show up in the Lightbox, not on the thumbnail - I know I can choose for it to only show a few words, but even that's clunky...

I tried setting it to zero words, and it shows the whole lot. Tried * as the value and it now shows ... which is better but not ideal - how can I get rid of the grey bar completely?

link: www.themodsband.com/index.php?option=com_content&task=view&id=36&Itemid=39

Thanks!

Please Log in or Create an account to join the conversation.

More
17 years 7 months ago #1783 by m00m00
hello

i edited my sigpro_css and changed;

.sig_cont .sig_thumb a span.sig_pseudocaption b
.sig_cont .sig_thumb a:hover span.sig_pseudocaption
.sig_cont .sig_thumb a:hover span.sig_caption


all to visibility:hidden...

voila - no captions or grey box on thumbs... but visible once clicked on image.

hope this helped.

:P

Please Log in or Create an account to join the conversation.

  • Jack Bremer
  • Jack Bremer's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 7 months ago #1784 by Jack Bremer
Replied by Jack Bremer on topic Re: How to prevent caption on thumbnail only?
awesome - took some playing though, there were a couple more to change... here's my final working css....
/*
// "Simple Image Gallery PRO" Plugin for Joomla 1.0.x - Version 1.1
// Copyright (c) 2006 - 2007 JoomlaWorks.net - https://www.joomlaworks.net
// This code cannot be redistributed without permission from
https://www.joomlaworks.net/
// More info at: https://www.joomlaworks.net/
// Developers: Fotis Evangelou - George Chouliaras
// ***Last update: April 12th, 2007***
*/

/* --- Thumbnail styling --- */
.sig {clear:both;margin:0px;padding:12px;display:table-cell;}
.sig_clr {clear:both;}
.sig_cont {float:left;}
.sig_cont .sig_thumb {float:left;margin:0px 5px 5px
0px;padding:0px;background:url(shadowAlpha.png) no-repeat bottom right
!important;background:url(shadow.gif) no-repeat bottom right;}
.sig_cont .sig_thumb a
{display:block;position:relative;background:none;text-decoration:none;}
.sig_cont .sig_thumb a:hover
{display:block;position:relative;background:none;text-decoration:none;}
.sig_cont .sig_thumb a img
{display:block;position:relative;background:#FFF;border:1px solid
#ccc;margin:-5px 5px 5px -5px;padding:4px;}

/* --- Caption/Label styling --- */
.sig_cont .sig_thumb a span.sig_pseudocaption,
.sig_cont .sig_thumb a:hover span.sig_pseudocaption
{visibility:hidden;display:block;text-align:center;margin:0px;padding:2px;op
acity:0.6;-moz-opacity:0.6;filter:alpha(opacity=40);position:absolute;
bottom:5px !important;bottom:5px;left:0px !important;left:5px;right:4px;}
.sig_cont .sig_thumb a span.sig_pseudocaption {background:#000;}
.sig_cont .sig_thumb a:hover
span.sig_pseudocaption{visibility:hidden;background:#fff;}
.sig_cont .sig_thumb a span.sig_pseudocaption b
{visibility:hidden;margin:0px;padding:2px;}
.sig_cont .sig_thumb a span.sig_caption,
.sig_cont .sig_thumb a:hover span.sig_caption
{visibility:hidden;display:block;text-align:center;margin:2px auto 0px
auto;padding:2px;position:absolute;width:auto;cursor:pointer;
bottom:5px !important;bottom:5px;left:0px !important;left:5px;right:4px;}
.sig_cont .sig_thumb a span.sig_caption {color:#fff;}
.sig_cont .sig_thumb a:hover span.sig_caption
{visibility:hidden;color:#333;}

/* --- END --- */

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum