Forum Replies Created

Viewing 1 post (of 1 total)
  • in reply to: Custom Site Max Width #163540
    whistle
    Member
    Post count: 1

    Hi there,

    For those who are wanting to narrow the site down…

    Neighbourhood is using bootstrap v2.2.2
    Reading through the docs, I’ve found a less file.

    http://getbootstrap.com/2.3.2/customize.html
    https://github.com/twbs/bootstrap/blob/v2.3.2/README.md#compiling-css-and-javascript gets into detail how to compile and build files.

    I’ve changed the //Grid directives, for gridColumnWidth1200 / gridGutterWidth1200 – these are the variables that are used in less to define column sizes for the @media screen min-width:1200 break-point.

    Cleanest way I could think of is to change that back to a grid size of 60px, so that it reverts back to the default 940px grid:

    @gridColumnWidth1200: 60px;
    @gridGutterWidth1200: 20px;

    Built it afterwards, grabbed the bootstrap-responsive.min.css code and chucked that after the bootstrap-responsive.min.css file in the neighbourhood theme.

    Poof, now I’ve got a narrower site. 🙂

    Attached the file, download it and replace the one in SITE_ROOT/wp-content/themes/neighbourhood/css/

    Not fully tested though… going through the site and patching up some things as I go.

    Attachments:
    You must be logged in to view attached files.
Viewing 1 post (of 1 total)