Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #668222

    I have a Featured Image set on a post and the “Don’t display image on single post” box is not ticked as I want the image shown at the top of the post. I am having to use the Default Editor because the ALE does not support the Featured Image function, although I would prefer to use ALE.

    The original image is 700 x 467 px, and that is what I want displayed. However the Featured Image has a lightbox added and is aligned left. It also is not showing the full size image but a cropped one of 700 x 321 px. There is also an image overlay of similar size.

    Example here.

    I want to use the default Featured Image function of ‘display on a post’ that is a core feature of WordPress, and not have all this extra stuff added to it.

    How do I, for all posts but not pages, remove the lightbox, image overlay (I can’t see what this does) and get the proper full size image displayed, centred?

    #669865

    Hey zimbo,

    Try the following:
    1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    2. Go to Settings > Media
    3. Change the entry_with_sidebar image size (increase its width / height).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .big-preview.single-big {
        pointer-events: none;
    }
    

    Best regards,
    Yigit

    #670364

    Thanks, al good.

    I want to centre the Featured Image as well so I’ve used this:

    .big-preview.single-big img {
    	left: 50%;
    	transform:translateX(-50%);}

    Is that the best way or have you a better recommendation?

    #670378

    Hi!

    Please use following code

    .big-preview.single-big img {
        margin: auto;
    }

    Regards,
    Yigit

    #670476

    Many thanks Yigit.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change how the Featured Image is displayed’ is closed to new replies.