Conflicts in Headings color, Links color and Lists styles (recommended change)

DNN websites call several default css files, like portal.css or default.css, besides the current skin's css file.

In some cases this can cause some undesired behaviors, like conflicts in headings colors, links colors, or lists styles.

To overcome this issue you can:

  • go to /Portals/_default
  • edit file default.css
  • comment the following css sections:

DNN7

/*
h1, h2, h3, h4, h5, h6 {
    display: block;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
        font-weight: inherit;
}
h1 {
    font-size: 38px;
    line-height: 54px;
    letter-spacing: -0.03em;
    margin-top: 8px;
    margin-bottom: 10px;
}
h2 {
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.03em;
    margin-top: 8px;
    margin-bottom: 10px;
}
h3 {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -1px;
    margin-top: 8px;
    margin-bottom: 10px;
}
h4 {
    font-size: 22px;
    line-height: 36px;
    letter-spacing: -1px;
}
h5 {
    font-size: 16px;
    line-height: 18px;
}
h6 {
    font-size: 14px;
    line-height: 18px;
}
*/

 

/*
blockquote, blockquote p {
    font-size: 17px;
    line-height: 24px;
    color: #777;
    font-style: italic;
}
blockquote {
    margin: 0 0 20px;
    padding: 9px 20px 0 19px;
    border-left: 1px solid #ddd;
}
    blockquote cite {
       display: block;
        font-size: 12px;
        color: #555;
    }
        blockquote cite:before {
            content: "\2014 \0020";
        } 
        blockquote cite a, blockquote cite a:visited, blockquote cite a:visited {
            color: #555;
        }
hr {
    clear: both;
    margin: 17px 0 17px;
    height: 0;
    border: solid #ddd;
    border-width: 1px 0 0;
}
*/

 

/*
a, a:visited {
    color: rgb(2,139,255); /*blue*/
    text-decoration: underline;
    outline: 0;
}
    a:hover, a:focus, a:active {
        color: #222;
        outline: 0;
    }
p a, p a:visited {
    line-height: inherit;
}
*/

 

DNN6

/* GENERIC */
/*
h1, h2{ font-size:20px;font-weight:normal;}
h3, h4{ font-size:12px;font-weight:normal;}
h5, h6, dt{ font-size:11px;font-weight:bold;}
tfoot, thead{font-size:12px;color:#036;}
th{vertical-align:baseline;font-size:12px;font-weight:bold;}
img{border: none;}
a:link, a:visited, a:active{text-decoration:none;color:#036;}
a:hover{text-decoration:underline;color:#f00;}
small{font-size:8px;}
big{font-size:14px;}
blockquote, pre{font-family:Lucida Console, monospace;}
ul li{list-style-type:square;}
ul li li{list-style-type:disc;}
ul li li li{list-style-type:circle;}
ol li{list-style-type:decimal;}
ol ol li{list-style-type:lower-alpha;}
ol ol ol li{list-style-type:lower-roman;}
ol ul li{list-style-type:disc;}
hr{color:#696969;height:1px;text-align:left;}
*/

 

This is a recommended change.

Have more questions? Submit a request

Comments

Got a question?

If you can't find the answer to your question, you can contact us.
We are here and happy to help.

Powered by Zendesk