• I’ve been trying endlessly to center the caption with no results via css.

    i don’t want to center the navigation number text.

    testing the description here for length and spacing
    <Image 1 of 6 Next >

    Here is what i have and just unsure how to make this happen.

    #TB_window img#TB_Image {
    	display:block;
    	margin: 15px 0 0 15px;
    	border-right: 1px solid #ccc;
    	border-bottom: 1px solid #ccc;
    	border-top: 1px solid #666;
    	border-left: 1px solid #666;
    }
    
    #TB_caption{
    	height:25px;
    	padding:7px 30px 10px 25px;
    	float:left;
    }
    
    #TB_closeWindow{
    	height:25px;
    	padding:11px 25px 10px 0;
    	float:right;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Lesley2013

    (@lesley2013)

    should i be making a change here?

    <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> >
    		<div class="ngg-gallery-thumbnail" >
    			<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    				<?php if ( !$image->hidden ) { ?>
    				<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
    				<?php } ?>
    			</a>
    			<span><?php echo $image->caption ?></span>
    		</div>
    	</div>
    	<?php if ( $image->hidden ) continue; ?>
    	<?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
    	<br style="clear: both" />
    	<?php } ?>
     	<?php endforeach; ?>

    Easiest way is to go inside the plugin folder of nextgen gallery and then edit its css.

    But if you think it might go away in next update then kindly define the ids and classes (make sure they are the same as is defined in plugin css)

    Kindly share your site with us and we can check using firebug tool and let you know how to

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘NextGEN image gallery captions’ is closed to new replies.