Title: Customize text and image elements
Last modified: August 22, 2016

---

# Customize text and image elements

 *  Resolved [Huroman](https://wordpress.org/support/users/huroman/)
 * (@huroman)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/customize-text-and-image-elements/)
 * Hi, your plugin is awesome but I’m wondering if it’s possible to modify, without
   touching the core, the <h4>, <p> and <img> elements.
 * I’d like to put the image aside of the text (header and caption) like a testimonial
   slider:
 *     ```
       IMAGE |    HEADER
                  CAPTION
                  pager
       ```
   
 * I’ve been trying this with not success because <img> affects the CR height.
 * Thank you everyone,
 * Huriata
 * [https://wordpress.org/plugins/cpt-bootstrap-carousel/](https://wordpress.org/plugins/cpt-bootstrap-carousel/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Phil Ewels](https://wordpress.org/support/users/tallphil/)
 * (@tallphil)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/customize-text-and-image-elements/#post-5816840)
 * Hi Huriata,
 * You should be able to do this purely with custom CSS. The `<img>` tag will affect
   the carousel height by default, but you can force a custom carousel height by
   targeting the surrounding `<div>` layers.
 * Let me know if you need any further pointers with this..
 * Phil
 *  Thread Starter [Huroman](https://wordpress.org/support/users/huroman/)
 * (@huroman)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/customize-text-and-image-elements/#post-5816889)
 * Thank you for your lighting answer. I’m working on it right now, I’ll post what
   I’ve achieve (or not), Phil.
 *  Thread Starter [Huroman](https://wordpress.org/support/users/huroman/)
 * (@huroman)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/customize-text-and-image-elements/#post-5816901)
 * So much thank you for your help, finally I did this:
 *     ```
       .slide {
       				.carousel-inner {
       					padding: 3rem 1.5rem;
       						.item {
       							img {
       								height: 90px; height: 9rem;
       								width: 90px; width: 9rem;
       								margin-bottom: 3rem;
       								margin-right: 3rem;
       								display: inline-block;
       								float: left;
       								position: relative;
       								z-index: 1000;
       								@include box-shadow(10px, $dark-gray);
       								@include box-round(50%);
       							}
       							.carousel-caption {
       								position: relative;
       								bottom: 0;
       								right: 0;
       								left: 0;
       								padding-top: 0; padding-bottom: 0;
       									h4, p {
       										background: none;
       										padding: 0;
       										max-width: 100%;
       									}
       							}	// .carousel-caption
       						}	// .item
       				}
       		}	//	.slide
       ```
   
 * With this result hoping it helps to someone :
 * [IMAGE RESULT](http://postimg.org/image/rh2aki0lb/)
 *  Plugin Author [Phil Ewels](https://wordpress.org/support/users/tallphil/)
 * (@tallphil)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/customize-text-and-image-elements/#post-5816914)
 * Brilliant, glad you got it working!
 * For clarity, if anyone else reads this – it looks like the above code is written
   in LESS / SASS or something, _not_ vanilla CSS. So you can’t just copy and paste
   it straight into your `styles.css` file.
 * Phil
 *  Thread Starter [Huroman](https://wordpress.org/support/users/huroman/)
 * (@huroman)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/customize-text-and-image-elements/#post-5816930)
 * Oh, my fault, I made that using SASS (CodeKit app for Mac), is basically the 
   same CSS but using some variables and SASS features.
 * [SASS](http://sass-lang.com/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Customize text and image elements’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cpt-bootstrap-carousel_b8b7ae.svg)
 * [CPT Bootstrap Carousel](https://wordpress.org/plugins/cpt-bootstrap-carousel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cpt-bootstrap-carousel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cpt-bootstrap-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/cpt-bootstrap-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cpt-bootstrap-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cpt-bootstrap-carousel/reviews/)

## Tags

 * [cpt](https://wordpress.org/support/topic-tag/cpt/)

 * 5 replies
 * 2 participants
 * Last reply from: [Huroman](https://wordpress.org/support/users/huroman/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/customize-text-and-image-elements/#post-5816930)
 * Status: resolved