Right position div show in left position in mobile view

<div class="card">
  <div class="row no-gutters">
    <div class="col-8">
      <div class="card-block">
        <h4 class="card-title">v</h4>
        <p class="card-text">Basics of Computers - Introduction. ... The literal meaning of computer is a device that can calculate. However, modern computers can do a lot more than calculate. Computer is an electronic device that receives input, stores or processes the input as per user instructions and provides output in desired format.</p>
        <a href="#" title="">Explore &nbsp;<i class="fa fa-caret-right"></i></a>
      </div>
    </div>
    <div class="col-4">
      <img src="./images/prod.jpg" class="img-fluid" alt="####">
    </div>
  </div>
</div>

Please post the relevant CSS to demonstrate your issue.

Good morning, @ifoursanjay.

You remember our posting guidelines request asking a member to post a “working page” that demonstrates the issue so we can run that code on our computers and see what you see.

If you have not read our posting guidelines, please take a few minutes and do so right here:

Forum POSTING Guidelines (Posting Basics): (Help us help you!)

Thanks :smile:

Using my crystal ball I’ll assume this is a bootstrap4 layout and as clearly shown in the documentation you can just use the col-sm- classes to produce the layout you require.

e.g.

 <div class="card">
    <div class="row no-gutters">
      <div class="col-sm-8">
        <div class="card-block">
          <h4 class="card-title">v</h4>
          <p class="card-text">Basics of Computers - Introduction. ... The literal meaning of computer is a device that can calculate. However, modern computers can do a lot more than calculate. Computer is an electronic device that receives input, stores or processes the input as per user instructions and provides output in desired format.</p>
          <a href="#" title="">Explore &nbsp;<i class="fa fa-caret-right"></i></a> </div>
      </div>
      <div class="col-sm-4 "> <img src="./images/prod.jpg" class="img-fluid" alt="####"> </div>
    </div>
  </div>

Assuming I guessed right and this is a bootstrap4 layout then please read the grid information as it has the information you will need in order to create differing layouts for mobile/desktop and will explain it better than me :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.