Apply blockquote only to certain areas.
-
Please have a look at the following page on my website:
https://www.awanderingsole.com/about
I would like the main area “About” to have a white background while maintaining the dark gray background on the sidebar. This will apply for all of my pages- I want the main area to be white with black text. I have found in CSS that the background is applied using blockquote. However, I obviously need to apply different blockquotes to different areas. Any suggestions about how too do this?
Here is a snippet from my Stylesheet, hopefully this will help:
/* Headlines */
h1, h2, h3{
font-weight: normal;
line-height: normal;
letter-spacing:-1px;
}
h1 { font-size:30px; }
h2 { font-size:26px; }
h3 { font-size:22px; }
h4 { font-size:14px; }
h5 { font-size:12px; }
h6 { font-size:10px; }
h1, h2, h3 {
color: #6099ff;
font-family: Georgia, “Times New Roman”, Times, serif;
margin-top: 15px;
}
h4 {
color: #a3d5ea;
font-family: Georgia, “Times New Roman”, Times, serif;
font-size: 14px;
}/* Anchors */
a, a:link, a:visited {
color: #fff;
text-decoration: none;
}
a:hover, a:active, a.active {
text-decoration: underline;
}/* Lists */
#main div.box1 ul {
padding:20px;
list-style:inside;
}
#main div.box1 ol {
padding:20px;
list-style:inside;
list-style-type:decimal;
}
#sidebar .box1 { margin:7px 0 18px; padding: 18px; }
#sidebar #videos .box1 { margin: 0 0 20px; padding: 10px; }#sidebar ul, #sidebar ol {
list-style-type:none;
}blockquote {
margin:15px 0; padding:10px 20px;
border-bottom:1px solid #000;
font:1.00em Georgia, “Times New Roman”, Times, serif; color:#fff;
background:url(images/bg-box.png) repeat scroll 0 0 !important;
background: #222;
}THANK YOU FOR ANY ADVICE YOU CAN OFFER!! I really appreciate it.
- The topic ‘Apply blockquote only to certain areas.’ is closed to new replies.