title: bootstrap carousel slider custom arrows
body: <p>Okay</p>
  
  <p>I'm using bootstraps carousel slider, but with custom images instead of the glyphicons supplied with it.</p>
  
  <p>The problem with it however is that they are positioned towards the edges of the slider. Top left for the left arrow and top right for the right image.</p>
  
  <p>I have tried changing the position, which works, but doesn't stay in their position when the window gets re sized. 
  And i don't know where to target the code so that the code ignores that shadow that appears when hovering over the arrow.</p>
  
  <p>This is the html.</p>
  
  <pre><code>&lt;div class="container-fluid banner_fluid"&gt;
      &lt;div class="carousel slide" data-ride="carousel" id="carousel_slider"&gt;
          &lt;div class="carousel-inner"&gt;
              &lt;div class="item active"&gt;
                  &lt;img src="images/home_banner_1.jpg" alt="home slide 1" /&gt;
              &lt;/div&gt;
              &lt;div class="item"&gt;
                  &lt;img src="images/home_banner_2.jpg" alt="home slide 1" /&gt;
              &lt;/div&gt;
              &lt;div class="item"&gt;
                  &lt;img src="images/home_banner_3.jpg" alt="home slide 1" /&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div href="#carousel_slider" class="left carousel-control" data-slide="prev"&gt;
              &lt;span&gt;
                  &lt;img src="images/chevron_left.jpg" /&gt;
              &lt;/span&gt;
          &lt;/div&gt;
          &lt;div href="#carousel_slider" class="right carousel-control" data-slide="next"&gt;
              &lt;span&gt;
                  &lt;img src="images/chevron_right.jpg" /&gt;
              &lt;/span&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I was using the Developer tools for a quick look and tester for different options. Position absolute does not work. Is there any other way to make it, so they appear in the same position as the original glyphicons and respond too?</p>
  
  <p>Image with the suggested fix on it...<img src="https://i.stack.imgur.com/4bOc3.jpg" alt="The right seems to be only problem though."></p>
  
  <p>The changes made in the code so far is the addition of css and img-responsive in the class of the carousel controls themselves.</p>
  
  <p>------------- banner ----------------*/</p>
  
  <pre><code> .banner_fluid {
     padding-left:0;
     padding-right:0;
  }
  
  .carousel-control {
      position: absolute;
      top: 50%; /* pushes the icon in the middle of the height */
       z-index: 5;
      display: inline-block;
  </code></pre>
  
  <p>}</p>
  
  <p>The other code i have tried all gave the effect fine but only in desktop view. </p>