You’ve got two options
- If you want the image to take up entire carousel then
img { width: 100%; height: auto; }
- If you dont want the image to stretch 100 %, then set your desired width(or dont, just specify margin) and margin auto:
img { width: 50%; margin: auto; }
Related Posts:
- How to make Bootstrap carousel slider use mobile left/right swipe
- bootstrap 3 navbar collapse button not working
- Bootstrap throws Uncaught Error: Bootstrap’s JavaScript requires jQuery
- Can Twitter Bootstrap alerts fade in as well as out?
- Twitter Bootstrap Use Collapse in Custom Post Type
- jQuery Validation plugin and Bootstrap 4 CSS classes
- WP Media Uploader modal conflicts with Bootstrap modal
- change the icon of a custom post type in WordPress to use twitter boostrap
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- Bootstrap Dropdown menu is not working
- What is sr-only in Bootstrap 3?
- Bootstrap – Uncaught TypeError: Cannot read property ‘fn’ of undefined
- How to change btn color in Bootstrap
- Adding images to a Bootstrap Carousel with AJAX
- JavaScript Loading Screen while page loads
- Bootstrap Dropdown menu is not working
- Bootstrap Dropdown menu is not working
- Understanding how data-dismiss attribute works in Bootstrap
- Click button copy to clipboard
- How to make html table vertically scrollable
- Changing the width of Bootstrap popover
- Changing the width of Bootstrap popover
- TypeError: $(…).modal is not a function with bootstrap Modal
- Bootstrap carousel not sliding
- Play/pause HTML 5 video using JQuery
- How to change the background-color of jumbrotron?
- jQueryUI dialog width
- vertical-align with Bootstrap 3
- Bootstrap popover is not working
- Bootstrap change carousel height
- Bootstrap collapse isn’t working; hamburger menu not showing up
- Bootstrap 3 Glyphicons CDN
- Random background images CSS3
- img-responsive in Bootstrap does not work
- Creating Accordion Table with Bootstrap
- How do I remove a box-shadow effect from an element when another element is hovered?
- How to make Bootstrap Panel body with fixed height
- Slide right to left?
- Twitter Bootstrap Modal Form Submit
- Automatically decrease font size for long words
- Best approach for loading a sidebar Only if the screen max-width is >900px?
- Stylizing external SVG files with jQuery and CSS
- How to properly add Bootstrap and JQuery Javascripts?
- Gravity list field override and adding javascript [closed]
- How to use Bootstrap with WP’s jQuery? [closed]
- Add a class to posts in increments of 2
- Override theme style with other CSS on a specific page
- How can I make this custom menu work?
- Remove WordPress scripts
- Will the latest Bootstrap work properly with the default WordPress jQuery?
- How to make an WordPress element sticky? [closed]
- Accordion scrolls page too low after clicking on the title [closed]
- How to Dynamically Load Content Into Body of Bootstrap Modal Window?
- Using bootstrap-slider and bootstrap-switch in wordpress admin panel
- WordPress Multiple Navigation bars
- show/hide div with simple jQuery script [closed]
- Using Bootstrap Switch with WordPress
- Google yolo one tab signup plugin avilable in wordpress? [closed]
- What is the propre way to include jQuery UI Datepicker’s CSS in plugin?
- Superfish Menu Not Loading
- Problem Implementing parallax in header of bp-default theme
- Bootstrap modal with jQuery post [closed]
- Recommended Use of Bootstrap, or JQuery-UI in WP/plugin development?
- Is it OK combined wp-include js, jquery, css? [closed]
- jQuery Drill Down iPod Menu FOUC and Selecting Current page
- Bootstrap and jQuery error: $ is not defined
- WordPress and Modal Popup – how to make the already loaded javascript assets available in modal?
- How can I get this menu container to be the height of the contents?
- Getting click on item to open closest relevant element (popup) with jQuery
- How Do I change Markup of a link in WordPress
- How can publish my bootstrap created table ( huge amount of data) on my word-press theme?
- jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser
- Lightbox scroll page down on iPhone
- jQuery function not working in WordPress but works in jsfiddle
- Site images are fixed in front of my site content [closed]
- Bootstrap with separate js File
- All post attachments in gallery grid to full screen slideshow?
- :first-child applying to all links [closed]
- How to update scrollbar when using Jetpack’s Inifnite Scroller?
- Hide input field when second input field is in focus
- Drop Down Category Menu Not Working
- controlling the showing and hiding of the website logo
- How do I add Javascript and CSS files into WordPress?
- can’t make jQuery work (change image on time interval) [closed]
- how to use substr() function in jquery?
- How to read data From *.CSV file using javascript?
- How can I make Bootstrap columns all the same height?
- Responsive Canvas in Bootstrap column?
- Including javascript for a shortcode
- gravity forms jQuery.load into modal [closed]
- Change CSS for logged in users
- CSS – Initial HTML Margin Issue On WordPress Site
- How register library to use jquery correct
- specifying relative file paths in WP with jQuery requests not working
- Delete post image attachments with jQuery from the front end
- Get selected image URL from wp.media.editor.attachment into text input fails. What am I doing wrong?
- How to send json data to jquery
- Custom jQuery plugin not working
- jQuery to work on WP custom page template
- Dynamically populate Cascading Dropdown from MySQL using JQuery/AJAX [closed]