The image is probably not display:block (they are inline by default), and so using margin: 0 auto won’t do anything.
Try either adding text-align:center to your .col-centered, or setting your image tag to display:block (with margin: 0 auto).
Best I can do without seeing more of the surrounding styles.
Related Posts:
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- Customize Bootstrap checkboxes
- Does bootstrap have builtin padding and margin classes?
- How to set up fixed width for
? - How to change btn color in Bootstrap
- How to set up fixed width for
? - css to make bootstrap navbar transparent
- Bootstrap 4, How do I center-align a button?
- Responsive Bootstrap Jumbotron Background Image
- Changing the width of Bootstrap popover
- How to center vertically and horizontally a div using Bootstrap?
- Flushing footer to bottom of the page, twitter bootstrap
- bootstrap 4 row height
- Bootstrap change carousel height
- Twitter Bootstrap – add top space between rows
- How can I make Bootstrap columns all the same height?
- Set bootstrap modal body height by percentage
- Bootstrap align navbar items to the right
- Why is my Bootstrap code not working?
- img-responsive in Bootstrap does not work
- In a bootstrap responsive page how to center a div
- Responsive Canvas in Bootstrap column?
- WordPress Admin Bar Overlapping Twitter Bootstrap Navigation [closed]
- Load custom css after bootstrap
- Redoing home page but changes not taking effect
- Layout using Bootstrap not aligning correctly
- Bootstrap in theme
- create bootstrap columns inside editor group block
- Google yolo one tab signup plugin avilable in wordpress? [closed]
- CSS – Initial HTML Margin Issue On WordPress Site
- How to remove the gap on right side of webpage (using Bootstrap with WordPress)?
- All of my custom Bootstrap styles are not working in my child theme!
- How to integrate Bootstrap Grid System in WordPress
- Change class names dynamically added to html elements by wordpress
- Modal dialog under the backdrop
- Bootstrap News: Image Modifciation
- Bootstrap 4 Optimization
- Parent style messing up with Bootstrap [closed]
- Bootstrap navbar-fixed-top issues [closed]
- How to make this splash page responsive
- Custom theme – Bootstrap CSS not loading via wp_enqueue_style or otherwise
- How can I vertically center a “div” element for all browsers using CSS?
- How do I hide the bullets on my list for the sidebar?
- CSS display: inline vs inline-block
- How to center HTML5 Videos?
- Text border using css (border around text)
- vertical divider between two columns in bootstrap
- U8Qtu
- Using margin / padding to space span tag from the rest of the p tag
- Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?
- Style something only on the home page
- Why isn’t my theme processing SASS?
- Trying to load a responsive CSS media query using Custom Taxonmy
- Changing CSS in Twenty Eleven to change font size of body text
- What is better way to use Bootstrap inside admin panel?
- Deregister CSS style link ‘open-sans-css’
- I want to change my post titles from h2 to H1
- Change logo on specific page id using css
- Write text below a specific part of a sentence
- Style classic editor buttons
- Layer post title on top of image WordPress featured thumbnail image
- Twig + wordpress – how to get filemtime for style.css
- Font embedding in wordpress
- How to Add Custom CSS to the Media Thickbox?
- Link theme options page using ACF to styles
- WordPress Light/Dark Theme best practices? Is there a way that really works?
- WordPress Multiple Navigation bars
- Background image reversed on pages after home page [closed]
- Grid post page on WordPress with Bootstrap, the_excerpt(); Problem
- How to get an unique identifier for a page/post/category/tag etc.?
- Remove CSS Attribute by Overriding CSS in Child Theme
- CSS gap issue in div element
- WordPress custom CSS file overrided by internal CSS [closed]
- Can you change the color of svg icons to the global color I choose from WordPress
- Theme twentythirteen widget area clearfix
- Disable CSS for IE 8 and earlier.
- Using categories on navigation bar instead of pages
- I have a wordpress website which uses a really weird font on Opera. What do I need to do to fix it?
- Elementor – Edit Global Colors Order
- the_post layout
- Clickable Text To Replace Radio buttons
- How to remove the specific class
- Customizer Appearance Issue
- Change mobile menu color from red to another color
- Change the version of default style.css in wordpress
- How to set different color in a select box due to selection with css
- Fonts are parsed in one way but rendered in a different way
- Sticky Button not working WP. But does it JS Fiddle
- Custom Thumbnails [closed]
- How to enqueue google fonts if we use directly in style.css
- Trouble with adding preloader to my home page index.html and index.js
- How to change in css with a custom theme?
- How can a left and right margin be added to the admin bar without access to “…wp-includes/admin-bar.php”?
- Inserting a DIV Block Into a Listing of Excerpts?
- WordPress Custom Superfish CSS Problem [closed]
- Is it possible to make invisible a div only on certain pages using CSS?
- What CSS selectors to know for WordPress? [closed]
- WordPress site suddenly not showing some DOM elements but mobile is fine
- Editing size of h3 tag in wordpress on a one-off basis
- Content doesn’t fit on large size desktops like 2560×1440