Bootstrap Pills unclickable on small screens - html

I can't seem to get my pills to work on a small screen. They can tab content fine on a normal screen, but once I make the screen small, the pills are unclickable.
I don't know what the problem is.
Also if I have only the pills, then it tabs but once it's in the container, then it doesn't tab.
<div class="container-fluid">
<div class="row" style="margin-top: 1em; border: 2px dashed lightgreen">
<div class="col-md-8">
<div class="row">
<div class="col-md-3" style="text-align: center; border: 2px dotted purple"><img src="/images/video-thumbnails/ice.jpg" class="songThumbnail">
</div>
<div class="col-md-5" style="border: 2px dotted purple">
TEXT TEXT TEXT</div>
<div class="col-md-4 col-xs-12">
TEXT TEXT TEXT
</div>
</div>
<div class="row">
<div class="col-md-12" style="margin: 1em;">
<img src="/images/icons/piapro.png" class="favicon"> ice - オケ <span class="whisper">(karaoke)</span>
</div></div>
</div><div class="col-md-4" style="border: 1px solid red; float: right;">
<ul class="nav nav-pills">
<li class="active"><a data-toggle="pill" href="#niconico">Niconico</a></li>
<li><a data-toggle="pill" href="#youtube">YouTube</a></li>
<li><a data-toggle="pill" href="#soundcloud">SoundCloud</a></li>
</ul>
<div class="tab-content" style="text-align:center;">
<div id="niconico" class="tab-pane fade in active">
<p><div class="embed-responsive embed-responsive-16by9" ><script type="text/javascript" src="http://ext.nicovideo.jp/thumb_watch/sm28116292"></script><noscript>【ニコニコ動画】【Faeri】ice【歌ってみた】</noscript>
</div></p>
</div>
<div id="youtube" class="tab-pane fade">
<br>
<strong>日本語 | Japanese</strong><br>
<br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="http://www.youtube.com/embed/JOd9cunyWAg"></iframe>
</div>
<br>
<strong>英語 | English</strong><br>
<br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="http://www.youtube.com/embed/mCkHvttcSoE"></iframe>
</div>
</div>
<div id="soundcloud" class="tab-pane fade">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" width="100%" height="600" scrolling="yes" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/244661025&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true"></iframe>
</div>
</div>
</div>
<br>
<p>TEXT TEXT TEXT</p>
</div></div>

After re-implementing the page again and fiddling around with the columns/rows, I realized that it was a case of z-index. Oops. It wasn't obvious until I changed the bg color of the divs.
The final code I ended up with for the media sidebar was this:
<div class="col-md-4 col-lg-4 pull-right" style="background-color: #99CCFF; border: 3px dotted red; display: block; z-index: 1; margin-top: 1em;">
<!-- All that jazz and other stuff -->
</div>
And it seems to work like I wanted to. Hopefully it won't hiccup on me in the future. #NathanielFlick, apologies for not being more helpful in providing the code, but I really appreciate you taking the time to respond back to me. Thanks!

Related

Bootstrap Nested Columns Utilizing Push/Pull

I'm coding a page that uses nested bootstrap columns. I am using push/pull to have the columns switch places on mobile, and it's working great. However, on desktop I've got some odd spacing issues. The nested columns are offset to the right of the parent column.
I've set up a fiddle that shows this behavior. In this example, col-md-9 is the parent div. I've given it a gold background to show the behavior. When you resize the output, the nested divs flow into place as expected. Any insight to this issue would be greatly appreciated.
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="col-md-9" style="background: gold;">
<div class="row">
<!-- Large Video -->
<div class="col-xs-12 col-md-8 col-md-push-8" id="lgXbtvA">
<script src="http://cdnapi.kaltura.com/p/1982211/sp/198221100/embedIframeJs/uiconf_id/40685101/partner_id/1982211"></script>
<!-- Outer div defines maximum space the player can take -->
<div style="width: 100%;display: inline-block;position: relative;">
<!-- inner pusher div defines aspect ratio: in this case 16:9 ~ 56.25% -->
<div id="dummy" class="vignette" style="margin-top: 56.25%;"></div>
<!-- the player embed target, set to take up available absolute space -->
<div id="kaltura_player_1507831819" style="position:absolute;top:0;left:0;left: 0;right: 0;bottom:0;border:solid thin black;">
</div>
</div>
<h1>Large Headline</h1>
<div class="g citation">October 4, 2017 </div>
<p>Text text text text text</p>
</div>
<!--Videos Small -->
<div class="col-xs-12 col-md-4 col-md-pull-4 e" style="background: red; padding: 0;">
<a href="#" class="c">
<div class="artblock">
<img src="images/650.jpg" alt="" />
<div class="g">September 29, 2017</div>
<div>Saturday Stakes Preview Show</div>
</div>
</a>
<a href="#" class="c">
<div class="artblock">
<img src="images/xpress.jpg" alt="" />
<div class="g">September 28, 2017</div>
<div>Breeders' Cup Xpress</div>
</div>
</a>
</div>
</div>
</div>
Edit: The columns appear in the proper order on the desktop view, they are just offset for reasons I can't explain.
When you used pull and push class in bootstrap used alternate column for that So that you need to used:
col-xs-8 col-md-8 col-md-push-4 instead of col-xs-12 col-md-8 col-md-push-8
and
col-xs-4 col-md-4 col-md-pull-8 instead of col-xs-12 col-md-4 col-md-pull-4
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="col-md-9" style="background: gold;">
<div class="row">
<!-- Large Video -->
<div class="col-xs-8 col-md-8 col-md-push-4" id="lgXbtvA">
<script src="http://"></script>
<!-- Outer div defines maximum space the player can take -->
<div style="width: 100%;display: inline-block;position: relative;">
<!-- inner pusher div defines aspect ratio: in this case 16:9 ~ 56.25% -->
<div id="dummy" class="vignette" style="margin-top: 56.25%;"></div>
<!-- the player embed target, set to take up available absolute space -->
<div id="player" style="position:absolute;top:0;left:0;left: 0;right: 0;bottom:0;border:solid thin black;">
</div>
</div>
<h1>Large Headline</h1>
<div class="g citation">October 4, 2017 </div>
<p>Text text text text text text </p>
</div>
<!--Videos Small -->
<div class="col-xs-4 col-md-4 col-md-pull-8" style="background: red; padding: 0;">
<a href="#" class="c">
<div class="artblock">
<img src="images/650.jpg" alt="">
<div class="g">September 29, 2017</div>
<div>Saturday Stakes Preview Show</div>
</div>
</a>
<a href="#" class="c">
<div class="artblock">
<img src="images/xpress.jpg" alt="">
<div class="g">September 28, 2017</div>
<div>Breeders' Cup Xpress</div>
</div>
</a>
</div>
</div>
</div>
Update Demo Link
Your large video should be
class="col-xs-12 col-md-8 col-md-push-4"
and your small video should be
class="col-xs-12 col-md-4 col-md-pull-8"
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet"/>
<div class="col-md-9" style="background: gold;">
<div class="row">
<!-- Large Video -->
<div class="col-xs-12 col-md-8 col-md-push-4" id="lgXbtvA">
<script src="http://"></script>
<!-- Outer div defines maximum space the player can take -->
<div style="width: 100%;display: inline-block;position: relative;">
<!-- inner pusher div defines aspect ratio: in this case 16:9 ~ 56.25% -->
<div id="dummy" class="vignette" style="margin-top: 56.25%;"></div>
<!-- the player embed target, set to take up available absolute space -->
<div id="player" style="position:absolute;top:0;left:0;left: 0;right: 0;bottom:0;border:solid thin black;">
</div>
</div>
<h1>Large Headline</h1>
<div class="g citation">October 4, 2017 </div>
<p>Text text text text text text </p>
</div>
<!--Videos Small -->
<div class="col-xs-12 col-md-4 col-md-pull-8" style="background: red; padding: 0;">
<a href="#" class="c">
<div class="artblock">
<img src="images/650.jpg" alt="">
<div class="g">September 29, 2017</div>
<div>Saturday Stakes Preview Show</div>
</div>
</a>
<a href="#" class="c">
<div class="artblock">
<img src="images/xpress.jpg" alt="">
<div class="g">September 28, 2017</div>
<div>Breeders' Cup Xpress</div>
</div>
</a>
</div>
</div>
</div>

setting content in medium size device - bootstrap

i'm creating a grid of two rows, first one would be the sidebar and the other one (with other two rows in his inside) is the main content:
<div class="container-fluid">
<div class="row">
<div class="col-md-2 col-align-self-center sidebar" style="border-right: 5px solid #b3daff ">
<ul>
<li><button style="border:1px solid #9dbbe4;" class="change-button" id="change-order" onclick="change()" type="button">Start Moving</button></li>
<li><button style="border:1px solid #9dbbe4;" class="change-button" onclick="stop()" type="button">Stop Moving</button></li>
<li><button style="border:1px solid #9dbbe4;" class="change-button" onclick="hide()" type="button">Hide Elements</button></li>
<li><button style="border:1px solid #9dbbe4;" class="change-button" onclick="hide()" type="button">Hide Elements</button></li>
<li><button style="border:1px solid #9dbbe4;" class="change-button" onclick="restore()" type="button">Restore Elements</button></li>
<li><button style="border:1px solid #9dbbe4;" class="change-button" onclick="zoom()" type="button">Zoom In</button></li>
<li><button style="border:1px solid #9dbbe4;" class="change-button" onclick="resize()" type="button">Zoom Out</button></li>
</ul>
</div>
<div class="col-md-10 main-content">
<div class="row"> <!--first row -->
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="box" style="order:1">
<img class="meeseks" src="img/meeseks_purple.jpg" />
<div class="button-box">
<button style="background-color:#BA69B6;border:4px solid #BA69B6" class="button" type="button">Pick Up My Color!</button>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="box" style="order:2">
<img class="meeseks" src="img/meeseks_purple.jpg" />
<div class="button-box">
<button style="background-color:#BA69B6;border:4px solid #BA69B6" class="button" type="button">Pick Up My Color!</button>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="box" style="order:3">
<img class="meeseks" src="img/meeseks_purple.jpg" />
<div class="button-box">
<button style="background-color:#BA69B6;border:4px solid #BA69B6" class="button" type="button">Pick Up My Color!</button>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="box" style="order:4">
<img class="meeseks" src="img/meeseks_purple.jpg" />
<div class="button-box">
<button style="background-color:#BA69B6;border:4px solid #BA69B6" class="button" type="button">Pick Up My Color!</button>
</div>
</div>
</div>
</div>
<div class="row"> <!--second row -->
<div class="col-md-3">col</div>
<div class="col-md-3">col</div>
<div class="col-md-3">col</div>
<div class="col-md-3">col</div>
</div>
</div>
</div>
</div>
working well on xs device and sm device. But in some resolution for md device (like 1024x768 ) the images dont have the correct spacing and overflow their wrapper. How can i solve?
Thanks in advance
ok, i had forgotten the overflow property, now when i resize the page the images dont overflow they div box. The effect is not so nice, but is much better.

Issue with uib-tab alignment

I have implemented tabs using uib-tabset. There is issue with alignment of tab.
As you can see in below image, my 'Current' tab is shifted to left and it is moving out of card leaving uncomfortable space between 'Current' and 'Upcoming'.
I want both tabs to aligned perfectly with card.
Is there any way?
I have tried changing CSS in a lot of ways (.nav-tabs especially) but no luck.
HTML:
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="card" style="margin-left:3%;margin-right:3%" ng-controller="AppointmentsCtrl">
<uib-tabset active="active">
<div class="row">
<div class="col-xs-6 nav nav-tabs">
<uib-tab index="0" heading="Current"> <!-- -->
<ul class="list-group">
<li class="list-group-item">
<!-- <div id="accordion" role="tablist" aria-multiselectable="true"> -->
<div class="panel panel-default" style="border-color: white;">
<div class="panel-heading" role="tab" id="headingOne"
style="background-color: #686868; margin-top: 5%;">
<div class="row">
<div class="col-xs-2">
<div class="myimage">
<img id="image" src="img/Calender.png"
style="width: 30px; height: 30px;"></img>
<p id="text">26</p>
</div>
</div>
<div class="col-xs-8">
<p class="panel-title" data-toggle="collapse"
data-parent="#accordion"
ng-click="isCollapsed = !isCollapsed" aria-expanded="true"
aria-controls="collapseOne"
style="color: white; font-size: 15px">
Monday, 26 Sep 2016<br> 02:00 PM
</p>
</div>
<div class="col-xs-2">
<a data-toggle="collapse" data-parent="#accordion"
ng-click="isCollapsed = !isCollapsed" aria-expanded="true"
aria-controls="collapseOne"><img id="arrow"
src="img/Down_Arrow.png" style="width: 30px; height: 30px;"></img></a>
</div>
</div>
</div>
<div id="collapseOne" uib-collapse="isCollapsed"
class="panel-collapse collapse" role="tabpanel"
aria-labelledby="headingOne"
style="background-color: #d5d5d5;">
<div class="row">
<div class="col-xs-6 col-sm-offset-1">
<h5 style="color: #696969; margin-top: 5%;">Visitor
Name</h5>
<h5 style="color: #000; font-weight: bold;">Subodh
Bagade</h5>
<h5 style="color: #696969;">Purpose</h5>
<h5 style="color: #000; font-weight: bold;">Sales
Meeting</h5>
</div>
<div class="col-xs-6">
<img src="img/Gray_User.png"
style="margin-top: 10%; width: 110px; height: 100px;"></img>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-4">
<!-- <a ng-href="#/viewdetails/appointmentId={{appointment.appointmentId}}"> -->
<a ng-href="#/viewdetails/appointmentId=1"> <img
src="img/more.png" style="width: 30px; height: 30px;"></img>
</a>
</div>
<div class="col-xs-4">
<!-- <a ng-href="#/edit/appointmentId={{appointment.appointmentId}}"> -->
<a ng-href="#/edit/appointmentId=1"> <img
src="img/Edit_White.png" style="width: 30px; height: 30px;"></img>
</a>
</div>
<div class="col-xs-4">
<a ng-href="#" onClick="confirm('Are you sure?')"> <img
src="img/Delete.png" style="width: 30px; height: 30px;"></img>
</a>
</div>
</div>
</div>
</div>
<!-- </div> -->
</li>
</ul>
<!-- --> </uib-tab>
</div>
<div class="col-xs-6 nav nav-tabs">
<uib-tab index="1" heading="Upcoming">
<p>Some text here.</p>
</uib-tab>
</div>
</div>
</uib-tabset>
</div>
</div>
</div>
</div>
A part of my CSS:
.nav-tabs {
border-bottom: 1px solid #ddd;
}
.nav-tabs>li {
/* float: left; */
margin-bottom: -1px;
background-color:#E9880A;
}
.nav-tabs>li>a {
margin-right: 2px;
line-height: 0.42857143;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
}
this looks more like alignment issue. Once you align the tabs individually it should work fine. I was able to get it aligned by adjusting the tabs individually.

How to arrange columns/rows with Bootstrap

I just started using Bootstrap, and I'd like my sidebar to move in between rows when the screen-size is xs.
So on normal screen sizes, the format would look like this:
AAAAAAAA | BBBB
CCCCCCCC | BBBB
And on smaller screen sizes, the format would be
AAAAA
BBBBB
BBBBB
CCCCC
I'm having trouble arranging my div boxes around in a way that would work. Sidebar B is several lines long so if I make Text C into another row, there would be a lot of empty space between Text A and Text C, which is not what I want.
Is there a way for me to insert my sidebar between Text A and C?
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<div class="container">
<div class="row" style="margin-top: 1em;">
<div class="col-md-8">
<div class="row">
<div class="col-md-3 col-xs-12" style="text-align: center;"><img src="/images/video-thumbnails/ice.jpg" class="songThumbnail">
</div>
<div class="col-md-4 col-xs-12">
<span class="trackField">Title:</span> ice<br>
<span class="trackField">Producer:</span> whoo<br>
<span class="trackField">Lyricist:</span> eau.<br>
<span class="trackField">Other Credits:</span>
<span class="nobr">eau. <span class="whisper">(direction, video)</span>,</span>
<span class="nobr">笹篠 <span class="whisper">(art)</span></span></div>
<div class="col-md-5 col-xs-12">
<span class="trackField">Official Broadcasts:</span>
<span class="nobr"><a href="http://www.nicovideo.jp/watch/sm15920143">
<img src="/images/icons/niconico.png" class="favicon"></a>
<a href="http://kkbox.fm/Fs0svB">
<img src="/images/icons/kkbox.png" class="favicon"></a></span> <br>
<span class="trackField">Commercial Links:</span>
<span class="nobr"><img src="/images/icons/amazon-us.png" class="favicon"> <img src="/images/icons/amazon-jp.png" class="favicon"> </span><br>
<span class="trackField">Unofficial Links:</span>
<span class="nobr"><img src="/images/icons/hmiku-wiki.png" class="favicon"> <img src="/images/icons/vwiki.png" class="favicon"> <img src="/images/icons/vocadb.png" class="favicon"> <img src="/images/icons/utaitedb.png" class="favicon"></span>
</div>
</div>
<div class="row">
<div class="col-md-12" style="margin: 1em;">
<img src="/images/icons/piapro.png" class="favicon"> ice - オケ <span class="whisper">(karaoke)</span>
</div>
</div> <!-- Other Downloads -->
</div>
<div class="col-md-4" style="border: 1px solid red;">
<ul class="nav nav-pills">
<li class="active"><a data-toggle="pill" href="#niconico">Niconico</a></li>
<li><a data-toggle="pill" href="#youtube">YouTube</a></li>
<li><a data-toggle="pill" href="#soundcloud">SoundCloud</a></li>
</ul>
<div class="tab-content" style="text-align: center;">
<div id="niconico" class="tab-pane fade in active">
<p><div class="embed-responsive embed-responsive-16by9">
<script type="text/javascript" src="http://ext.nicovideo.jp/thumb_watch/sm28116292"></script><noscript>【ニコニコ動画】【Faeri】ice【歌ってみた】</noscript>
</div></p>
</div>
<div id="youtube" class="tab-pane fade">
<br>
<strong>日本語 | Japanese</strong><br>
<br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="http://www.youtube.com/embed/JOd9cunyWAg"></iframe>
</div>
<br>
<strong>英語 | English</strong><br>
<br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="http://www.youtube.com/embed/mCkHvttcSoE"></iframe>
</div>
</div>
<div id="soundcloud" class="tab-pane fade">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" width="100%" height="600" scrolling="yes" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/244661025&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true"></iframe>
</div>
</div>
</div>
<br>
<p><strong>Base translation:</strong> Tatenia and tenkail<br>
Notes:<br>
<br>This is actually for a college assignment! I referenced unreliable translations, please consider these lyrics as more as an “adaptation”.<br>
It was really difficult to sing this! I don’t think I’ll sing the original Japanese version at the moment. The karaoke included a bit of Miku’s chorus, and unfortunately, I couldn’t remove it.</p>
</div> <!-- Media Sidebar-->
</div>
<div class="row">
<div class="col-xs-12">This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. </div>
</div>
</div>
Insert C texts inside the col-sm-8 like following
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<div class="container">
<div class="row" style="margin-top: 1em;">
<div class="col-md-8">
<div class="col-md-3 col-xs-12" style="text-align: center;"><img src="/images/video-thumbnails/ice.jpg" class="songThumbnail">
</div>
<div class="col-md-4 col-xs-12">
<span class="trackField">Title:</span> ice<br>
<span class="trackField">Producer:</span> whoo<br>
<span class="trackField">Lyricist:</span> eau.<br>
<span class="trackField">Other Credits:</span>
<span class="nobr">eau. <span class="whisper">(direction, video)</span>,</span>
<span class="nobr">笹篠 <span class="whisper">(art)</span></span></div>
<div class="col-md-5 col-xs-12">
<span class="trackField">Official Broadcasts:</span>
<span class="nobr"><a href="http://www.nicovideo.jp/watch/sm15920143">
<img src="/images/icons/niconico.png" class="favicon"></a>
<a href="http://kkbox.fm/Fs0svB">
<img src="/images/icons/kkbox.png" class="favicon"></a></span> <br>
<span class="trackField">Commercial Links:</span>
<span class="nobr"><img src="/images/icons/amazon-us.png" class="favicon"> <img src="/images/icons/amazon-jp.png" class="favicon"> </span><br>
<span class="trackField">Unofficial Links:</span>
<span class="nobr"><img src="/images/icons/hmiku-wiki.png" class="favicon"> <img src="/images/icons/vwiki.png" class="favicon"> <img src="/images/icons/vocadb.png" class="favicon"> <img src="/images/icons/utaitedb.png" class="favicon"></span>
</div>
<div class="col-md-12" style="margin: 1em;">
<img src="/images/icons/piapro.png" class="favicon"> ice - オケ <span class="whisper">(karaoke)</span>
</div>
</div>
<div class="col-md-4 pull-right" style="border: 1px solid red;">
<ul class="nav nav-pills">
<li class="active"><a data-toggle="pill" href="#niconico">Niconico</a></li>
<li><a data-toggle="pill" href="#youtube">YouTube</a></li>
<li><a data-toggle="pill" href="#soundcloud">SoundCloud</a></li>
</ul>
<div class="tab-content" style="text-align: center;">
<div id="niconico" class="tab-pane fade in active">
<p><div class="embed-responsive embed-responsive-16by9">
<script type="text/javascript" src="http://ext.nicovideo.jp/thumb_watch/sm28116292"></script><noscript>【ニコニコ動画】【Faeri】ice【歌ってみた】</noscript>
</div></p>
</div>
<div id="youtube" class="tab-pane fade">
<br>
<strong>日本語 | Japanese</strong><br>
<br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="http://www.youtube.com/embed/JOd9cunyWAg"></iframe>
</div>
<br>
<strong>英語 | English</strong><br>
<br>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="http://www.youtube.com/embed/mCkHvttcSoE"></iframe>
</div>
</div>
<div id="soundcloud" class="tab-pane fade">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" width="100%" height="600" scrolling="yes" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/244661025&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true"></iframe>
</div>
</div>
</div>
<br>
<p><strong>Base translation:</strong> Tatenia and tenkail<br>
Notes:<br>
<br>This is actually for a college assignment! I referenced unreliable translations, please consider these lyrics as more as an “adaptation”.<br>
It was really difficult to sing this! I don’t think I’ll sing the original Japanese version at the moment. The karaoke included a bit of Miku’s chorus, and unfortunately, I couldn’t remove it.</p>
</div> <!-- Media Sidebar-->
<div class="col-md-8">This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. This is Text C. </div>
</div>
</div>
You may also use latest version of Bootstrap and utilize flex order classes to set the sequence of columns on different devices.
Check out the link below:
https://getbootstrap.com/docs/4.3/layout/grid/#reordering

Two iframes in row same height

I have that code for two columns with iframes:
<div class="container">
<div class="jumbotron" style="background-color:rgba(0,0,0, 0.3);">
<div class="row row-eq-height">
<div class="col-md-9" style="padding-right:20px; border-right: 3px solid #ccc;">
<div class="embed-responsive embed-responsive-16by9" style="border:2px solid #2c3e50;">
<iframe class="embed-responsive-item" src="xxxx"></iframe>
</div>
</div>
<div class="col-md-3">
<div class="embed-responsive embed-responsive-16by9" style="border:2px solid #2c3e50;">
<iframe class="embed-responsive-item" src="xxxxxx"></iframe>
</div>
</div>
</div>
</div>
</div>
Problem is that right iframe is very tiny, I want to have the same height as first iframe on second.
How can I set height of second iframe to be the same as height of first iframe?
Why don't you set the height of the right iframe? For example, style="height:200px"