Really odd editor behaviour

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
9/21/2010 11:31:02 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Really odd editor behaviour

Hi guys

I think / hope I'm suffering from a case of skinning fatigue here because this is such a simple problem....

Usual scenario of setting a skin and assigning the following CSS:

html
{    
    font-size: 62.5%; /* set text size to 10px to make calculations easier */
    font-family: Verdana, Arial, sans-serif;
    height: 100%;
    width: 100%;
    line-height: 1.4em; 
}

body
{    
    color:#666666;
    font-size: 1.2em;
    height: 100%;
    width: 100%;
    background: #fff;
}

.pagebody
{
    background: #99a95f;
}

Which should result in a site background of green and the editor body of white, right?

I have a wrapwebsite element styled with a background colour of white too that results in a nice central column of white to put the site in.

And, looks great:

http://dl.dropbox.com/u/4384234/screen%20fine.png

However, the editor still retains the green background - albeit with a small strip of white (seemingly inside the iframe's body tag?)

With text that was existing: http://dl.dropbox.com/u/4384234/editor%20with%20text.png

Without text: http://dl.dropbox.com/u/4384234/editor%20without%20text.png

With new text typed in (notice how the whiet expands down to fit my newly typed text - iframe body tag?): http://dl.dropbox.com/u/4384234/editor%20with%20new%20text.png

I've tried everything I can think of to remedy this including:

- using the !important attribute on the body tag
- setting the iframe html background to white
- changing the .pagebody background to red just to try and eliminate things - the body goes red BUT the editor remains green

So, the above led me to think that the colour #99a95f was set elsewhere too - which it isn't - I've done a find throughout the entire project in VStudio.

I've not come across this issue before with any of the skins I've put together, and I've put a few together. I'm hoping it's something silly that I've missed due to my sleepy eyes!

Any advice from the two Joes or any other mojo folk please?

Thanks

Mark

9/21/2010 1:40:28 PM
Gravatar
Total Posts 18439

Re: Really odd editor behaviour

Are you sure you have class="pagebody" on the body element in the layout.master file? Not all skins have it so depending on what you started with it might not be there.

Hope it helps,

Joe

9/21/2010 2:22:18 PM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Really odd editor behaviour

Hi Joe

Yeah most definitely got the class in place. I've been using it to change the page background to eliminate as much as I can (from the green to red for example)...

It's really baffling me as I've nothing else different to normal and never had this issue before. I've checked the other style sheets for that colour being applied and nothing.

Thanks

Mark

9/21/2010 2:22:54 PM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Really odd editor behaviour

Oh, I always start with the styleshout_refresh skin too by the way, in case that helps.

9/24/2010 6:17:31 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Really odd editor behaviour

Don't suppose anyone has any further thoughts on this do they please?

Thanks

Mark

9/24/2010 11:00:11 AM
Gravatar
Total Posts 2239

Re: Really odd editor behaviour

Hi Mark,

This is kind of one of those you have to see it problems. You have tried all of the normal things to fix it so I am at a loss of what it could be. Would you be able to email the site url to me? If not, we can probably set up an online meeting with Skype or even Yamisee. I would love to help, I just need to see the site so I can troubleshoot it a little better.

-Joe D.

9/24/2010 11:02:27 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Really odd editor behaviour

Hi Joe

Thanks for that, I'll drop you a mail. I'm sure it's something ridiculous but am a bit snow blind with it now!

Thanks

Mark

You must sign in to post in the forums. This thread is closed to new posts.