PDA

View Full Version : How to have 'clean' results from a gallery keyword search (without date/description)


Paul (France)
Oct-26-2006, 07:35 AM
Hi, this is about search result customization. Please do this search:

http://paulsmit.smugmug.com/search/index.mg?searchWords=mountains&NickName=paulsmit&searchType=UserAlbum

You will see that together with the gallery titles also the beginning of each description is showed as well as the date.

For me it is an absolute must that the date will not be shown. And as an extra it would be nice if the description wouldn't be shown as well. I just want the titles to show up with the thumbnails.

How can I customize this search results page so that I get rid of the dates and the descriptions? Thanks for any help!

Andy
Oct-26-2006, 07:59 AM
:wave Hi Paul,

Add this to your CSS:

.searchResults p.updated,
.searchResults p.description {display: none;}

Paul (France)
Oct-26-2006, 08:09 AM
:wave Hi Paul,

Add this to your CSS:

.searchResults p.updated,
.searchResults p.description {display: none;}

If only the help of other companies was that fast. :clap And good. That was the solution, Andy. Thanks!
(maybe this is a good addition to the Customization FAQ List on dgrin, because this solution was very 'clean')

Paul