Hello Sirs,
How are you?
I am trying to not display some image elements in search results page, but to not disappear from single product page.
My CSS code is:
#top .template-search.content .entry-content-wrapper img.size-full.wp-image-913.alignnone, img.wp-image-744.size-full.alignright, img.size-full.wp-image-740.alignnone, img.alignnone.size-full.wp-image-695, img.alignnone.size-full.wp-image-915 {
display:none;
}
and works fine, but that element “alignnone.size-full.wp-image-915” is disappearing from single product page too.
search results page: https://prnt.sc/foqw68
single product page: https://prnt.sc/foqwq1
Url: http://zoomit.gr/wordpress_2/store/lg-43lh500t-tv-43-led-full-hd-200-hz/
Thank You in advance.
Best regards,
Nick
Hey nickgin,
Am I correct in understanding that you want to hide ALL these images in the SEARCH PAGE ONLY? If so, please use this code instead:
#top .template-search.content .entry-content-wrapper img.size-full.wp-image-913.alignnone,
#top .template-search.content .entry-content-wrapper img.wp-image-744.size-full.alignright,
#top .template-search.content .entry-content-wrapper img.size-full.wp-image-740.alignnone,
#top .template-search.content .entry-content-wrapper img.alignnone.size-full.wp-image-695,
#top .template-search.content .entry-content-wrapper img.alignnone.size-full.wp-image-915 {
display:none;
}
Please let us know if you need further help.
Best regards,
Sarah
Hi Sarah,
You are absolutely right!
Your code worked!
Thank you so much!!
Best regards,
Nick
Hi Nick,
Glad that Sarah helped you. Thanks for using Enfold :)
Best regards,
Nikko