PDA

View Full Version : What am I doing wrong? Hide "gallery pages" with .pagenav in CSS


spider-t
Feb-11-2006, 03:32 PM
I have a handful of one-page galleries that I like to hide the page numbers on.

I just added this new one to my list:

/* hide pageNav for specific galleries */
.gallery_11747 .pageNav, .gallery_383313 .pageNav, .gallery_384106 .pageNav, .gallery_274717 .pageNav, .gallery_384080 .pageNav, .gallery_384050 .pageNav, .gallery_1090220 .pageNav,
.gallery_384508 .pagenav,
.gallery_1195351 .pagenav {
visibility:hidden;
}

But it is not working. "gallery pages" is still showing on the page:

http://www.trishtunney.com/gallery/1195351

Can you see what I am missing? Is this the right CSS element? Type-o?

Here is a gallery where it does work (in case that helps).

http://www.trishtunney.com/gallery/384050

I'm puzzled.

thanks!!!
Trish

Mike Lane
Feb-11-2006, 03:44 PM
.pagenav must be .pageNav (notice the capital "N").

spider-t
Feb-11-2006, 04:16 PM
.pagenav must be .pageNav (notice the capital "N").

YES!!!