Adding Content Features to the Center Pane

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.
3/20/2015 10:12:36 AM
Gravatar
Total Posts 7

Adding Content Features to the Center Pane

Hello there,

When I try to add more than one content feature (e.g. HtmlContent) to the center pane of a page via Edit This Page, and I go back to visit the web page; I am noticing that the content "blocks" are spaced apart by approximately 450px. The code affected seems to be - <div id="ct_100_mainContent_ct100_pnlOuterWrap" class="art-content clearfix">. I have noticed that when the page is maximised to full height on my 24" widescreen monitor, it will then trigger the gap - but if you reduce the height slightly it will stack the content blocks back on top of each other. This is because an inline style is added to this line of code at the end with a height of 779px, can you tell me where mojoPortal this code is injected into the page as I noticed that it uses a csshandler or if not, tell me how I can fix this problem please? I am not sure why this code is added when the page reaches a certain height (or resolution). I hope this explanation is clear enough.

The version is 2.8.0.4. The details regarding OS, DB Platform, .NET, etc I do not feel are important here. Thank you in advance.

 

3/20/2015 10:43:42 AM
Gravatar
Total Posts 7

Re: Adding Content Features to the Center Pane

My apologies for posting this thread in the wrong section! I will look forward to hearing your response. Thanks.

3/20/2015 11:00:07 AM
Gravatar
Total Posts 18444

Re: Adding Content Features to the Center Pane

mojoportal server side code does not add any hard coded style attributes on html content feature. If that is happening it most likely comes from javascript in the skin. Artisteer skins add script.js and script.responsive.js both of which are generated by the Artisteer design tool. possibly one of those is adding styles based on screen size.

3/26/2015 3:57:33 AM
Gravatar
Total Posts 7

Re: Adding Content Features to the Center Pane

Hi Joe,

You were quite right, it was in the script.js file. For those who may be interested - do a "Find" on $(window).bind('resize', function () { and then comment out the line c.css('height', (c.parent().outerHeight(true) + r) + 'px');

Thanks again.

 

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