divCenter class does not change

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/30/2013 11:53:29 PM
Gravatar
Total Posts 13

divCenter class does not change

Hello,

I want to replace the default divCenter class with my customized class names. I changed css settings in the skin file: \Data\Sites\1\skins\test\theme.skin. Under Administration > Site Setting > Skin, I selected "test" as a new skin , reset IIS. Reload the home page, view source, I still have below default class in the "ctl00_divCenter" tag.

<div id="ctl00_divCenter" class="art-layout-cell art-content-wide center-nomargins cmszone">  

Could someone let me know what I've missed?

 

My web server:

MojoPortal version: version 2.3.9.8
IIS7 .NET Framework 4.0.30319
DB: SQLExpress

This is what I changed in the theme.skin file.

<portal:LayoutDisplaySettings runat="server" 
    LeftSideNoRightSideCss="test"
    RightSideNoLeftSideCss="test"
    CenterNoLeftSideCss="test"
    CenterNoRightSideCss="test"
    CenterNoLeftOrRightSideCss="test"
    CenterWithLeftAndRightSideCss="test"
    LeftAndRightNoCenterCss="test"
    EmptyCenterCss="test"
    LeftOnlyCss=""
    RightOnlyCss=""
  />

 

 

8/31/2013 1:13:50 PM
Gravatar
Total Posts 18444

Re: divCenter class does not change

Hi,

Make sure the layout.master file of your skin actually has <portal:LayoutPanel instead of <asp:Panel as discussed in the article layout display settings. Older skins from older versions of mojoPortal did not have this so your skin may need to be updated to use the new panels.

Hope that helps,

Joe

8/31/2013 4:58:24 PM
Gravatar
Total Posts 13

Re: divCenter class does not change

Hi Joe,

Thanks for your message. I used layout.master file from version 2.3.9.8 download (\Data\Sites\1\skins\art41-wallpaper\Layout.Master). So the skin file has <portal:LayoutPanel.

 

Below change in the layout.Master does the trick, change UseArtisteer3="true" to "false".

For example,

<portal:StyleSheetCombiner ID="StyleSheetCombiner" runat="server" UseArtisteer3="true"
        JQueryUIThemeName="sunny" UseIconsForAdminLinks="false" UseTextLinksForFeatureSettings="true" />

change to:

<portal:StyleSheetCombiner ID="StyleSheetCombiner" runat="server" UseArtisteer3="false"
        JQueryUIThemeName="sunny" UseIconsForAdminLinks="false" UseTextLinksForFeatureSettings="true" />

 

Thank you!

4/10/2014 1:51:31 PM
Gravatar
Total Posts 21

Re: divCenter class does not change

I used the current Artisteer 4.2 export plugin and ran into this very issue.  If the problem lies in the template layout.master in the plugin, it would be great to get that fixed by switching the useartisteer3 setting to false on the stylesheetcombiner.

4/11/2014 8:52:14 AM
Gravatar
Total Posts 18444

Re: divCenter class does not change

Hi,

Thanks for letting me know. You are correct that the useartisteer3 setting should not be there, it must have been an oversight, I did not realize that was in there, I will remove it and update the plugin soon. In the meantime you can easily remove it from layout.master.

Thanks,

Joe

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