Set default zoom for web page programmatically?

edited February 2015 in HealthCentre
Is it possible to set the default zoom level on my site? For instance, could I code my site in such as a way that it is zoomed to 90% when a user opens it?

Comments

  • edited February 2015
    Hi

    For this 

    find this code in header.php (Theme package  >> header.php )

    <div id="wrapper"> line no 15

    then 

    Replace This code in header.php ( Theme package >> header.php ) line no 15 

    <div id="wrapper" style="zoom: 90%">


    Thanks.
  • Thank you! It worked. How about the pages too? This only applies to the homepage but the pages doesn't seem so. Can you please help me with pages too? Thank you very much!
  • Hi 

    To apply zoom on pages  for this open the page.php file of your them . 
    fond the below line of code on line no 34 

    <div class="container">

    And replace it with below line of code 

    <div class="container"  style="zoom:90%">

    Thanks
    Akhilesh
  • Great! It worked. Thank you very much.
This discussion has been closed.