Skip to Site Navigation | Skip to Content

Blog

How to turn off borders and / or captions on your photo gallery thumbnails

The photo gallery element in Water, Sky and Light gives you a way to easily display a group of images on your website and even throw in a little eye candy with a fancy slide show feature. When we designed the photo gallery, we kept it super simple on purpose.  So, there aren't a lot of configurations you can make.  You just upload the photos and it displays them using the file name as a caption.

But there are a couple of little tweaks you can make to your CSS if you want to alter the way the photo gallery displays.  You can hide the captions and/or the borders from images. This can give your gallery a more artistic and clean look. Give it a try if you are up for some CSS tweakage.

  1. Login to your website and go to "My Website --> Designs" on the toolbar.
  2. Click the "My Designs" tab
  3. Find your current design and click the "edit" button.
  4. Select the .css file from the list of files on the left. Then, scroll down to the bottom of the CSS file and insert either or both of the following statements

To turn off the captions:

div.photoGalleryElement p {
display: none;
}

To turn off the borders:

div.element .photoGalleryElement .thumbnail .thumbContents {
background-color: transparent;
border: none;
}

No comments (Add your own)

Add a New Comment

Enter the code you see below:
code
 

Comment Guidelines: No HTML is allowed. Off-topic or inappropriate comments will be edited or deleted. Thanks.