There are a couple of things to check here.
First, make sure that add_theme_support( 'post-thumbnails' )
is loaded before add_image_size( 'small-thumb', 60, 60, true )
You can always hook everything through a function to the after_setup_theme
hook. I always add these in my theme setup function
function wpse_setup_theme() {
add_theme_support( 'post-thumbnails' );
add_image_size( 'small-thumb', 60, 60, true );
}
add_action( 'after_setup_theme', 'wpse_setup_theme' );
Apart from that, everything should work if you call your post thumbnail correctly in the loop.
On your question
Does CSS styling like max-width/ max-height/ width / height or
anything effect WordPress’ thumbnail functions?
No, it doesn’t. CSS only manipulate how a thumbnail is displayed on the front end
Related Posts:
- what the best way to include images from the template’s images folder?
- I’m trying to add an image in my CSS
- Change Default Image HTML
- Alternate header image
- What is the WordPress Pinecone sitting on top of? [closed]
- What is the point of needing add_theme_support( ‘html5’) in WordPress 5.x
- Copying post thumbnail to custom field
- Migrating a website using custom image tags to use featured images instead
- how to stop a gallery slideshow
- Is there any way to modify images from a theme using the web interface?
- How do I change theme demo [duplicate]
- 1px black line appearing down right side of thumbnails (theme snaps) [closed]
- Featured images are cropped on index and post page
- How to change images size after theme modification?
- Boldy theme – Regarding the images above the boxes
- How to insert a column (part of theme) in the middle of the content body?
- Using OOP in themes
- How can I allow the Editor Role to change Theme Settings?
- Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
- Editing Links in the Footer of WordPress Themes with Base64 Encrypted Code?
- How to set two different themes on one WordPress? (Desktop vs. Mobile)
- How can I add a set featured image function to a theme that doesn’t already have it built in?
- Css of both themes of my child theme isn’t showing up!
- FTP Username and password wrong while installing theme
- Copying theme from Localhost to Live does not copy all theme settings with it?
- Making the Header on the Twenty Ten Theme Less Tall?
- How to create child theme with Tesseract theme?
- How do I change the fonts in the Twenty Thirteen theme?
- Register theme customizer settings when theme activates [duplicate]
- Can I obtain differents links for different installed theme?
- hfeed CSS class in Twentyeleven Theme
- Will activating a different theme preserve custom settings to current theme?
- How to change the themes “Live Preview” url within the Appearance->Themes page?
- Question about the way that wp_register_script works
- Specific theme for non logged in users
- How do I apply my CSS to a theme page?
- How do you get thumbnails to show up in the admin edit post?
- How to change the contact info at the bottom of my theme [closed]
- Parallax WordPress theme without hardcoding – possible?
- Embedded Videos (PB) – Not Available
- How does a Child Theme works?
- WordPress not displaying themes in the wp-content/themes folder
- How to create child theme of already active and customized theme
- none of my css is working in my child theme
- Finding wordpress file in theme editor using the theme name
- Can I make a super plugin that also has a theme?
- Private theme update with zip archive without deactivating the theme
- Displaying a widget in sidebar only when no other widgets rendered?
- Published site reverts without changes to theme
- Search form not finding content in template page
- Files empty after moving with FTP
- Full page (no WP admin menus and options) admin theme options
- How to use one theme for multiple WordPress sites?
- Make multiple pages and set template/content on theme activation?
- I have no images in an activated wp theme
- Need to edit themes HTML code
- Change image size depending on page
- Any Good WordPress Themes Compatible With The BBPress Plugin? [closed]
- Template messed up on viewing posts
- Newbie wordpress question re banner height
- Adding the jQuery to my theme that already exists in WordPress?
- Interpretation and explanation of register sidebar
- Removing the references to the wp-content folder
- Show hyperlinks only when user is loggedin
- What data does WordPress theme update pull If there is an update?
- Cannot update a file for my theme
- Is there a way to serve different resolution images to different devices?
- remove theme’s name from dashboard .. How?
- WordPress 2022 template, how to see the blocks added in post template on post edit?
- I cannot get an Advanced Custom Field code snippet to work – and ACF support say it should work
- WordPress does not load most theme images
- Theme seems to be preventing me from adding a new page to my site
- WordPress margin issues
- 12 column grid layout
- Remove style id inline CSS in WordPress
- How to find file that placed a line in my header
- WordPress and Advanced Custom Fields and Flickity
- Where to find child themes?
- how to create a section inside a section with theme options customizer
- Warning: call_user_func() expects parameter 1 to be a valid callback
- Changing admin Textarea to integrated WP editor
- Line break no working on theme
- What is the template file for topic layouts in bbPress?
- Style of a theme
- Orion theme (from theme forest) [closed]
- QA/Staging envirnoment for wordpress sites
- Diagnosing a connection reset problem
- Create /archive page in WordPress Theme
- Customising a theme
- Blog shows up without Theme/CSS styles
- Symbolic Links for themes – linking one theme to many wordpress installs
- Fatal error: Call to undefined function get_header() and BuddyPress [closed]
- hardened wordpress linux install
- which theme is this? [closed]
- JQuery Error in theme for .live is not a function [closed]
- How can I either move the nav bar down or create more space for the header? Theme – Ajaira
- To create a theme or use an existing one? [closed]
- Help with Divi logo not appearing for 10s
- WordPress Theme: replace logo image with title site if file doesn´t exist on server
- How to clone a theme template from within WordPress? [closed]