Bootstrap columns unaligned text and image












0















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.





  1. 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>


  2. jsfiddle: https://jsfiddle.net/xp3zqLra/4/


  3. current condition



current condition




  1. intended layout


intended layout










share|improve this question



























    0















    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.





    1. 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>


    2. jsfiddle: https://jsfiddle.net/xp3zqLra/4/


    3. current condition



    current condition




    1. intended layout


    intended layout










    share|improve this question

























      0












      0








      0








      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.





      1. 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>


      2. jsfiddle: https://jsfiddle.net/xp3zqLra/4/


      3. current condition



      current condition




      1. intended layout


      intended layout










      share|improve this question














      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.





      1. 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>


      2. jsfiddle: https://jsfiddle.net/xp3zqLra/4/


      3. current condition



      current condition




      1. intended layout


      intended layout







      html css twitter-bootstrap






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 22 '18 at 9:11









      Jeremiah CanutoJeremiah Canuto

      697




      697
























          2 Answers
          2






          active

          oldest

          votes


















          0














          .row {
          display:flex;
          }

          .row > *
          {
          align-self:end;
          }


          https://jsfiddle.net/xp3zqLra/6/






          share|improve this answer
























          • 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



















          0














          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/






          share|improve this answer























            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            0














            .row {
            display:flex;
            }

            .row > *
            {
            align-self:end;
            }


            https://jsfiddle.net/xp3zqLra/6/






            share|improve this answer
























            • 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
















            0














            .row {
            display:flex;
            }

            .row > *
            {
            align-self:end;
            }


            https://jsfiddle.net/xp3zqLra/6/






            share|improve this answer
























            • 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














            0












            0








            0







            .row {
            display:flex;
            }

            .row > *
            {
            align-self:end;
            }


            https://jsfiddle.net/xp3zqLra/6/






            share|improve this answer













            .row {
            display:flex;
            }

            .row > *
            {
            align-self:end;
            }


            https://jsfiddle.net/xp3zqLra/6/







            share|improve this answer












            share|improve this answer



            share|improve this answer










            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



















            • 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













            0














            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/






            share|improve this answer




























              0














              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/






              share|improve this answer


























                0












                0








                0







                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/






                share|improve this answer













                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/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 22 '18 at 9:27









                hetioushetious

                28916




                28916






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Costa Masnaga

                    Fotorealismo

                    Sidney Franklin