View Full Version : Remove "Sub-categories" description?
jevidon
Aug-08-2006, 07:42 AM
I've found plenty of ways to remove the "Categories" description on the main page, but I can't seem to do the same for the Subcategories. Any suggestions?
jevidon
Aug-08-2006, 01:15 PM
I've found plenty of ways to remove the "Categories" description on the main page, but I can't seem to do the same for the Subcategories. Any suggestions?
Is there really no one who can answer this question? Since posting this I've searched through and found a couple other people who asked the same question and also haven't received an answer...
Andy
Aug-08-2006, 01:55 PM
Is there really no one who can answer this question?
Sure there is, we try to answer everything really fast. I'm sorry I've had some internet issues today, so I couldn't get to this earlier.
I made the first gallery in this subcat
http://justin.smugmug.com/Sports "not clean" so the description would show, and then if you add this CSS:
p.description {display: none;}
p.updated {display: none;}
The description and updated time will be hidden. Does this help?
jevidon
Aug-08-2006, 02:10 PM
Sure there is, we try to answer everything really fast. I'm sorry I've had some internet issues today, so I couldn't get to this earlier.
I made the first gallery in this subcat
http://justin.smugmug.com/Sports "not clean" so the description would show, and then if you add this CSS:
p.description {display: none;}
p.updated {display: none;}
The description and updated time will be hidden. Does this help?
I think I might have misworded the issue I was having. To clarify, I'm posting two pictures to show what I am wanting to accomplish:
Before:
http://justin.smugmug.com/photos/86880613-O.jpg
After:
http://justin.smugmug.com/photos/86880614-O.jpg
Hopefully this helps. Thanks again for getting back to me on this question.
Andy
Aug-08-2006, 02:48 PM
I think I might have misworded the issue I was having. To clarify, I'm posting two pictures to show what I am wanting to accomplish:
Before:
http://justin.smugmug.com/photos/86880613-O.jpg
After:
http://justin.smugmug.com/photos/86880614-O.jpg
Hopefully this helps. Thanks again for getting back to me on this question.
Right. That's exactly what the CSS I gave you does :D
You can also accomplish it with the "clean" setting in your gallery customization.
Barb
Aug-08-2006, 05:24 PM
I think I might have misworded the issue I was having. To clarify, I'm posting two pictures to show what I am wanting to accomplish:
Before:
http://justin.smugmug.com/photos/86880613-O.jpg
After:
http://justin.smugmug.com/photos/86880614-O.jpg
Hopefully this helps. Thanks again for getting back to me on this question.
Hi :)
Not sure if this is what you're looking for, but if you want to remove the words "Sports sub-categories", this will do it for you:
#subcategoriesBox .title { display: none; }
Do the same for the galleries, but use #galleriesBox ...
Andy
Aug-08-2006, 07:20 PM
Hi :)
Not sure if this is what you're looking for, but if you want to remove the words "Sports sub-categories", this will do it for you:
#subcategoriesBox .title { display: none; }
Do the same for the galleries, but use #galleriesBox ...
d'0h thanks Barb, I missed that list bit, too. :bow
jevidon
Aug-09-2006, 07:31 AM
d'0h thanks Barb, I missed that list bit, too. :bow
Thanks guys. That's exactly what I was looking for.
dcyphert
Dec-16-2006, 05:22 AM
d'0h thanks Barb, I missed that list bit, too. :bow
Andy,
Here's a simple one....Is it possible to just remove the words "sub-categories" and "categories" from the top of the galleries (http://propointmedia.smugmug.com/High%20School%20Sports)
I'm using this, #subcategoriesBox .title { display: none; }
..but this is removing everything, I just want it to say "High School Sports"
Thanks.
devbobo
Dec-17-2006, 12:03 AM
Andy,
Here's a simple one....Is it possible to just remove the words "sub-categories" and "categories" from the top of the galleries (http://propointmedia.smugmug.com/High%20School%20Sports)
Dave,
Add this to your javascript code...
YE.onAvailable('galleryTitle', function() {this.innerHTML = this.innerHTML.replace(/(sub\-)?categories/, '')});
Cheers,
David
kungaloosh
Apr-30-2008, 01:45 PM
Dave,
Add this to your javascript code...
YE.onAvailable('galleryTitle', function() {this.innerHTML = this.innerHTML.replace(/(sub\-)?categories/, '')});
Cheers,
David
I realize this is old, but here's the solution i found today (changed galleryTitle to galleriesBox):
/* remove the word "Galleries" */
YE.onAvailable('galleriesBox', function() {this.innerHTML = this.innerHTML.replace(/galleries/, '')});
YE.onAvailable('subcategoriesBox', function() {this.innerHTML = this.innerHTML.replace(/sub-categories/, '')});
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.