html - How to make divs responsive using a custom wordpress theme? -


i have custom wordpress theme using, , editing 1 of pages. created 3 divs should align horizontally in center of page. figured out how aligned correctly, need responsive. when view web page mobile device, div's not appear on screen , there no scroll bar.

please see image how should look. 3 div's display "find answers, submit ticket, , chat agent" links:
enter image description here

here code create these divs:

<center>  <div style="width: 900px;">    <a href="http://neawebservices.com/client/knowledgebase.php" target="_blank"><div style="float: left; width: 200px; margin-right: 20px; border-radius: 25px; border: 2px solid #007ebf; padding: 20px; height: 150px; text-align: center;">  <h3 class="priceplanhr">find answers</h3>  <img class="alignnone wp-image-980 size-full" src="http://neawebservices.com/wp-content/uploads/2016/04/64-x-64.png" alt="" width="66" height="44" />    </div></a>    <a href="https://neawebservices.com/client/submitticket.php" target="_blank"><div style="float: left; width: 200px; margin-right: 20px; border-radius: 25px; border: 2px solid #007ebf; padding: 20px; height: 150px; text-align: center;">  <h3 class="priceplanhr">submit ticket</h3>  <img class="alignnone wp-image-980 size-full" src="http://neawebservices.com/wp-content/uploads/2016/04/128-x-128-3.png" alt="" width="66" height="44" />    </div></a>    <a href="javascript:void(tawk_api.toggle())"><div style="float: left; width: 200px; margin-right: 20px; border-radius: 25px; border: 2px solid #007ebf; padding: 20px; height: 150px; text-align: center;">  <h3 class="priceplanhr">chat agent</h3>  <img class="alignnone wp-image-980 size-full" src="http://neawebservices.com/wp-content/uploads/2016/04/64-x-64-1.png" alt="" width="55" height="55" />    </div></a>  </div>  </center>

the theme uses external css if same responsive effect using inline css, great.

i appreciate can on this!!

css3 media queries friend here , no, can't done inline. it's best stay away using inline css anyways.

you either build own media queries (see here) or convert theme css framework such bootstrap or foundation (i prefer foundation) them you.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -