PDA

View Full Version : Empty Galleries


Buster
Jan-14-2006, 11:13 AM
Hi folks,

I'm new!

Does anyone know the CSS code for disabling/removing the "This is a brand new gallery with no photos?"

I know I was reading customization threads or blogs and came across some css code somewhere that disabled the "This is a brand new gallery with no photos." text on an empty gallery. I tried the code and it didn't work. So I disabled it. I tried to find it again today...but, I couldn't remember where I had seen it. "Why do you want to do this?" you ask. One of the hacks was to put code in the gallery descrption field in order to create an information page such as for a price list or contact information, etc. Disabling the text make the page look complete.


Thomas Buster

bwg
Jan-14-2006, 11:25 AM
Hi folks,

I'm new!

Does anyone know the CSS code for disabling/removing the "This is a brand new gallery with no photos?"

I know I was reading customization threads or blogs and came across some css code somewhere that disabled the "This is a brand new gallery with no photos." text on an empty gallery. I tried the code and it didn't work. So I disabled it. I tried to find it again today...but, I couldn't remember where I had seen it. "Why do you want to do this?" you ask. One of the hacks was to put code in the gallery descrption field in order to create an information page such as for a price list or contact information, etc. Disabling the text make the page look complete.


Thomas Buster

i believe it is

.gallery_XXXXXX .nophotos { display: none; }

where the X's are your gallery number.

Buster
Jan-14-2006, 05:00 PM
i believe it is

.gallery_XXXXXX .nophotos { display: none; }

where the X's are your gallery number.

That's the ticket! Now we know why they call you the Big Web Guy.

Thanks!

Andy
Jan-14-2006, 05:02 PM
That's the ticket! Now we know why they call you the Big Web Guy.

Thanks!

Have you gotten Use Firefox (http://www.mozilla.org) and the Firefox Web Developer Tool Add-on (https://addons.mozilla.org/extensions/moreinfo.php?id=60)?

Get them. Install them. With just a few clicks you can see how things are styled, and you can modify, salt to taste! I love the "Edit CSS" button. Wow - powerful.

Buster
Jan-14-2006, 05:38 PM
Have you gotten Use Firefox (http://www.mozilla.org) and the Firefox Web Developer Tool Add-on (https://addons.mozilla.org/extensions/moreinfo.php?id=60)?

Get them. Install them. With just a few clicks you can see how things are styled, and you can modify, salt to taste! I love the "Edit CSS" button. Wow - powerful.

Do you guys live on here or what?

I installed the Web Developer...very, very useful...thanks!

I also installed Star Explorer this afternoon...also looks very useful.

Thanks Andy!

exactexposure
Mar-02-2006, 06:33 PM
Have you gotten Use Firefox (http://www.mozilla.org) and the Firefox Web Developer Tool Add-on (https://addons.mozilla.org/extensions/moreinfo.php?id=60)?

Get them. Install them. With just a few clicks you can see how things are styled, and you can modify, salt to taste! I love the "Edit CSS" button. Wow - powerful.

Thanks... will get the Firefox Web Tool right now. Figure out the HTML Only page (sorta... not sure if I can duplicate it, but it works)... the hard part is that all my tables and text has to go between the little biddy box for the description and THAT is a real pain in the rear! But at least it works :):

Thanks
David

BassAngler
Mar-03-2006, 10:27 AM
Glad to see a fellow Mainer!

Welcome!

:thumb