Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
Aengus Barton
0 points
Beginner
Hi,
I am using a custom layout for search results page via Theme Setup->Page Setup->Search Page->Custom Display. I want to apply a different CSS class depending on the value stored in a particular custom field. It looks like I can’t use PHP within the custom display entry area (which would let me do a conditional check on the value and echo appropriate class name), so I’m wondering what other option there might be. I’ve set up a child theme, is there a way to override the built in search results template file?
Hi,
I am using a custom layout for search results page via Theme Setup->Page Setup->Search Page->Custom Display. I want to apply a different CSS class depending on the value stored in a particular custom field. It looks like I can’t use PHP within the custom display entry area (which would let me do a conditional check on the value and echo appropriate class name), so I’m wondering what other option there might be. I’ve set up a child theme, is there a way to override the built in search results template file?
thanks,
A
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now