Positioning Web-Stat
Position Web-Stat at the pixel level
Note: these instructions do not apply to automated installations (Wix, WordPress, Shopify, etc)
If you are using one of our visible options and if you installed the code manually, you can adjust Web-Stat's position on your pages very precisely:
- If you only need to center the counter horizontally, simply add the following:
<div style="text-align:center;">
just BEFORE the counter code, and:
</div>
just AFTER the counter code.
- ... Or, if you want complete control over the counter's position and if you want to add it to your page without modifying the existing layout, you can add the following:
<div style="position:absolute; z-index:1000; top:10px; left:150px;">
just BEFORE the counter code, and:
</div>
just AFTER the counter code.
This will cause the counter to appear 10 pixels from the top of your page and 150 pixels from the left of your page. You can change these values to anything you wish, for instance top:300px; left:250px; in order to precisely adjust the counter's position.
Note that you can also position the counter from the bottom of the page (instead of the top) with:
<div style="position:absolute; z-index:1000; bottom:10px; left:150px;">