-
AuthorPosts
-
October 9, 2022 at 4:38 pm #1368125
Hi,
is there a css snippet which removes images from pages ?For posts I found this here in the forum:
.single .big-preview.single-big {
display: none;
}But this works nor for pages.
I have tons of pages, so a css code would be easier as manually delete the ‘attached’ images from every page.Cheers
RalfOctober 9, 2022 at 5:22 pm #1368138Hey ralfakerkhoff,
For pages you would use the class “.page” like this:.page .big-preview.single-big { display: none; }After applying the css, please clear your browser cache and check.
Best regards,
MikeOctober 9, 2022 at 6:10 pm #1368142Hi Mike,
unfortunately this does not work. Images in pages are still displayed.Example:
Ralf
October 9, 2022 at 7:00 pm #1368154Found it – this one works:
.page .page-thumb{
display: none!important;
}Cheers
RalfOctober 9, 2022 at 7:07 pm #1368156Hi,
I don’t see any images on that page, please see the screenshot in the Private Content area.
Please note that not all images use the class .big-preview.single-big from your example, I was trying to show that the post class .single should be changed to .page for pages.
If you link to a page with images you want removed I can help with some css.Best regards,
MikeOctober 9, 2022 at 7:20 pm #1368157Hi Mike,
yes, the images are not displayed anymore.
I have added the following css to “quick css”:
.page .page-thumb{
display: none!important;
}If you have a better suggestion i am curious to know.
BR
Ralf-
This reply was modified 3 years, 1 month ago by
ralfakerkhoff.
October 9, 2022 at 7:27 pm #1368159Hi,
That looks correct to me, do have any pages where it is not working?Best regards,
MikeOctober 9, 2022 at 7:31 pm #1368161Nope – looks that it works as it should.
October 9, 2022 at 8:05 pm #1368163October 10, 2022 at 4:48 pm #1368304Yes, you can close the post.
October 10, 2022 at 6:37 pm #1368320Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
This reply was modified 3 years, 1 month ago by
-
AuthorPosts
- The topic ‘Remove image from pages’ is closed to new replies.
