columns css not changes

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/2009 1:38:25 PM
Gravatar
Total Posts 71

columns css not changes

The content that belongs here is too complex to display securely.
8/16/2009 2:21:18 PM
Gravatar
Total Posts 71

Re: columns css not changes

must inherits my layout.master from "mojoPortal.Web.layout" ????

what does mojoPortal.Web.layout.?

8/17/2009 12:46:37 AM
Gravatar
Total Posts 550

Re: columns css not changes

Hi Nasser,

I download your work and see it. You MUST not change the CodeBehind of layout.master and no need to have a new layout.master.cs file . Do following changes in your layout.master file.

Replace this line:

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="layout.master.cs" Inherits="Data_Sites_1_skins_mmcgee_uncreativesuite_3_layout" %>
 

With this:

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="~/App_MasterPages/layout.Master.cs" Inherits="mojoPortal.Web.layout" %>
 

Hope helps

Asad

8/17/2009 5:13:40 AM
Gravatar
Total Posts 18409

Re: columns css not changes

Hi,

Asad is correct, you should inherit from the built in App_MasterPages/layout.master which has code behind it that implements the automatic adaptation from 1 to 3 columns for the main layout by determining which columns have content and assiging css classes to the divs as needed. This is explained in the document http://www.mojoportal.com/understandingthelayoutmasterfile.aspx

Hope it helps,

Joe

8/17/2009 10:40:02 AM
Gravatar
Total Posts 71

Re: columns css not changes

thanks for your reply,

I copied one  of existence layout.master contents to my layout.master page and it works now, I will change some other parts and then uplaod it for consideration of  other mp users,

 

 

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