Bootstrap columns unaligned text and image
good day, I have this issue where my bootstrap row columns are unaligned, the text is under col-8 and the image is under col-4. however even when they are in the same row the text and image is unaligned. any help would be appreciated and i have a js fiddle link for the problem.
code snippet:
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<br>
<h4 class="color-mwc-blue text-height-wide2">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue text-height-wide2">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<br><br><br>
<img src="img/home_who_we_are.jpg" class="img-responsive spacer center-block">
</div>
</div>
</div>
jsfiddle: https://jsfiddle.net/xp3zqLra/4/
current condition
- intended layout
html css twitter-bootstrap
add a comment |
good day, I have this issue where my bootstrap row columns are unaligned, the text is under col-8 and the image is under col-4. however even when they are in the same row the text and image is unaligned. any help would be appreciated and i have a js fiddle link for the problem.
code snippet:
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<br>
<h4 class="color-mwc-blue text-height-wide2">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue text-height-wide2">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<br><br><br>
<img src="img/home_who_we_are.jpg" class="img-responsive spacer center-block">
</div>
</div>
</div>
jsfiddle: https://jsfiddle.net/xp3zqLra/4/
current condition
- intended layout
html css twitter-bootstrap
add a comment |
good day, I have this issue where my bootstrap row columns are unaligned, the text is under col-8 and the image is under col-4. however even when they are in the same row the text and image is unaligned. any help would be appreciated and i have a js fiddle link for the problem.
code snippet:
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<br>
<h4 class="color-mwc-blue text-height-wide2">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue text-height-wide2">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<br><br><br>
<img src="img/home_who_we_are.jpg" class="img-responsive spacer center-block">
</div>
</div>
</div>
jsfiddle: https://jsfiddle.net/xp3zqLra/4/
current condition
- intended layout
html css twitter-bootstrap
good day, I have this issue where my bootstrap row columns are unaligned, the text is under col-8 and the image is under col-4. however even when they are in the same row the text and image is unaligned. any help would be appreciated and i have a js fiddle link for the problem.
code snippet:
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<br>
<h4 class="color-mwc-blue text-height-wide2">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue text-height-wide2">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<br><br><br>
<img src="img/home_who_we_are.jpg" class="img-responsive spacer center-block">
</div>
</div>
</div>
jsfiddle: https://jsfiddle.net/xp3zqLra/4/
current condition
- intended layout
html css twitter-bootstrap
html css twitter-bootstrap
asked Nov 22 '18 at 9:11
Jeremiah CanutoJeremiah Canuto
697
697
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
.row {
display:flex;
}
.row > *
{
align-self:end;
}
https://jsfiddle.net/xp3zqLra/6/
the picture is unaligned even in the jsfiddle after the addition of row
– Jeremiah Canuto
Nov 22 '18 at 9:30
my bad i have three line breaks that i took out, this is the right correction.
– Jeremiah Canuto
Nov 22 '18 at 9:32
add a comment |
please delete these unnecessary br tags and also delete align-items-center class from a row.
<div class="container">
<div class="row">
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<h4 class="color-mwc-blue">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<img src="https://via.placeholder.com/350
C/O https://placeholder.com/" class="img-responsive spacer center-block">
</div>
</div>
</div>
Here is a fiddle: https://jsfiddle.net/xp3zqLra/5/
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53427348%2fbootstrap-columns-unaligned-text-and-image%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
.row {
display:flex;
}
.row > *
{
align-self:end;
}
https://jsfiddle.net/xp3zqLra/6/
the picture is unaligned even in the jsfiddle after the addition of row
– Jeremiah Canuto
Nov 22 '18 at 9:30
my bad i have three line breaks that i took out, this is the right correction.
– Jeremiah Canuto
Nov 22 '18 at 9:32
add a comment |
.row {
display:flex;
}
.row > *
{
align-self:end;
}
https://jsfiddle.net/xp3zqLra/6/
the picture is unaligned even in the jsfiddle after the addition of row
– Jeremiah Canuto
Nov 22 '18 at 9:30
my bad i have three line breaks that i took out, this is the right correction.
– Jeremiah Canuto
Nov 22 '18 at 9:32
add a comment |
.row {
display:flex;
}
.row > *
{
align-self:end;
}
https://jsfiddle.net/xp3zqLra/6/
.row {
display:flex;
}
.row > *
{
align-self:end;
}
https://jsfiddle.net/xp3zqLra/6/
answered Nov 22 '18 at 9:25
Carol McKayCarol McKay
1,9161711
1,9161711
the picture is unaligned even in the jsfiddle after the addition of row
– Jeremiah Canuto
Nov 22 '18 at 9:30
my bad i have three line breaks that i took out, this is the right correction.
– Jeremiah Canuto
Nov 22 '18 at 9:32
add a comment |
the picture is unaligned even in the jsfiddle after the addition of row
– Jeremiah Canuto
Nov 22 '18 at 9:30
my bad i have three line breaks that i took out, this is the right correction.
– Jeremiah Canuto
Nov 22 '18 at 9:32
the picture is unaligned even in the jsfiddle after the addition of row
– Jeremiah Canuto
Nov 22 '18 at 9:30
the picture is unaligned even in the jsfiddle after the addition of row
– Jeremiah Canuto
Nov 22 '18 at 9:30
my bad i have three line breaks that i took out, this is the right correction.
– Jeremiah Canuto
Nov 22 '18 at 9:32
my bad i have three line breaks that i took out, this is the right correction.
– Jeremiah Canuto
Nov 22 '18 at 9:32
add a comment |
please delete these unnecessary br tags and also delete align-items-center class from a row.
<div class="container">
<div class="row">
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<h4 class="color-mwc-blue">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<img src="https://via.placeholder.com/350
C/O https://placeholder.com/" class="img-responsive spacer center-block">
</div>
</div>
</div>
Here is a fiddle: https://jsfiddle.net/xp3zqLra/5/
add a comment |
please delete these unnecessary br tags and also delete align-items-center class from a row.
<div class="container">
<div class="row">
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<h4 class="color-mwc-blue">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<img src="https://via.placeholder.com/350
C/O https://placeholder.com/" class="img-responsive spacer center-block">
</div>
</div>
</div>
Here is a fiddle: https://jsfiddle.net/xp3zqLra/5/
add a comment |
please delete these unnecessary br tags and also delete align-items-center class from a row.
<div class="container">
<div class="row">
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<h4 class="color-mwc-blue">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<img src="https://via.placeholder.com/350
C/O https://placeholder.com/" class="img-responsive spacer center-block">
</div>
</div>
</div>
Here is a fiddle: https://jsfiddle.net/xp3zqLra/5/
please delete these unnecessary br tags and also delete align-items-center class from a row.
<div class="container">
<div class="row">
<div class="col-md-8 justify_text">
<span>
<h4 class="bold_font color-mwc-orange">WHO WE ARE</h4>
<h4 class="color-mwc-blue">My White Card is an innovative collaboration of the recent revolutionary healthcare approach; The first of its kind beauty, health, and wellness membership that offers an array of the best discount coupons and unlimited services in pursuit of a convenient access through a Mobile App technology. </h4>
<h4 class="color-mwc-blue">We offer different discount coupons from aesthetics, cosmetic surgeries, dental services, functional medicine, preventive healthcare and wellness programs from our Exclusive, Premiere and carefully curated clinics and excellent doctors in the Metro.</h4>
</span>
</div>
<div class="col-md-4">
<img src="https://via.placeholder.com/350
C/O https://placeholder.com/" class="img-responsive spacer center-block">
</div>
</div>
</div>
Here is a fiddle: https://jsfiddle.net/xp3zqLra/5/
answered Nov 22 '18 at 9:27
hetioushetious
28916
28916
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53427348%2fbootstrap-columns-unaligned-text-and-image%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown