Making the site 100% 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.
- Open the styles.base.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.
- Find and replace this part of code:
/* Styles for the fixed width layout */
with this one:
/* Styles for the fixed width layout
And this part of code:
/* /Styles for the fixed width layout */
with this one:
/Styles for the fixed width layout */
- This one:
/* Uncomment this set of styles for the 100% width layout. body {}
with this:
/* Uncomment this set of styles for the 100% width layout. */
- And this part of code:
*/ /* /Styles for the 100% width layout */
with this one:
/* /Styles for the 100% width layout */
- Save the file.
- Open the styles_ie.css file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer directory of your CS-Cart.
- Find and replace this part of the code:
#container { width: 969px; }
with this one:
/* #container { width: 969px; } */
- Save the file.
NOTE: the above changes will make the site 100% width only for the Basic skin. If you have another skin, you should also do the following
- 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.
- Find and replace this part of the code:
/* Styles for the fixed width layout */
with this one:
/* Styles for the fixed width layout
And this part of code:
/* /Styles for the fixed width layout */
with this one:
/Styles for the fixed width layout */
- This one:
/* Uncomment this set of styles for the 100% width layout.
with this:
/* Uncomment this set of styles for the 100% width layout. */
And this part of code:
*/ /* /Styles for the 100% width layout */
with this one:
/* /Styles for the 100% width layout */
- Save the file.
- Open the styles.base.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.
- Find and replace this part of code:
/* Styles for the fixed width layout */
with this one:
/* Styles for the fixed width layout
And this part of code:
/* /Styles for the fixed width layout */
with this one:
/Styles for the fixed width layout */
- This one:
/* Uncomment this set of styles for the 100% width layout. body {}
with this:
/* Uncomment this set of styles for the 100% width layout. */
- And this part of code:
*/ /* /Styles for the 100% width layout */
with this one:
/* /Styles for the 100% width layout */
- Save the file.
- Open the styles_ie.css file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer directory of your CS-Cart.
- Find and replace this part of the code:
#container { width: 969px; }
with this one:
/* #container { width: 969px; } */
- Save the file.
NOTE: the above changes will make the site 100% width only for the Basic skin. If you have another skin, you should also do the following
- 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.
- Find and replace this part of the code:
/* Styles for the fixed width layout */
with this one:
/* Styles for the fixed width layout
And this part of code:
/* /Styles for the fixed width layout */
with this one:
/Styles for the fixed width layout */
- This one:
/* Uncomment this set of styles for the 100% width layout.
with this:
/* Uncomment this set of styles for the 100% width layout. */
And this part of code:
*/ /* /Styles for the 100% width layout */
with this one:
/* /Styles for the 100% width layout */
- Save the file.
- Open the styles.base.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.
- Find and replace this part of code:
/* Styles for the fixed width layout */
with this one:
/* Styles for the fixed width layout
And this part of code:
/* /Styles for the fixed width layout */
with this one:
/Styles for the fixed width layout */
- This one:
/* Uncomment this set of styles for the 100% width layout. body {}
with this:
/* Uncomment this set of styles for the 100% width layout. */
- And this part of code:
*/ /* /Styles for the 100% width layout */
with this one:
/* /Styles for the 100% width layout */
- Save the file.
- Open the styles_ie.css file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer directory of your CS-Cart.
- Find and replace this part of the code:
#container { width: 969px; }
with this one:
/* #container { width: 969px; } */
- Save the file.
NOTE: the above changes will make the site 100% width only for the Basic skin. If you have another skin, you should also do the following
- 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.
- Find and replace this part of the code:
/* Styles for the fixed width layout */
with this one:
/* Styles for the fixed width layout
And this part of code:
/* /Styles for the fixed width layout */
with this one:
/Styles for the fixed width layout */
- This one:
/* Uncomment this set of styles for the 100% width layout.
with this:
/* Uncomment this set of styles for the 100% width layout. */
And this part of code:
*/ /* /Styles for the 100% width layout */
with this one:
/* /Styles for the 100% width layout */
- Save the file.