Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Show ACF value on Seach result? › Reply To: Show ACF value on Seach result?
December 19, 2018 at 1:16 pm
#20487
Keymaster
Hi!
Thank you, it turns out those are two separate outputs, and luckily the plugin automatically marks each instance from the same shortcode with a number, so custom CSS will work.
To target elements within the ‘small’ search, use the .asp_r_2_1 parent class, like so:
.asp_r_2_1 .your_target_class {
/* code here */
}
This will target the .your_target_class within the small search only.
-
This reply was modified 7 years, 5 months ago by
Ernest Marcinko.