Support » Theme: Typecore » Keep thumbnails original size and paragraphs

  • Me again 🙂 It’s possible not to cut images (thumbnails) on featured posts or in post with images on sidebars through Alx Posts and keep the original size?
    Also, is possible show first paragraph on blog and not excerpt?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Hi,

    To edit how the thumbnails are cropped or not cropped, the following code in functions.php on line 69-77 is relevant:

    
    		// Thumbnail sizes
    		add_image_size( 'typecore-small', 160, 160, true );
    		add_image_size( 'typecore-standard', 320, 320, true );
    		add_image_size( 'typecore-medium', 520, 245, true );
    		add_image_size( 'typecore-large', 720, 340, true );
    		
    		// Thumbnail sizes custom widgets
    		add_image_size( 'alx-small', 160, 160, true );
    		add_image_size( 'alx-medium', 520, 245, true );
    

    Read more how to edit image sizes here:
    https://developer.wordpress.org/reference/functions/add_image_size/

    You can decrease the excerpt length in Theme Options > Blog > Excerpt Length.

    Thanks Alexander. Try with false or crop, but not success, images are still cut. I’ll keep investigating.

    In the case of excerpt lenght I want a justified paragraph, whatever its length.

    Theme Author Alexander Agnarson

    (@alxmedia)

    For the excerpt, check out the “1. How to Add a Custom Excerpt in WordPress (Default)” here: https://www.wpbeginner.com/plugins/how-to-customize-wordpress-excerpts-no-coding-required/

    Will try this Alexander, thanks for the link. I’m still trying to fix the images, at the moment I haven’t been successful with any of the things I’ve tried. I’ll keep you informed.

    Fixing images:
    Try with custom css img {
    max-width: 100%;
    height: auto;
    }
    but not luck. We’ll keep trying, any suggestion is welcome 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Keep thumbnails original size and paragraphs’ is closed to new replies.