Display bug after upgrading C5

Permalink
Hi All,

I've got a site that I built with the 1140 Grid in C5. The content is centered in the browser window. The display looks fine when I'm not logged in, but after I login, the page display starts to break, and the content is all aligned to the left of the browser.

Anyone else having the same issue?

juddc
 
wildapple replied on at Permalink Best Answer Reply
wildapple
I'm not totally familiar with the 1140 grid, but I'd put my money on it being a class being overwritten on a div when the edit bar etc is active. Probably a class like ="container" somewhere.

You can put your stylesheets above the
<?php Loader::element('header_required'); ?>


in your <head> and it it may help.

This is pure speculation though, but I'd check there at the least.
juddc replied on at Permalink Reply
juddc
That was it - the .container class in the 1140 Grid was in conflict with C5's css. I switched the class name to .gridcontainer and it solved the problem.

I tried loading the styles up above the c5 loader, as you suggested but got no love.

Thanks for taking the time to reply.
P0oltj3 replied on at Permalink Reply
P0oltj3
Hai,

I just tried your solution and I even renamed it the same (.container to .gridcontainer) in 1140.css, header.php, footer.php and default.php and it still is glued to the right side.

Did you do something more?
P0oltj3 replied on at Permalink Reply
P0oltj3
Apparently I can`t delete my own comment but I tried some other stuff and apperently with my style I have to have the
Loader::element('header_required');

above everything and have to rename the .container to something else but thanks for suggestions!!
juddc replied on at Permalink Reply
juddc
All I did was rename .container - worked for me.