Tagged: enfold, featured image, gallery
Hi,
I need an help, in this ticket https://kriesi.at/support/topic/post-with-gallery-and-featured-image/ you helped me to solve the problem.
Now I’m trying to do the same thing in another enfold installation and the code you provided to me doesn’t work.
Why?
Hi thewhiteone!
Can you please elaborate on the changes you would like to make? Previous website and this one has different blog layouts :)
Best regards,
Yigit
Hi Yigit,
I’m sorry for the missing informations.
The request is:
If in a post are present feat image and photogallery, is it possible to HIDE in THE ARCHIVE PAGE the photogallery and show ONLY the feat image?
More details in the private content box.
Thanks
Rosa
Hey!
http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Turn on the custom css class field then edit the blog post element. Add a custom css class attribute, use “no-gallery” for example then add this in the Quick CSS field:
.no-gallery .avia-gallery {
display: none;
}
Cheers!
Ismael
Hi Ismael,
i don’t like so much this kind of solution.
I prefer to put a .css class in the enfold theme options/general styling/quick css, so the customer doesn’t need to put code by himself.
Is it possible?
Thanks,
Rosa
Hi!
You only have to do this once so I don’t think this is an issue. Put the custom css class attribute in the actual element, in this case the blog posts. And then add the css declaration above in the Quick CSS field. I don’t think that’s complicated at all.
Please contact codeable for further modifications: http://kriesi.at/contact/customization
Cheers!
Ismael