Loading...

Making the site fixed-width

We no longer maintain the Knowledge Base since version 4.3.x. All the latest user and developer documentation for 4.3.x and newer versions is now available at docs.cs-cart.com.

  • This article is available only for CS-Cart versions:
  • 1.3.5
  1. Open the styles.css file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer directory of your CS-Cart installation, where [CUSTOMER_ACTIVE_SKIN] is an active skin of your storefront.
  2. Find the following part of the code there:
    body {
        background-color: #ffffff;
        min-width: 910px;
    }

    and replace it with this one:
    body {
        background-color: #ffffff;
        width: 1024px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    where replace 1024 with the desired value.
  3. Save the file.
Home / Knowledge base / Look and feel (design) / Making the site fixed-width