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

    Hello there,
    I like all my post featured images to be squares and all the files for these are squares.
    However on a recent post for a work – dust and metal here: https://blanchepictures.com/ you’ll see the image on the homepage comes up as a rectangle and not a square. How am I able to fix this please?
    best wishes,
    Esther

    #1355499

    Hi Esther,

    It seems like Dust & Metal is actually the correct size for it (260px width and 185px height) however since you want it to look as a square instead of rectangle, first you’ll need to use a child theme,
    You can download and find instructions on how to use it here: https://kriesi.at/documentation/enfold/child-theme/
    Once you used a child theme, add this code at the bottom of the child theme’s functions.php file:

    function enfold_customization_modify_thumb_size( $size ) {
      $size['portfolio_small'] = array('width'=>260, 'height'=>260);
      return $size;
    }
    
    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );

    then re-upload the featured image for Dust & Metal.
    Hope this helps.

    Best regards,
    Nikko

    #1355637

    Thanks Nikko.

    All my posts have used the same theme and the featured image has come out as a square so it’s strange it hasn’t worked the same for this particular post.
    Any ideas why all my other posts come out as a square but not this one?

    best wishes,
    Esther

    #1355638

    Hello again Nikko,

    I just tried the child theme and unfortunately it completely altered all my site so have changed back to the other Enfold theme but all my CSS changes have now been deleted. How am I able to retrieve these please?
    E

    #1355804

    Hi Esther,

    Switching back to the parent theme should set the settings back including CSS.
    Have you followed Step 4: Import parent theme options in the link I gave? you should be able to find it here: https://kriesi.at/documentation/enfold/child-theme/#toggle-id-4
    The things you mentioned that are lost, is it Quick CSS? or some settings?
    Can you give us temporary admin access on your site? so we can take a further look.
    Just post the credentials privately.

    Best regards,
    Nikko

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.