• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Styling the modal popup

You are not authorized to post a reply.
Sort:


New Around Here


Posts:4
New Around Here

    Hi DNN friends,

    How do I add a stylesheet to the login and reset password popup?
    Currently it only takes the default.css style
    I created the custom css in the skin.css file but it doesn't work, unless I disabled popups

    I am using version 9.10.2 and 9.11.0 

    Thanks!!!



    Veteran Member


    Posts:976
    Veteran Member

      AFAIK (or AFAIR) the modal popus do not load any stylesheet except the default.css and the popupskin.css unless you add a reference to another one in the code.

      A way to solve this is to create your own login module and change the value for the Login page (Site Settings >> Site Behaviour >> Default Pages) to your login control.

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect


      New Around Here


      Posts:4
      New Around Here

        Hi Michael.

        Thanks for your comment, by the way, I know where the default.css file is, but where is the popupskin.css? Is it a file that needs to be created?,

        thanks again!



        Veteran Member


        Posts:976
        Veteran Member

          The popupskin.css is propably a file included in the skin (theme).

          Happy DNNing!
          Michael

          Michael Tobisch
          DNN★MVP

          dnnWerk Austria
          DNN Connect


          Veteran Member


          Posts:741
          Veteran Member

            I would suggest that you not edit the DNN CSS files directly. Any edits here will be lost the next time you upgrade DNN.

            You should instead be overriding any CSS in your theme, usually using your Portal.css. This not only protects you during upgrades, but it also will no longer mean all kinds of extra work to merge core code changes like this.

            (Not to mention, when you need to fix or troubleshoot something, the numerous blogs and docs out there will be relevant to you still. This is not the case when you change the core of DNN.)
            Will Strohl

            Upendo Ventures DNN experts since 2003
            Official provider of the DNN-based E-Commerce w/ Hotcakes Commerce Cloud and SLA support
            You are not authorized to post a reply.

            These Forums are dedicated to discussion of DNN Platform.

            For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

            1. If you have (suspected) security issues, please do not post them in the forums but send an email to [email protected]
            2. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
            3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
            4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            5. No Flaming or Trolling.
            6. No Profanity, Racism, or Prejudice.
            7. Site Moderators have the final word on approving / removing a thread or post or comment.
            8. English language posting only, please.

            Would you like to help us?

            Awesome! Simply post in the forums using the link below and we'll get you started.

            Get Involved