Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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
    Ralf

    #1368138

    Hey 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,
    Mike

    #1368142

    Hi Mike,
    unfortunately this does not work. Images in pages are still displayed.

    Example:

    Ralf

    #1368154

    Found it – this one works:
    .page .page-thumb{
    display: none!important;
    }

    Cheers
    Ralf

    #1368156

    Hi,
    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,
    Mike

    #1368157

    Hi 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 1 year, 11 months ago by ralfakerkhoff.
    #1368159

    Hi,
    That looks correct to me, do have any pages where it is not working?

    Best regards,
    Mike

    #1368161

    Nope – looks that it works as it should.

    #1368163

    Hi,
    Glad to hear, shall we close this then?

    Best regards,
    Mike

    #1368304

    Yes, you can close the post.

    #1368320

    Hi,

    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

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Remove image from pages’ is closed to new replies.