You need to Register for free and Login to post a message in the forum.

Forum

ASCX Skinning 1pane not quite working
Last Post 2009-07-14 10:32 AM by Dave Hassall. 3 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:67

--
2009-07-11 04:44 PM

    Hi

    I have spent the afternoon gong through the videos for ASCX skinning, really good and well paced.

     

    However when going to the 1 pane option I don’t quite get the same result. To check the 1pane_main.css was working I made some dramatic changes.

     

    #content1pane

    {

          width: 99%;

          background-color: Fuchsia;

          font-style:italic;

          color:Lime;

    }
     

    But the page does not display these setting. The content span the width but I am not convinced it’s because of this CSS file.

     

    Looked at it through Firefox and Web Developer Tool and it says the CSS is loaded and it does contain the details above.

     

    Could you advise what the issue could be.

     

    Also as a future idea could you make dramtic changes, as above, to show a facility is working

    Many thanks

    Dave

    Dave HassallUser is Offline
    Nuke Pro
    Nuke Pro
    Posts:67

    --
    2009-07-11 05:08 PM

     

    Hi

     

    More info

     

    I played with the skin.css and have discovered that it is in fact the #dnn_contentpane that is driving the content of this area.

     

    I tried a #dnn_content1pane in the 1pane_main.css but to no avail.

     

    I am assuming that something is needed to get the 1pane_main.css to overrule the skin.css

     

    Firefox web developer tool has the tabs in the following order

     

    Default.css, skin.css, 1pane_main.css, container.css


    I need to review that article about the tool to see if there is any significants to this
     

    Regards

     

    Dave

     

     

    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2009-07-13 05:12 PM
    Hello,

    The class is working correctly, but the background color section of it has no effect because it is being overridden by a different class.

    Try this:

    #content1pane
    {
        width: 100%;
        border: 1px solid red;
    }

    You will see the width does work correctly and a red border displays.

    If you add:

    #content1pane
    {
        width: 100%;
        border: 1px solid red;
    background-color: grey;
    }

    This does not work. Now look at the skin.css file and the

    #dnn_contentpane
    {
        padding: 10px;
        background-color: #FFF;
        border: 1px solid #CCC;
    }

    This code is specifically targeting the main content pane that DotNetNuke creates and so it is overriding the background color specified in the #content1pane id.

    If you remove the background color for #dnn_contentpane you will see the grey background now displays for the content1pane.

    Thanks,

    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Dave HassallUser is Offline
    Nuke Pro
    Nuke Pro
    Posts:67

    --
    2009-07-14 10:32 AM
    Hi Lee

    Thanks

    It's working - but more importantly because it didn't quite work for me this extra info has enhanced the learning experience.

    Thanks

    Dave
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    Enforce Terms Tutorial Update by Vistalogix Corporation
    I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
    RE: Best Practices for Modifying a Custom Module by Joseph Craig
    Start up the development website, then install the module using the package that you have. Then, yo
    Best Practices for Modifying a Custom Module by schilders
    Good Morning, I'm needing to modify a custom built module created by another developer targeted f
    RE: Admin menu problem by alireza arabiyan
    hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
    RE: Admin menu problem by Joseph Craig
    Yes, that is what you should have done. What is the URL for your home page? What is the URL for
    RE: Admin menu problem by alireza arabiyan
    hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
    RE: Admin menu problem by Joseph Craig
    How did you move it? Have you added an entry in the portalalias table for the site's domain name?
    RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
    Set up a user with dbo privileges and set the connection string for that user, rather than using Win
    Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
    I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
    Admin menu problem by alireza arabiyan
    hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config procedure
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config
    dnn 4.4 upgrade issue by imran shaikh
    hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
    RE: How to build Skins for DNN 6.x by Joseph Craig
    I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
    RE: Module permission does not work! by Joseph Craig
    What permissions have you give to that role?
    RE: DNN nav issue by Joseph Craig
    Are you using a custom skin? How often does this happen?
    RE: Friendly URLs Broken by Joseph Craig
    I don't entirely understand this, but I'm glad you got things working.
    RE: How to build Skins for DNN 6.x by Christopher Adamakis
    Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
    RE: Dnn local setup problem by imran shaikh
    this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
    RE: Module permission does not work! by Abraham Tameru
    I created a special role for the user to administer the site. The user is not a member of the Admini
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds