I have modified the custom-style.css in the "sites/all/themes/zeropoint/_custom" folder, removed the comment marks ( /* and */ ), saved it back to the folder and clear the cache data. But nothing happened. Here is my code (I changed it to 1220px):

/*******************************/
/* CUSTOM FIXED or FLUID WIDTH */
/*******************************/
/* First choose "Custom Layout width" in 0 Point settings page.
* Uncomment the lines below and modify the value as you wish.
* E.g. 1000px for fixed width or 85% for fluid width */

body.layout-fluid .sizer {
width: 90%;
}
body.layout-fixed .sizer {
width: 1220px;
}

Comments

florian’s picture

Did you changed the theme settings to "fixed width", also?

handokozhang’s picture

Yes, I did. It's already fixed width, but only 980px (I guess). No matter what the size I set, it's won't change.

Perhaps you may need to know, the website is using:
- Drupal 7.0
- CKEditor 3.5
- CSS Injector 7.x-1.4
- CTools 7.x-1.0-alpha2
- IMCE 7.x-1.2
- Dynamic display block 7.x-1.x-dev
- Ubercart 7.x-3.0-beta1
- Sweaver 7.x-1.1

florian’s picture

Just flush the browser cache with CTRL+F5. Do that after any change in css files

LeMale’s picture

Version: 7.x-1.1 » 6.x-2.5
Priority: Normal » Critical

I have exactly the same problem, no one of the suggested solutions works. Any other suggestion ?

Regards,

florian’s picture

Category: bug » support
Priority: Critical » Normal

I am sorry but I am unable to reproduce that.

What happens when you changed the theme settings to "fixed width"? Probably it had fixed width. If you change something in custom-style.css you should have no CSS aggregation and flush the browser cache to see the modifications.

LeMale’s picture

When I change the theme settings to fixed width the result is actually fixed width, to 980px I think.
no matter what value I give to body.layout-fixed .sizer on custom-style.css nothing change on the site (of course I delete the cache and refrech the page with Crl-F5).

Here is my custom-style.css file :

/****************************/
/* CUSTOM STYLE CSS         */
/****************************/
/* 
Put your custom css and css overrides in this file.  By restricting 
your css changes to custom-style.css, your changes will not be overwritten 
when upgrading to a new version of this theme.

Steps to customize your 0 Point theme:                       
1. Add your custom css to this file                
2. Uncomment different examples and modify data as you wish 
3. Clear cached data at admin/settings/performance 
4. Save this file with a different name to avoid loosing it after a theme update.
*/
/****************************/

/* Erase or comment the lines below to get rid of the image in the right sidebar 
 * and the brand image or choose another image and change the path instead. */

#wrapper {
	background: transparent url(../images/all/_sidebarimg.png) 99% 99% no-repeat;
}

#brand {
	background: url(../images/all/_brand.png) 50% 30% no-repeat;
	position: relative;
	margin: 5px auto 0;
	width: 250px;
	height: 50px;
}

/************************/
/* HEADER IMAGE ROTATOR */
/************************/
.himg #headimg {
	background: #fff url(headerimg/rotate.php) no-repeat 100% 100%; /* rotates images in the headerimg folder */
	border-bottom: 1px solid #eee;
}

/********************/
/* DROP DOWN SHADOW */
/********************/

ul.firstsublayer, 
ul.sublayer {
	background: url(../images/menushadow.png) no-repeat 7px 5px; 
}




/* Uncomment the first declaration below to hide the titles on the front page 
 * Addapt the second declaration to hide a certain title. 
 * Third one is for no "Read more" on the first page. */ 
/*
.front h2 a {
	display: none;
}
.front #node-XXX h2 a {
	display: none;
}
.front .node_read_more {
	display: none;
}
*/


/*******************************/
/* CUSTOM FIXED or FLUID WIDTH */
/*******************************/ 
/* First choose "Custom Layout width" in 0 Point settings page.
 * Uncomment the lines below and modify the value as you wish. 
 * E.g. 1000px for fixed width or 85% for fluid width */

body.layout-fluid .sizer {
	width: 90%;
}
body.layout-fixed .sizer {
	width: 1980px;
}
/*


/*******************************/
/* CUSTOM Equal width sidebars */
/*******************************/ 
/* First choose "Equal width sidebars" in 0 Point settings page.
 * Uncomment the lines below and modify the values keeping pair values. */
/*
body.l-m-r-eq .colleft, body.m-r-eq .colleft, body.l-m-eq .colleft {
	width: 199px;
	margin-left: -199px;
}
body.l-m-r-eq .colright, body.m-r-eq .colright, body.l-m-eq .colright {
	width: 199px;
	margin-right: -199px;
}
body.l-m-r-eq .outer, body.l-m-eq .outer, body.l-m-eq .outer {
	margin-left: 199px;
}
body.l-m-r-eq .outer, body.m-r-eq .outer, body.m-r-eq .outer {
	margin-right: 199px;
}
body.l-m-eq .colleft {
	width: 199px;
	margin-left: -199px;
}
body.m-r-eq .colright {
	width: 199px;
	margin-right: -199px;
}
*/


/******************************/
/* SPECIAL STATIC-MENU COLORS */
/******************************/

/* Uncomment this to have different colors (and chooose them) for first and last menu items. */
/*
#navlist li.first a {
	background: #D0932C;
}
#navlist li.last a {
	background: #BF5D8C;
}
*/


/* Change the values below accordingly: XXX=menu numer; YYY=background color. */
/*
#navlist li.menu-XXX a {
	background: #YYY;
}
*/


/*******************************/
/* UPDATE ICONS FOR NEW BLOCKS */
/*******************************/
/* where XXX is the block number */

/*
#block-block-XXX .block-icon {
background: transparent url(../images/contact_48.png) no-repeat;
}
*/

Any suggestion ?

florian’s picture

Category: support » bug

Sorry for my superficiality ... indeed it is a bug which will be corrected in the next release. You should change the following lines in custom-style.css file:

/*
body.layout-fluid .sizer {
width: 90%;
}
body.layout-fixed .sizer {
width: 1980px;
}
*/

... to:

/*
body.layout-fluid .sizer0 {
	width: 90%;
}
body.layout-fixed .sizer0 {
	width: 980px;
}
*/

... then do the rest, as usual. I forgot to add a "zero" (0) after each ".sizer".

LeMale’s picture

Status: Active » Fixed

It worked.

Thank you.

davesf-1’s picture

The 0 did it for me...now I can bandage up my head and fix the wall I was hitting it against!!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.