Jump to content

Change of text in an unknown CSS


leso9903

Recommended Posts

Hi!I've received an assignment from class in which I'm to use CSS from one website and use it on another, then I'm to change some attributes and stuff. I'm to change the color of "Hello world" and it doesn't seem to work. I found the class and ID, namely:#content .entry-title { color: red; font-size: 21px; font-weight: bold; line-height: 1.3em; margin-bottom: 0;} but it doesn't seem to work. I know it's not suppose to be overwritten because it's got a high specificity, both id and class. Any thoughts on this? Have I missed something? HTML

<!DOCTYPE html><html dir="ltr" lang="en-US">  <head>	<meta charset="UTF-8" />	<title>Website Construction | demonstrate the importance of structure</title>	<link rel="stylesheet" type="text/css" media="all" href="css/style.css" />	<link rel='stylesheet' id='weaver-style-sheet-css'  href='css/style-weaver.css' type='text/css' media='all' />	<script src="js/jquery-1.6.1.min.js"></script>	<script src="js/info.js"></script>  </head>  <body class="home blog">	<div id="wrapper" class="hfeed">	  <div id="info">		<div class="tip">   <p>In order to pass this part of the lab you need to complete the following steps on the basic site keeping the good file structure.</p>   <ul>	 <li>Restyle the pages using the css files the nice solution uses</li>	 <li>Switch the information icon to the round one used in the nice solution</li>	 <li>Switch the banner image on the main page to the dynamic image used in the nice page</li>	 <li>Switch the weather icon to the round one, also change the link to point at "weather.yahoo.com"</li>	 <li>Make the heading of the "Hello world" post red since it is very important</li>	 <li>Add a link to "www.wimbledon.com" on the 20th of June in the calendar</li>	 <li>Use the javascript file used in the nice solution</li>	 <li>Make google host jquery for you using the link <code>"http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"</code></li>	 <li>Renaming the main directory your solution resides in or moving it into a different directory should not break the page</li>		  </ul>		</div>	  </div>	  <div id="header">		<div id="masthead">		  <div id="ttw-site-logo"></div>		  <div id="ttw-site-logo-link" onclick="location.href='.'" style="cursor:pointer;"></div>		  <h1 id="site-title">			<span>			  <a href="." title="Website Construction"  >Website Construction</a>			</span>		  </h1> 		  <div id="nav-top-menu"><div id="access2" role="navigation">		  </div></div><!-- #access2 -->		  <div id="branding" role="banner">			<img src="img/wheat.jpg" width="940" height="198" alt="" />		  </div><!-- #branding -->		  <div id="nav-bottom-menu"><div id="access" role="navigation">			  <div class="menu"><ul><li class="current_page_item"><a href="." title="Home">Home</a></li><li class="page_item page-item-2"><a href="sample.html" title="Sample Page">Sample Page</a></li></ul></div>		  </div></div><!-- #access -->		</div><!-- #masthead -->	  </div><!-- #header -->	  <div id="main">		<div id="container" class="container-index-loop">		  <div id="content" role="main">			<div id="post-1" class="post-1 post type-post status-publish format-standard hentry category-uncategorized">			<h2 class="entry-title"><a href="." title="Permalink to Hello world!" rel="bookmark">Hello world!</a></h2>			  <div class="entry-content">				<p>A variation of one of the most famous and meaningless exercises used in computer science.</p>				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor ###### soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.				</p>				<div class="clear-cols"></div>			  </div>			</div><!-- #post-## -->			<a href="http://www.weather.com"><img class="weather" alt="weather" src="img/weatherblack.jpg"></a>			<span>To check the weather click the icon.</span>		  </div><!-- #content -->		</div><!-- #container -->		<div id="primary" class="widget-area" role="complementary">		  <ul class="xoxo">			<li id="calendar-3" class="widget-container widget_calendar"><h3 class="widget-title"> </h3><div id="calendar_wrap"><table id="wp-calendar">				  <caption>June 2011</caption>				  <thead>					<tr>					  <th scope="col" title="Monday">M</th>					  <th scope="col" title="Tuesday">T</th>					  <th scope="col" title="Wednesday">W</th>					  <th scope="col" title="Thursday">T</th>					  <th scope="col" title="Friday">F</th>					  <th scope="col" title="Saturday">S</th>					  <th scope="col" title="Sunday">S</th>					</tr>				  </thead>				  <tfoot>					<tr>					  <td colspan="3" id="prev" class="pad"> </td>					  <td class="pad"> </td>					  <td colspan="3" id="next" class="pad"> </td>					</tr>				  </tfoot>				  <tbody>					<tr>					  <td colspan="2" class="pad"> </td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td>					</tr>					<tr>					  <td><a href="http://www.nationaldagen.se/" title="Sveriges nationaldag">6</a></td><td>7</td><td>8</td><td id="today">9</td><td>10</td><td>11</td><td>12</td>					</tr>					<tr>					  <td>13</td><td>14</td><td>15</td><td>16</td><td>17</td><td>18</td><td>19</td>					</tr>					<tr>					  <td>20</td><td>21</td><td>22</td><td>23</td><td>24</td><td>25</td><td>26</td>					</tr>					<tr>					  <td>27</td><td>28</td><td>29</td><td>30</td>					  <td class="pad" colspan="3"> </td>					</tr>				  </tbody>		  </table></div></li> </ul>		</div><!-- #primary .widget-area -->	  </div><!-- #main -->	  <div id="footer">		<div id="colophon">		  <table id='ttw_ftable'><tr>			  <td id='ttw_ftdl'><div id="site-info">				  © 2011 - <a href="." title="Website Construction"  >Website Construction</a>			  </div></td>  <td id='ttw_ftdr'></td> </tr></table>		</div><!-- #colophon -->	  </div><!-- #footer -->	</div><!-- #wrapper -->  </body></html>

CSS

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html-------------------------------------------------------------- */html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {	background: transparent;	border: 0;	margin: 0;	padding: 0;	vertical-align: baseline;} body {	line-height: 1;}h1, h2, h3, h4, h5, h6 {	clear: both;	font-weight: normal;}ol, ul {	list-style: none;}blockquote {	quotes: none;}blockquote:before, blockquote:after {	content: '';	content: none;}del {	text-decoration: line-through;}a img {	border: none;}img.weather{	width: 60px; height: 60px;}/* =Weaver helpers-------------------------------------------------------------- */.aligncenter {  /* required for theme submission to WP */				display: block;				margin-left: auto;				margin-right: auto;}.alignleft {	float: left;}.alignright {	float: right;}.ttw-center {  /* generic utility center class - use in Heading Insert Code area maybe */			   clear: both;			   display:block;			   margin-left:auto;			   margin-right:auto;}.wvr-show-posts {	overflow: hidden;}.wvr-show-posts .hentry {	margin-bottom: 24px;}.widget-area .wvr-show-posts .hentry {	margin-bottom: 0px;}.widget-area .wvr-show-posts .entry-title {	font-size:115%;font-weight:bold;margin-bottom:0px;}.widget-area .wvr-show-posts .attachment-thumbnail {	float: left;	margin-right: 2px;	margin-bottom: 0px;	padding: 2px;}#header .meteor-slides {clear:both;}.wp-pagenavi { padding-top:3px; padding-bottom:8px; }/* =superfish helpers-------------------------------------------------------------- */.sf-menu a.sf-with-ul {	padding-right:  2.25em;	min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */}.sf-sub-indicator {	position: absolute;	display: block;	right:  10px;	top:  1.05em; /* IE6 only */	margin-top: 5px;	width:  10px;	height:  10px;	text-indent:  -999em;	overflow: hidden;	background: url(js/superfish/images/arrows-ffffff.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */}a > .sf-sub-indicator {  /* give all except IE6 the correct values */						 top:  .7em;						 background-position: 0 -100px; /* use translucent arrow for modern browsers*/}/* apply hovers to modern browsers */a:focus > .sf-sub-indicator,a:hover > .sf-sub-indicator,a:active > .sf-sub-indicator,li:hover > a > .sf-sub-indicator,li.sfHover > a > .sf-sub-indicator {	background-position: -10px -100px; /* arrow hovers for modern browsers*/}/* point right for anchors in subs */.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }/* apply hovers to modern browsers */.sf-menu ul a:focus > .sf-sub-indicator,.sf-menu ul a:hover > .sf-sub-indicator,.sf-menu ul a:active > .sf-sub-indicator,.sf-menu ul li:hover > a > .sf-sub-indicator,.sf-menu ul li.sfHover > a > .sf-sub-indicator {	background-position: -10px 0; /* arrow hovers for modern browsers*/}/*** shadows for all but IE6 ***/.sf-shadow ul {	background: url(js/superfish/images/shadow.png) no-repeat bottom right;	padding: 0 3px 3px 0;	-moz-border-radius-bottomright: 4px;	-moz-border-radius-topright: 4px;	-webkit-border-top-right-radius: 4px;	-webkit-border-bottom-right-radius: 4px;	display:none;}.sf-shadow ul.sf-shadow-off {	background: transparent;}.sf-menu a {	padding: 5px 8px;}/* =Layout-------------------------------------------------------------- *//*LAYOUT: Two columnsDESCRIPTION: Two-column fixed layout with one sidebar right of content*/#container {	float: left;	margin: 0 -240px 4px 0;	width: 100%;}#content { /* IMPORTANT! need this to make the content bg color work right */		   padding-left: 45px; padding-right: 15px;  margin: 0 280px 0 -20px; width: 670px;}#primary,#secondary {	float: right;	overflow: hidden;	width: 220px;}#secondary {	clear: right;}#footer {	clear: both;	width: 100%;}/*LAYOUT: One column, no sidebarDESCRIPTION: One centered column with no sidebar*/.one-column #content {	margin: 0 auto;	width: 840px;}.one-column #content img {	max-width: 820px;}.one-column #content .page {	padding-right:40px;}.one-column #content .post {	padding-right:40px;} /* one column iframe */#container.one-column-iframe {	width:100%;}#container.one-column-iframe #content .entry-content {	padding:12px 0px 0px 0px;width:100%}#container.one-column-iframe #content {	margin:0px;padding:0px;width:100%;}#container.one-column-iframe #content #comments {	padding:0px 20px 5px 20px;margin-top:-35px;}/* =Fonts-------------------------------------------------------------- */body,input,textarea,.page-title span,.pingback a.url {	font-family: Georgia, "Bitstream Charter", serif;}h3#comments-title,h3#reply-title,#access .menu,#access div.menu ul,#access2 .menu,#access2 div.menu ul,#cancel-comment-reply-link,.form-allowed-tags,#site-info,#site-title,#wp-calendar,.comment-meta,.comment-body tr th,.comment-body thead th,.entry-content label,.entry-content tr th,.entry-content thead th,.entry-meta,.entry-title,.entry-utility,#respond label,.navigation,.page-title,.pingback p,.reply,.widget-title,.wp-caption-text,input[type=submit] {	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;}pre {	font-family: "Courier 10 Pitch", Courier, monospace;}code {	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;} /* =Structure-------------------------------------------------------------- *//* The main theme structure */#access .menu-header,#access2 .menu-header,div.menu,#colophon,#branding,#main,#wrapper {	margin: 0 auto;	width: 940px;}#wrapper {	background: #fff;	margin-top: 20px;	padding: 0 20px;}/* Structure the footer area */#footer-widget-area {	overflow: hidden;}#footer-widget-area .widget-area {	float: left;	margin-left: 4px;	width: 215px;	padding-right:5px;}#site-info {	float: left;	font-size: 14px;	font-weight: bold;	width: 700px;}#site-generator {	float: right;	width: 220px;} /* =Global Elements-------------------------------------------------------------- *//* Main global 'theme' and typographic styles */body {	background: #f1f1f1;}body,input,textarea {	color: #666;	font-size: 12px;	line-height: 18px;}hr {	background-color: #e7e7e7;	border: 0;	clear: both;	height: 1px;	margin-bottom: 18px;}/* Text elements */p {	margin-bottom: 18px;}ul {	list-style: square;	margin: 0 0 18px 1.5em;}ol {	list-style: decimal;	margin: 0 0 18px 1.5em;}ol ol {	list-style: upper-alpha;}ol ol ol {	list-style: lower-roman;}ol ol ol ol {	list-style: lower-alpha;}ul ul,ol ol,ul ol,ol ul {	margin-bottom: 0;}dl {	margin: 0 0 24px 0;}dt {	font-weight: bold;}dd {	margin-bottom: 18px;}strong {	font-weight: bold;}cite,em,i {	font-style: italic;}big {	font-size: 131.25%;}ins {	background: #ffc;	text-decoration: none;}blockquote {	font-style: italic;	padding: 0 3em;}blockquote cite,blockquote em,blockquote i {	font-style: normal;}pre {	background: #f7f7f7;	color: #222;	line-height: 18px;	margin-bottom: 18px;	padding: 1.5em;}abbr,acronym {	border-bottom: 1px dotted #666;	cursor: help;}sup,sub {	height: 0;	line-height: 1;	position: relative;	vertical-align: baseline;}sup {	bottom: 1ex;}sub {	top: .5ex;}input[type="text"],textarea {	background: #f9f9f9;	border: 1px solid #ccc;	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);	padding: 2px;}a:link {	color: #0066cc;}a:visited {	color: #743399;}a:active,a:hover {	color: #ff4b33;}/* Text meant only for screen readers */.screen-reader-text {	position: absolute;	left: -9000px;} /* =Header-------------------------------------------------------------- */#header {	padding: 30px 0 0 0;}#site-title {	float: left;	font-size: 30px;	line-height: 36px;	margin: 0 0 18px 0;	width: 700px;}#site-title a {	color: #000;	font-weight: bold;	text-decoration: none;}#site-description {	clear: right;	float: right;	font-style: italic;	margin: 14px 0 18px 0;	width: 220px;}#info {	  	   position: relative;	   top:5px;	   left:930px;	   height: 24px;	   width: 24px;	   background-repeat: no-repeat;	   background-image:url('iconwheat24.jpeg');}div#info div.tip{	display:none;	width: 300px;	position: relative;	right: 286px;	padding: 5px;	z-index:500;	background: white;	border:solid grey 1px;	-moz-border-radius: 4px;	-webkit-border-radius: 4px;	border-radius: 4px;}/* This is the custom header image */#branding {	margin-top: -10px;}  /* ability to hide things required this one */#branding img {	clear: both;	display: block;	margin-left: auto;	margin-right: auto;	margin-top: 4px;	margin-bottom: 0;}/* =Menu-------------------------------------------------------------- */.menu-add-left {	float:left;	display:inline;	padding-left:4px;	overflow:hidden;	max-height: 38px;}.menu-add {	float:right;	display:inline;	padding-right:4px;	overflow:hidden;	max-height: 38px;}.menu-add-left form,.menu-add-left form div,.menu-add-left a,.menu-add form,.menu-add form div,.menu-add a {	display:inline !important;}.menu-add img {	position:relative;	top:2px;	max-height:24px !important;	border:none;margin:0;	padding-left:4px;}.menu-add-left img {	position:relative;	top:2px; max-height:24px !important;	border:none;margin:0;	padding-right:4px;}#nav-top-menu {   /* needed for IE 7 */				  position:relative;				  z-index:6;}#nav-bottom-menu {	position:relative;	z-index: 5;}#access,#access2 {	background: #000;	display: block;	float: left;	margin: 0 auto;	width: 940px;}#access .menu-header,#access2 .menu-header,div.menu {	font-size: 13px;	margin-left: 12px;	width: 928px;}#access .menu-header ul,#access2 .menu-header ul,div.menu ul {	list-style: none;	margin: 0;}#access .menu-header li,#access2 .menu-header li,div.menu li {	float: left;	position: relative;}#access a,#access2 a {	color: #aaa;	display: block;	line-height: 38px;	padding-bottom: 0;	padding-top: 0;   /* have to add in left/right if NOT sf-menu in generatecss */	text-decoration: none;}#access ul ul,#access2 ul ul {	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	display: none;	position: absolute;	top: 38px;	left: 0;	float: left;	width: 180px;	z-index: 99999;}#access ul ul li,#access2 ul ul li {	min-width: 180px;}#access ul ul ul,#access2 ul ul ul {	left: 100%;	top: 0;}#access ul ul a,#access2 ul ul a {	background: #333;	line-height: 1em;	padding: 10px;	width: 160px;	height: auto;}#access li:hover > a,#access ul ul :hover > a,#access2 li:hover > a,#access2 ul ul :hover > a {	background: #333;	color: #fff;}#access ul li:hover > ul,#access2 ul li:hover > ul {	display: block;} #access ul li.current_page_item > a,#access ul li.current-menu-ancestor > a,#access ul li.current-menu-item > a,#access ul li.current-menu-parent > a,#access2 ul li.current_page_item > a,#access2 ul li.current-menu-ancestor > a,#access2 ul li.current-menu-item > a,#access2 ul li.current-menu-parent > a {	color: #fff;}* html #access ul li.current_page_item a,* html #access ul li.current-menu-ancestor a,* html #access ul li.current-menu-item a,* html #access ul li.current-menu-parent a,* html #access ul li a:hover,* html #access2 ul li.current_page_item a,* html #access2 ul li.current-menu-ancestor a,* html #access2 ul li.current-menu-item a,* html #access2 ul li.current-menu-parent a,* html #access2 ul li a:hover {	color: #fff;}/* =Content-------------------------------------------------------------- */#main {	clear: both;	overflow: hidden;	padding: 40px 0 0 0;}#content {	margin-bottom: 36px;}#content,#content input,#content textarea {	color: #333;	font-size: 16px;	line-height: 24px;}#content p,#content ul,#content ol,#content dd,#content pre,#content hr {	margin-bottom: 24px;}#content ul ul,#content ol ol,#content ul ol,#content ol ul {	margin-bottom: 0;}#content pre,#content kbd,#content tt,#content var {	font-size: 15px;	line-height: 21px;}#content code {	font-size: 13px;}#content dt,#content th {	color: #000;}#content h1,#content h2,#content h3,#content h4,#content h5,#content h6 {	color: #000;	line-height: 1.5em;	margin: 0 0 20px 0;} .hentry {	margin: 0 0 40px 0;}.home .sticky,#container.page-with-posts .sticky {	background-color: #888;	border-top: 2px dotted #444;	border-bottom: 2px dotted #444;	margin-right:4px; margin-left:1px;	padding: 18px 20px;}.single .hentry {	margin: 0 0 36px 0;}.page-title {	color: #000;	font-size: 14px;	font-weight: bold;	margin: 0 0 36px 0;}.page-title span {	font-size: 16px;	font-style: italic;	font-weight: normal;}.page-title a:link,.page-title a:visited {	color: #888;	text-decoration: none;}.page-title a:active,.page-title a:hover {	color: #ff4b33;}#content .entry-title {	color: red;	font-size: 21px;	font-weight: bold;	line-height: 1.3em;	margin-bottom: 0;} .entry-title a:link,.entry-title a:visited {	color: #000;	text-decoration: none;}.entry-title a:active,.entry-title a:hover {	color: #ff4b33;}.entry-meta {	color: #888;	font-size: 12px;}.entry-meta abbr,.entry-utility abbr {	border: none;}.entry-meta abbr:hover,.entry-utility abbr:hover {	border-bottom: 1px dotted #666;}.entry-content,.entry-summary {	clear: both;	padding: 12px 0 0 0;}#content .entry-summary p:last-child {	margin-bottom: 12px;}.entry-content fieldset {	border: 1px solid #e7e7e7;	margin: 0 0 24px 0;	padding: 24px;}.entry-content fieldset legend {	background: #fff;	color: #000;	font-weight: bold;	padding: 0 24px;}.entry-content input {	margin: 0 0 24px 0;}.entry-content input.file,.entry-content input.button {	margin-right: 24px;}.entry-content label {	color: #888;	font-size: 12px;}.entry-content select {	margin: 0 0 24px 0;}.entry-content sup,.entry-content sub {	font-size: 10px;}.entry-content blockquote.left {	float: left;	margin-left: 0;	margin-right: 24px;	text-align: right;	width: 33%;}.entry-content blockquote.right {	float: right;	margin-left: 24px;	margin-right: 0;	text-align: left;	width: 33%;}.page-link {	color: #000;	font-weight: bold;	margin: 0 0 22px 0;	word-spacing: 0.5em;	clear:both;}.page-link a:link,.page-link a:visited {	background: #f1f1f1;	color: #333;	font-weight: normal;	padding: 0.5em 0.75em;	text-decoration: none;}.home .sticky .page-link a {	background: #a8a8a8;}.page-link a:active,.page-link a:hover {	color: #ff4b33;}body.page .edit-link{	clear: both;}#content .attachment-thumbnail {	float: left;	margin-right: 12px;	margin-bottom: 12px;	padding: 3px;}#content .attachment-thumbnail-single {	float: left;	margin-right: 25px;	margin-bottom: 12px;	padding: 3px;}#entry-author-info {	background-color: #888;	border-top: 2px dotted #444;	border-bottom: 2px dotted #444;	margin: 0 4px 5px 1px;	padding: 18px 20px;	clear: both;	overflow: hidden;	font-size: 12px;}#entry-author-info #author-avatar {	background: #fff;	border: 1px solid #888;	float: left;	height: 60px;	margin: 0 -100px 0 0;	padding: 3px;}#entry-author-info #author-description {	float: left;	margin: 0 0 0 104px;}#entry-author-info h2 {	color: #000;	font-size: 100%;	font-weight: bold;	margin-bottom: 0;}.entry-utility {	clear: both;	color: #888;	font-size: 12px;	line-height: 18px;}.entry-meta a,.entry-utility a {	color: #888;}.entry-meta a:hover,.entry-utility a:hover {	color: #ff4b33;}#content .video-player {	padding: 0;}#wvr-sitemap h3 {	line-height: 2em;	margin: 0 0 10px 0;	font-size:130%;	font-weight:bold;}/* =Asides-------------------------------------------------------------- */.home #content .category-asides p {	font-size: 14px;	line-height: 20px;	margin-bottom: 10px;	margin-top: 0;}.home .hentry.category-asides {	padding: 0;}.home #content .category-asides .entry-content {	padding-top: 0;} /* =Gallery listing-------------------------------------------------------------- */.category-gallery .size-thumbnail img {	border: 10px solid #f1f1f1;	margin-bottom: 0;}.category-gallery .gallery-thumb {	float: left;	margin-right: 20px;	margin-top: -4px;}.home #content .category-gallery .entry-utility {	padding-top: 4px;} /* =Attachment pages-------------------------------------------------------------- */.attachment .entry-content .entry-caption {	font-size: 140%;	margin-top: 24px;}.attachment .entry-content .nav-previous a:before {	content: '\2190\00a0';}.attachment .entry-content .nav-next a:after {	content: '\00a0\2192';} /* =Images-------------------------------------------------------------- */#content img {	margin: 0;	height: auto;	max-width: 640px;}#content .attachment img {	max-width: 900px;}#content .alignleft,#content img.alignleft {	display: inline;	float: left;	margin-right: 24px;	margin-top: 4px;}#content .alignright,#content img.alignright {	display: inline;	float: right;	margin-left: 24px;	margin-top: 4px;}#content .aligncenter,#content img.aligncenter {	clear: both;	display: block;	margin-left: auto;	margin-right: auto;}#content img.alignleft,#content img.alignright,#content img.aligncenter {	margin-bottom: 12px;}#content .wp-caption p.wp-caption-text {	background-color:#F1F1F1;	color:#333;	margin-top:-20px;	margin-right:-2px;	margin-bottom:0px;	font-size: 12px;	padding:8px;	text-align:center;	font-style:italic;}#content .wp-caption .size-full,#content .wp-caption .size-large,#content .wp-caption .size-medium,#content .wp-caption .size-thumbnail,#content .wp-caption .size-thumbnail {	background-color:#F1F1F1;}#content .size-full,#content .size-large,#content .size-medium,#content .size-thumbnail,#content .size-thumbnail {	background-color: transparent;	line-height: 18px;	margin-bottom: 10px;	padding: 6px;	text-align: center;}#content .wp-smiley {	margin: 0;}/* gallery shortcode auto generates: .gallery-item, img, .gallery-caption  */#content .gallery .gallery-caption {	color: #333; font-style:italic;	font-size: 12px;	text-align:left !important;}#content .gallery dl {	margin: 0;}#content .gallery dd {clear: both;} /* captions on the bottom! */#contentx .gallery br+br {	display: none;}#content .attachment .entry-content img { /* single attachment images should be centered */										  display: block;										  margin: 0 auto;}/* =Navigation-------------------------------------------------------------- */.navigation {	color: #888;	font-size: 12px;	line-height: 18px;	overflow: hidden;}.navigation a:link,.navigation a:visited {	color: #888;	text-decoration: none;}.navigation a:active,.navigation a:hover {	color: #ff4b33;}.nav-previous {	float: left;	width: 50%;}.nav-next {	float: right;	text-align: right;	width: 50%;}#nav-above {	margin: 0 0 18px 0;}#nav-above {	display: none;}.paged #nav-above,.single #nav-above {	display: block;}#nav-below {	margin: 4px 0 0 0;}/* =Comments-------------------------------------------------------------- */#comments {	clear: both;}#comments .navigation {	padding: 0 0 18px 0;}h3#comments-title,h3#reply-title {	color: #000;	font-size: 20px;	font-weight: bold;	margin-bottom: 0;}h3#comments-title {	padding: 24px 0;}.commentlist {	list-style: none;	margin: 0;}.commentlist li.comment {	border-bottom: 1px solid #e7e7e7;	line-height: 24px;	margin: 0 0 24px 0;	padding: 0 0 0 56px;	position: relative;}.commentlist li:last-child {	border-bottom: none;	margin-bottom: 0;}#comments .comment-body ul,#comments .comment-body ol {	margin-bottom: 18px;}#comments .comment-body p:last-child {	margin-bottom: 6px;}#comments .comment-body blockquote p:last-child {	margin-bottom: 24px;}.commentlist ol {	list-style: decimal;}.commentlist .avatar {	position: absolute;	top: 4px;	left: 0;}.comment-author {}.comment-author cite {	color: #000;	font-style: normal;	font-weight: bold;}.comment-author .says {	font-style: italic;}.comment-meta {	font-size: 12px;	margin: 0 0 18px 0;}.comment-meta a:link,.comment-meta a:visited {	color: #888;	text-decoration: none;}.comment-meta a:active,.comment-meta a:hover {	color: #ff4b33;}.commentlist .even {}.commentlist .bypostauthor {}.reply {	font-size: 12px;	padding: 0 0 24px 0;}.reply a,a.comment-edit-link {	color: #888;}.reply a:hover,a.comment-edit-link:hover {	color: #ff4b33;}.commentlist .children {	list-style: none;	margin: 0;}.commentlist .children li {	border: none;	margin: 0;}.nopassword,.nocomments {	display: none;}#comments .pingback {	border-bottom: 1px solid #e7e7e7;	margin-bottom: 18px;	padding-bottom: 18px;}.commentlist li.comment+li.pingback {	margin-top: -6px;}#comments .pingback p {	color: #888;	display: block;	font-size: 12px;	line-height: 18px;	margin: 0;}#comments .pingback .url {	font-size: 13px;	font-style: italic;}/* Comments form */input[type=submit] {	color: #333;}#respond {	border-top: 1px solid #e7e7e7;	margin: 24px 0;	overflow: hidden;	position: relative;}#respond p {	margin: 0;}#respond .comment-notes {	margin-bottom: 1em;}.form-allowed-tags {	line-height: 1em;}.children #respond {	margin: 0 48px 0 0;}h3#reply-title {	margin: 18px 0;}#comments-list #respond {	margin: 0 0 18px 0;}#comments-list ul #respond {	margin: 0;}#cancel-comment-reply-link {	font-size: 12px;	font-weight: normal;	line-height: 18px;}#respond .required {	color: #ff4b33;	font-weight: bold;}#respond label {	color: #888;	font-size: 12px;}#respond input {	margin: 0 0 9px;	width: 98%;}#respond textarea {	width: 98%;}#respond .form-allowed-tags {	color: #888;	font-size: 12px;	line-height: 18px;}#respond .form-allowed-tags code {	font-size: 11px;}#respond .form-submit {	margin: 12px 0;}#respond .form-submit input {	font-size: 14px;	width: auto;} /* =Widget Areas-------------------------------------------------------------- */.widget-area ul {	list-style: none;	margin-left: 0;	margin-bottom: 10px;}.widget-area ul ul {	list-style: square;	margin-left: 1.3em;}.widget_search #s {/* This keeps the search inputs in line */				   width: 60%;}.widget_search label {	display: none;}.widget-container {	margin: 0px 0 18px 0;}.widget-area {padding-right:0px;}.widget-title {	color: #222;	font-weight: bold;}.widget-area a:link,.widget-area a:visited {	text-decoration: none;}.widget-area a:active,.widget-area a:hover {	text-decoration: underline;}.widget-area .entry-meta {	font-size: 11px;}#wp_tag_cloud div {	line-height: 1.6em;}#wp-calendar {	width: 100%;}#wp-calendar caption {	color: inherit;	font-size: 14px;	font-weight: bold;	padding-bottom: 4px;	padding-left: 2px;	text-align: left;}#wp-calendar thead {	font-size: 11px;}#wp-calendar thead th {}#wp-calendar tbody {	color: inherit;}#wp-calendar tbody td {	background-color: rgba(0, 0, 0, .06);	border: 1px solid #fff;	padding: 3px 0 2px;	text-align: center;}#wp-calendar tbody .pad {	background: none;}#wp-calendar tfoot #next {	text-align: right;}#wp-calendar a {	font-weight:bold;	font-style:italic;}.widget_rss a.rsswidget {	color: #000;}.widget_rss a.rsswidget:hover {	color: #ff4b33;}.widget_rss .widget-title img {	width: 11px;	height: 11px;}/* Main sidebars */#main .widget-area ul {	margin-left: 0;	padding: 0 10px 0px 0; /* changed from 20 to 10 */}#main .widget-area ul ul {	border: none;	margin-left: 1.3em;	padding: 0;}#primary {}#secondary {}/* Footer widget areas */#footer-widget-area {}/* Weaver widget areas and templates */#ttw-top-widget,#ttw-bot-widget,#ttw-site-top-widget,#ttw-site-bot-widget,#per-page-widget { /* default styling for our top/bottom widget areas */				   margin-left: 50px;				   margin-right: 50px;				   margin-top: 0px;				   overflow: hidden;				   width: 600px;}#ttw-top-widget,#ttw-site-top-widget,#per-page-widget {	margin-bottom: 10px;}.one-column #ttw-top-widget,.one-column #ttw-bot-widget,.one-column #ttw-site-top-widget,.one-column #ttw-site-bot-widget,.one-column #per-page-widget {	margin-left:60px !important;	margin-right:auto !important;	width: 800px !important;}.one-column-iframe #ttw-top-widget,.one-column-iframe #ttw-bot-widget,.one-column-iframe #ttw-site-top-widget,.one-column-iframe #ttw-site-bot-widget,.one-column-iframe #per-page-widget {	margin-left:60px !important;	margin-right:auto !important;	width: 800px !important;}#ttw-head-widget {	height:36px;	margin-bottom:10px;	text-align: right;	padding:2px;	display:inline;}#ttw-head-widget .textwidget {	display:inline;	margin-left: 10px;}/* Right Alt template */.right-alt #container {	float: left;	margin: 0 0px 4px 0;	width: 700px;} /* width-200-40 700px? */.right-alt #content {	float: left;	margin:0 0px 10px 0px;	overflow:hidden;	padding: 5px 0px 0px 20px;	width: 670px;}.right-alt #content img {	max-width: 660px;}#altright {	float: right;	overflow: hidden;	width: 220px;	margin: 0 0 4px 0;} /* Left alt template */.left-alt #container {	float: right;	margin: 0 -240px 4px 0;	width: 100%;}.left-alt #content {	margin: 0px 240px 4px 0px;	width: 658px;	padding: 10px 15px 5px 25px;}.left-alt #content img {	max-width: 650px;}#altleft {	float: left;	width: 220px;	padding-left: 15px;	margin-bottom:4px;	overflow:hidden;}/* multiple columns */div.multi-content-col-left {	float: left;	width: 47%;	padding-right: 3%;}div.multi-content-col-right {	float: left;	width: 47%;}div.clear-cols {	clear: both;} /* =Footer-------------------------------------------------------------- */#ttw_ftable {	border:0;	width:98%;	margin:0;	padding:0;}#ttw_ftdl {	text-align:left;}#ttw_ftdr {	text-align:right;}#footer {	margin-bottom: 5px;	margin-top:2px;}#colophon {	border-top: 4px solid #000000;	margin-top: -4px;	padding: 10px 0;	overflow: hidden;}#site-info {	float: left;	width: 100%;	font-weight: normal;	font-size: inherit;	margin-left:10px;	padding-top: 4px;}#site-info a {	color: #888888;	text-decoration: none;}#site-generator {	position: relative;	font-style: italic;	float: right;	width: 100%;}#site-generator a {	color: #888888;	display:inline-block;	text-decoration: none;	background: url(images/wordpress.png) center left no-repeat;	padding-left: 19px;	line-height: 16px;	margin-left: 1px;}#site-generator a:hover {	text-decoration: underline;}img#wpstats {	display:block;	margin: 0 auto 10px;} /* =Mobile Safari ( iPad, iPhone and iPod Touch )-------------------------------------------------------------- */pre {	-webkit-text-size-adjust: 140%;}code {	-webkit-text-size-adjust: 160%;}#access,#access2,.entry-meta,.entry-utility,.navigation,.widget-area {	-webkit-text-size-adjust: 120%;}#site-description {	-webkit-text-size-adjust: none;}/* =Print Style-------------------------------------------------------------- */@media print {	body {		background: none !important;	}	#wrapper {		clear: both !important;		display: block !important;		float: none !important;		position: relative !important;	}	#header {		border-bottom: 2pt solid #000;		padding-bottom: 18pt;	}	#colophon {		border-top: 2pt solid #000;	}	#site-title,	#site-description {		float: none;		line-height: 1.4em;		margin: 0;		padding: 0;	}	#site-title {		font-size: 13pt;	}	.entry-content {		font-size: 14pt;		line-height: 1.6em;	}	.entry-title {		font-size: 21pt;	}	#access,	#access2,	#branding img,	#respond,	.comment-edit-link,	.edit-link,	.navigation,	.page-link,	.widget-area {		display: none !important;	}	#container,	#header,	#footer {		margin: 0;		width: 100%;	}	#content,	.one-column #content {		margin: 24pt 0 0;		width: 100%;	}	.wp-caption p {		font-size: 11pt;	}	#site-info,	#site-generator {		float: none;		width: auto;	}	#colophon {		width: auto;	}	img#wpstats {		display: none;	}	#site-generator a {		margin: 0;		padding: 0;	}	#entry-author-info {		border: 1px solid #e7e7e7;	}	#main {		display: inline;	}	.home .sticky {		border: none;	}}

Link to comment
Share on other sites

Good evening leso9903, It apears that Hello World is a link on your page so you will need to change the .entry-title a:link and .entry-title a:visited declarations. Kind regards, Lab.

Link to comment
Share on other sites

Good evening leso9903, It apears that Hello World is a link on your page so you will need to change the .entry-title a:link and .entry-title a:visited declarations. Kind regards, Lab.
Hmm, I changed #content .entry-title { color:red; font-size: 21px; font-weight: bold; line-height: 1.3em; margin-bottom: 0;}.entry-title a:link,.entry-title a:visited { color:red; text-decoration: none;}.entry-title a:active,.entry-title a:hover { color:red;} but nothing seems to change.. I was thinking it might do with the CSS file names (because I replaced them with a CSS file from another site) but I did change the CSS names to the original name. The CSS files is in a map called css and the file names are style.css and style-weaver.css
Link to comment
Share on other sites

I have another CSS file that I didn't link (it doesn't work anymore).. The text color do change without this CSS file, but so does almost very other attribute from the site. Something in style-weaver.css overwrites style.css. That is, something overwrites the text color on Hello world.. style-weaver.css

/* WARNING: Do not edit this file. It is dynamically generated. Any edits you make will be overwritten. *//* This file generated using Weaver V2.0 subtheme: Wheat *//* General Options */#main {padding: 15px 0 0 0;}#access, #access li ul ul > a {font-weight:bold;}#access2, #access2 li ul ul > a {font-weight:bold;}body, input, textarea, .page-title span, .pingback a.url {font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;}body {background-image: url(http://localhost/wp/wp-content/themes/weaver/images/gr.png); background-attachment: scroll; background-repeat: repeat-x;}#access, #access2 { background-image: url(http://localhost/wp/wp-content/themes/weaver/images/weaver/fade.png);}#access ul ul a, #access li:hover > a, #access ul ul :hover > a  { background-image: url(http://localhost/wp/wp-content/themes/weaver/images/weaver/fadeup.png);}#access2 ul ul a, #access2 li:hover > a, #access2 ul ul :hover > a  { background-image: url(http://localhost/wp/wp-content/themes/weaver/images/weaver/fadeup.png);}#site-description {font-size:130%; font-weight:bold;}#content {font-size: 120%; line-height: 125%; }#comments {font-size: 90%; line-height: 90%; }#wrapper {border: 1px solid #222222; padding-right: 20px; margin-top: 15px; margin-bottom: 15px;}#header {margin-top: 0px;}#primary, #secondary, #altleft, #altright, #altleft, #altright {border: 1px solid #222222;}#ttw-top-widget, #ttw-bot-widget, #ttw-site-top-widget, #ttw-site-bot-widget, #per-page-widget {border: 1px solid #222222;}#container, #primary, #secondary, #altleft, #altright, #ttw-top-widget, #ttw-bot-widget,  #ttw-site-top-widget, #ttw-site-bot-widget, #per-page-widget {-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;}#access {-moz-border-radius-bottomleft: 7px; -moz-border-radius-bottomright: 7px;-webkit-border-bottom-left-radius: 7px; -webkit-border-bottom-right-radius: 7px;border-bottom-left-radius: 7px; border-bottom-right-radius: 7px;}#access2 {-moz-border-radius-topleft: 7px; -moz-border-radius-topright: 7px;-webkit-border-top-left-radius: 7px; -webkit-border-top-right-radius: 7px;border-top-left-radius: 7px; border-top-right-radius: 7px;}#wrapper {-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; margin-top: 15px; margin-bottom: 15px;}#access a, #access2 a { padding-left:10px; padding-right:10px;}/* Sidebar arrangement *//* Color and custom CSS */#site-title {position: absolute; margin-left: 40px; margin-top: 44px;}#site-description { width:50%; text-align:left; clear: both; float: left; position:absolute; margin-left: 40px; margin-top: 90px; }body {background-color: #C7B491;}#container {background-color: transparent;}#content {background-color: transparent;}#content, #content input, #content textarea {color: #292929;}#site-description {color: #FFFAEF;}#footer {background-color: #F5DEB3;}#colophon { border-top: 4px solid #AB9B7D ;  }#first,#second, #third, #fourth {background-color: transparent;padding-left: 10px; padding-top: 10px; margin-bottom: 5px;}#header {background-color: transparent;}.entry-title {border-bottom: 1px solid #0A0A0A;}hr {background-color: #AB9B7D;}.page-title a:link {color: #474134;}.entry-meta a:link {color: #474134;}.entry-utility a:link {color: #474134;}.navigation a:link {color: #474134;}.comment-meta a:link {color: #474134;}.reply a:link, a.comment-edit-link:link {color: #474134;}.page-title a:active, .page-title a:hover {color: #C91640;}.entry-meta a:hover, .entry-meta a:active {color: #C91640;}.entry-utility a:hover, .entry-utility a:active {color: #C91640;}.navigation a:active, .navigation a:hover {color: #C91640;}.comment-meta a:active, .comment-meta a:hover {color: #C91640;}.reply a:active, a.comment-edit-link:active, .reply a:hover, a.comment-edit-link:hover {color: #C91640;}.page-title a:visited {color: #706752;}.entry-meta a:visited {color: #706752;}.entry-utility a:visited {color: #706752;}.navigation a:visited {color: #706752;}.comment-meta a:visited {color: #706752;}.reply a:visited, a.comment-edit-link:visited {color: #706752;}#comments .pingback p {color: #706752;}#respond label, #respond dt, #respond dd {color: #706752;}.entry-meta, .entry-content label, .entry-utility {color: #706752;}#content .wp-caption, #content .gallery .gallery-caption {color: #706752;}.navigation {color: #706752;}.entry-meta {background-color: transparent;}.entry-utility {background-color: transparent;}input[type="text"], textarea, input[type="submit"], ins {background-color: #F0F0F0;}a:link {color: #474134;}a:active, a:hover {color: #C91640;}a:visited {color: #706752;}#main {background-color: transparent;}#content .wp-caption p.wp-caption-text, #content .gallery .gallery-caption {color: #333333;}#content .size-full, #content .size-large, #content .size-medium, #content .size-thumbnail,#content .size-thumbnail {background-color: transparent;}#content .wp-caption p.wp-caption-text,#content .wp-caption .size-full, #content .wp-caption .size-large, #content .wp-caption .size-medium,#content .wp-caption .size-thumbnail, #content .wp-caption .size-thumbnail {background-color: #F1F1F1;}#access, #access2 {background-color: #AB9B7D;}#access ul li.current_page_item > a, #access ul li.current-menu-ancestor > a,#access ul li.current-menu-item > a, #access ul li.current-menu-parent > a {color: #474134;}#access2 ul li.current_page_item > a, #access2 ul li.current-menu-ancestor > a,#access2 ul li.current-menu-item > a, #access ul li.current-menu-parent > a {color: #474134;}#access li:hover > a, #access ul ul :hover > a {color: #F0EBE0;}#access2 li:hover > a, #access2 ul ul :hover > a {color: #F0EBE0;}#access ul ul a, #access li:hover > a, #access ul ul :hover > a  {background-color: #BAA987;}#access2 ul ul a, #access2 li:hover > a, #access2 ul ul :hover > a  {background-color: #BAA987;}#access a {color: #FFFAEF;}#access2 a {color: #FFFAEF;}#wrapper {background-color: #FEF3DD;}.entry-title a:link {color: #0A0A0A;}.widget_rss a.rsswidget:link {color: #0A0A0A;}.entry-title a:active, .entry-title a:hover {color: #C91640;}.widget_rss a.rsswidget:active, .widget_rss a.rsswidget:hover {color: #C91640;}.entry-title a:visited {color: #0A0A0A;}.widget_rss a.rsswidget:visited {color: #0A0A0A;}.post {background-color: transparent;}#primary {background-color: #F5DEB3;padding-left: 10px; padding-top: 10px; margin-bottom: 5px;}#secondary {background-color: #F5DEB3;padding-left: 10px; padding-top: 10px; margin-bottom: 5px;}#altright, #altleft {background-color: #F5DEB3;padding-left: 10px; padding-top: 10px; margin-bottom: 5px;}.home .sticky, #entry-author-info, #container.page-with-posts .sticky {background-color: #E6DCC8;}#content h1, #content h2, #content h3, #content h4, #content h5, #content h6, #content dt, #content th {color: #0A0A0A;}h1, h2, h3, h4, h5, h6 {color: #0A0A0A;}.page-title {color: #0A0A0A;}.page-link {color: #0A0A0A;}#entry-author-info h2 {color: #0A0A0A;}h3#comments-title, h3#reply-title {color: #0A0A0A;}.comment-author cite {color: #0A0A0A;}.entry-content fieldset legend {color: #0A0A0A;}#content .entry-title {color: #0A0A0A;}#site-title a { color: #FEF9EE; }#ttw-top-widget, #ttw-bot-widget, #ttw-site-top-widget, #ttw-site-bot-widget, #per-page-widget {background-color: #F5DEB3;padding-left: 10px; padding-top: 10px; margin-bottom: 10px;}table { border-collapse:collapse;border-spacing:0;}th { text-align:left; padding:4px 4px; }td { margin:0;padding:4px 4px; }#content table { border: 2px solid #AAA; text-align: left; margin: auto; margin-bottom: 5px; width: auto; }#content tr th, #content thead th { color: inherit; background-color: rgba(0,0,0,.1); font-size: medium;   font-weight: normal; line-height: normal; padding: 5px 10px; }#content tr td { border: 1px solid #AAA; padding: 5px 10px; }#content tr.odd td { background: inherit; }.widget-area {color: #333333;}.widget-title {border-bottom: 1px solid #222222; margin-bottom:5px;}.widget-container {background-color: transparent;}.widget-title {color: #222222;}.widget_search label {color: #222222;}#wp-calendar caption {color: #222222;}#primary a:link, #secondary a:link, #altleft a:link, #altright a:link, #footer-widget-area a:link {color: #474134;}#primary a:hover, #secondary a:hover, #altleft a:hover, #altright a:hover, #footer-widget-area a:hover {color: #C91640;}#primary a:visited, #secondary a:visited, #altleft a:visited, #altright a:visited, #footer-widget-area a:visited {color: #706752;}#wrapper {box-shadow: 0 0 3px 3px rgba(0,0,0,0.25); -webkit-box-shadow: 0 0 3px 3px rgba(0,0,0,0.25); -moz-box-shadow: 0 0 3px 3px rgba(0,0,0,0.25);}/* end Weaver CSS */

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...