Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Page Width

darkalchemy edited this page Oct 27, 2019 · 1 revision

Some users have expressed their opinion that they do not like that the template uses the full viewport width and would prefer a narrower template.

The template width is easily modified by editing variables.css and changing the variable --default-page-width-width to show how many pixels you would like the distance from the edge to be, so to move the edges in by 50px, set like this --default-page-width-width: 50px; and then run php bin/uglify.php to compile the changes.

You can also use percentages, for example to set the template width to 80%, you would set it like this --default-page-width-width: 10%; and then run php bin/uglify.php to compile the changes. (100% - 80%) / 2 = 10%.

This effects all views, except mobile where the width remains 100%.