change post links but not post title?
-
hi there.
i am trying to alter my css so that when you hover over a link within a post, it turns to #1E9OFF. Also, right now the links within my posts are serif, and i would like them to be sans-serif (without changing the post titles to sans-serif). I’ve been trying and experimenting all day with no luck!here is my site: https://www.areyoumodest.com
here is my css:
/*
Theme Name: Upstart Blogger Modicus 2-Column
Theme URI: https://upstartblogger.com/wordpress-theme-upstart-blogger-modicus
Description: Simple, clean theme. For updates, please subscribe to Upstart Blogger.
Version: 0.3https://areyoumodest.com/wordpress/wp-admin/theme-editor.php?file=/themes/ub_modicus2c/style.css&theme=Upstart+Blogger+Modicus+2-Column&a=te
Author: Upstart Blogger
Author URI: https://www.mysticsoftheordinary.com/
License: Creative Commons Attribution-Share Alike 3.0 (https://creativecommons.org/licenses/by-sa/3.0/. Feel free to make any changes, but please keep a link back to Upstart Blogger in your sidebar or footer.
*/
/* @group Normalize */
<script type=”text/javascript”>
var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “https://www.”);
document.write(unescape(“%3Cscript src='” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
try {
var pageTracker = _gat._getTracker(“UA-7135520-1”);
pageTracker._trackPageview();
} catch(err) {}</script>
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
margin: 0;
padding: 0;
}
h1,h2,h3,h4,h5,h6 {
font-size: 100%;
}
ol,ul {
list-style: none;
}
address, caption, cite, code, dfn, em, strong, th, var {
font-style: normal;
font-weight: normal;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset,img {
border: 0;
}
caption,th {
text-align: left;
}
q:before, q:after {
content: ”;
}
/* @end */
/* @group Structure */
#homebody {
text-align: left;
font-size: 2em;
line-height: 2.5em;
letter-spacing: .1em;
width: 916px;
padding-top: 200px;
}
#wrapper {
font-size: 1.1em;
width: 916px;
margin: 0 auto;
text-align: center;
position: relative;
}
#header {
text-align: left;
margin: 10px 0;
height: 150px;
font-size: 3em;
font-variant: small-caps;}
body {
margin: 0 auto;
padding: 0;
background-color: #fff;
color: #444;
font: 62.5%/200% Arial, Helvetica, sans-serif;
text-align: center;
}
.description {font-size: .3em;}#header img {
border: 0px solid #bebebe;
float: left;
}#sidebar {
font-family: Arial, sans-serif;
font-weight: normal;
font-size: 8pt;
text-align:left;
position: absolute;
top: 182px;
width: 110px;
padding-bottom: 25px;
margin-left: 5;
}#footer {
}
/* @end */
/* @group Links */
a:link, a:visited {
color: #00000;
text-decoration: none;
font-weight: light;
}
a:hover {
color: silver;
border-bottom: none;
}
#sidebar a {
color: #000000;
border: none;
font-weight: light;}
#sidebar p a {
color: #000000;
font-weight: light;}.post li a {
color: #000000;
font-family: Georgia, serif;
font-weight: normal;
font-variant: small-caps;
font-weight: normal;}
a:hover {
color: #1E90FF;
cursor: crosshair;
border-bottom: none;
}#sidebar h1 a {
font-family: Helvetica, sans-serif;
font-weight: light;
font-size: .8em;
text-transform: none;
line-height: 1.2em;
}
a:link.subscribe, a:visited.subscribe {
color: #000000;}
a:hover.subscribe {
color: silver;}
.cat a:link, .cat a:visited{
text-transform: uppercase;
color: #000000;
}
.cat a:hover{
text-transform: uppercase;
color: silver;}
/* @end */
/* @group Lists */
.post li p {display: inline;}
.post li {display: inline;}
.post li {display: block;}
ul {padding-bottom: 1em;}
ul.related li a{display: block;}
ul.related li {display: block;}
ul.archive li{display: block; padding: 0 0 1em; font-size: 2em;}
ul.archive p {font-size: .5em; display: block; padding: 0;}
ul.archive li p {padding: .5em 0em 0em .0em;}
ul.archive {margin: 0; padding: 1.5em;}
/* @end */
/* @group Posts */
p.postmetadata {
line-height: 100%;
font-size: 12pt;
margin: 0 0 0;
color: #5e5e5e;
}
.post {
font-family: Lucida Sans Unicode, sans-serif;
font-size: 10pt;
font-weight: normal;
text-align: left;
margin-left: 0px;
width: 450px;
position: absolute;
top: 170px;
padding-bottom: 25px;}
.entry a{.post img {
max-width: 550px;
padding: 2px;
border: 1px solid silver;
}
.post-image {
width: 100%; height: 100%; border: 1px solid #bebebe;
content: uri(‘images/m.jpg’);
}
.post p:first-child {
font-weight: bold;
font-size: 1.4em;
padding-top: 0px;
color: #f5467a;
}
.post blockquote p:first-child {
font-weight: bold;
color: #444;
font-size: inherit;}
.post blockquote {
font-weight: normal;
color: #444; f
ont-size: 1.1em;
border-left: 2px solid silver;
margin: 1.2em 0 1.2em 2em;
padding-left: 1em;}
/* @end */
/* @group Miscellaneous */#sidebar h1 {
font-weight: normal;
font-size: 3em;
text-transform: none;
line-height: 1.2em;
}
.cat {text-transform: uppercase;}
p {padding: 1em 0 .5em 0;}
strong {font-weight: light;}
h2 {padding-top: 10px;
font-size: 1em;
}
a:link, a:visited {color: #000000;}h3 {
padding-top: 10px;
text-transform: uppercase;
}
.normal {font-weight: normal;}
.navigation {
margin: 0 0 1em;
}
.center {text-align: center;}
.borderless img, img.borderless {border: none;}
.imgleft {float:left;}
em {font-style: italic;}
.alignleft {float: left;}
.alignright {float: right;}
/* @end */
/* @group Comments */
div.bubble {
width: auto;
margin-bottom: 24px;
}
div.bubble blockquote {
margin: 0px;
padding: 10px;
border: 1px solid #c9c2c1;}
div.bubble blockquote p {
margin: 0px;
padding: 0px;
line-height: 1.3em;
}
div.bubble cite {
position: relative;
margin: -7px;
padding: 7px 0px 10px 15px;
top: 5px;
background: transparent url(‘images/tip.gif’) no-repeat 20px 0;
font-style: normal;
font-size: 1em;
display: block;
}
.alt {
margin: 0;
padding: 0;
}
#commentform p {
padding: 5px 0;
font-size: 1.2em;
}
#comment {
width: 336px;
height: 100px;
}
.nocomments {
text-align: center;
margin: 0;
padding: 0;
}
.commentmetadata {
margin: 0;
display: block;
}
#commentPreview {
font-size: .8em;}
/* @end */
/* @group Calendar */
#wp-calendar {
empty-cells: show;
margin: 10px auto 0;
width: 125px;
}
#wp-calendar #next a {
padding-right: 10px;
text-align: right;
}
#wp-calendar #prev a {
padding-left: 10px;
text-align: left;
}
#wp-calendar a {
display: block;
}
#wp-calendar caption {
text-align: center;
width: 100%;
}
#wp-calendar td {
padding: 3px 0;
text-align: center;
}
#wp-calendar td.pad:hover { /* Doesn’t work in IE */
background-color: #fff; }
#wp-calendar #prev a, #wp-calendar #next a {
font-size: 9pt;
}
#wp-calendar a {
text-decoration: none;
}
#wp-calendar caption {
font: bold 1.3em “Helvetica Neue”, Helvetica, Arial, Sans-Serif;;
text-align: center;
}
#wp-calendar th {
font-style: normal;
text-transform: capitalize;}
#nav {
font-family: Arial, sans-serif;
font-size: 11pt;
font-style: bold;
text-align: left;padding:0px;
margin:-10px;
background-color:#FFFFFF;
color:#000000;
border-bottom: 1px solid #000000;position: relative;
z-index: 3;
}#nav a {
color:#000000;
text-decoration:none;
padding-right:20px;
letter-spacing:1.4pt;
}
#nav a:hover {text-decoration:none;
}/* @end */
/* @group Search */
#search_form {
width: 15px;}
.search_input {
width: 5px;}
/* @end */
- The topic ‘change post links but not post title?’ is closed to new replies.