Sorry I didn't explain that very well. I'll explain it again, better this time with pictures!
I tried
and got the search results to display like this:
Picture-1.jpg
See how it shows the category name (Spring & Summer or Interior) and then the title of the image (171 or 1005). example= Spring & Summer: 171
I didn't need it to say the title of the image, just the category name. Since it would be repeating the image name 3 times. Too redundant.
I tried this version
and got the search results to display like this:
Picture-2.jpg
See how mow it shows the category number (53 or 42) and then the category name (spring-summer or interiors).
example= 53: spring-summer
I thought this might confuse the viewer as to what number is important, since the category number is not important.
Your code
has the best looking results, except having the image name repeat 3 times is no good. Perhaps there is a way to only have it show 'Summer & Summer' or 'Interiors' ?
What do you think?
Or maybe there is an easier way to have it not show the image name before it the description (line 3 in picture). That would be fine too. Remove it from in front of the description. This line controls that
P.S.
I didn't know if it is useful to you or you already know how, but see how the word "tree" is highlighted in the description? This was really easy to do and you can highlight the search word any color. All you have to do is set a css style for
Code: Select all
.highlight {
background-color:#FFFF99}
Just trying to give back a little for all your help!
thanks,
Cathy