A question regarding the AltContent panel

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.
8/16/2010 5:48:33 PM
Gravatar
Total Posts 12

A question regarding the AltContent panel

Hello, I have recently been designing a skin, but when I put content in the 'altcontent1' element, or 'divalt1' in the layout master, it always shows about half of that content in my admin settings.

I'm wanting to place content in that slot for my pages, but not inside the admin-only pages, does anybody know if there is a setting I can place somewhere to disable that element in my admin pages?

So you know, its nested right under my 'wrapcenter' div, but when I put it lower than that it still shows up in the admin pages, just below the settings instead of above them.

 

Thanks,

Isaac

8/17/2010 6:47:13 PM
Gravatar
Total Posts 12

Re: A question regarding the AltContent panel

Nevermind, I have resolved the issue.

 

In case anybody reads this wondering how I fixed it, the trick is to make sure that your actually AltContent panel doesn't have any set height, but instead set the contents to have a padding which allows the altcontent panel to be filled, thus making it so that when the altcontent panel has no content (such as in the admin controls) it also then has no height.

 

The necessary code looks like this:

.altcontent1 {
        overflow:hidden;
}

div.altcontent1 div.htmlmodule {
       height: whatever height you want
       padding: whatever padding you want (just make sure you put all size editing properties in this not in altcontent1)
}

 

Note: If you dont want the modulecontent header to have the same padding properties, use div.modulecontent instead of div.htmlmodule.

I hope somebody finds this useful.

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