Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
How would YOU do this? (CSS blog title)
Old 01-24-2008, 04:50 PM How would YOU do this? (CSS blog title)
Junior Talker

Posts: 2
Trades: 0
Here's the deal. I'm trying to create a WordPress theme using ThemesPress.com. The problem I'm having is with the post title (H2, I guess). I can't seem to edit it. I want to enlarge it, but the only to do that is by enlarging the whole post. I can't isolate just the post title.
Here's my code:

/*
Theme Name: CopyBlog
Theme URI: http://jonathanbostrom.com/
Description: Copywriting blog
Version: 1.0
Author: Jonathan Bostrom
Author URI: http://jonathanbostrom.com/
*/
#wrapper
{
width: 700px;
margin: 0 auto;
overflow: hidden;
}
*
{
padding: 0;
margin: 0;
}

#sidebar
{
width: 28%;
margin-left: 70%;
}
#footer
{
background-color: #F6C760;
clear: both;
padding: 20px 20px 20px 7.5%;
margin-top: 2em;
height: 3em;
color: #804A0F;
}
body
{
font-family: 'Trebuchet MS', Arial, Verdana, Sans-Serif;
}
body
{
font-size: 14px;
}
#content
{
width: 70%;
float: left;
}
#h2
{
text-size: 30px;
}
.post
{
margin-bottom: 2.2em;
}
.post
{
margin-bottom: 25px;
color: #4A2C00;
padding-left: 5px;
font-size: 0.8em;
}

h2
{
font-size: 1em;
border-bottom: 1px solid #FFA100;
}

h2 a:hover, h2 a:visited, h2 a
{
text-decoration: none;
color: #FFA100;
font-size: 1em;
}

.entry
{
margin-top: 10px;
margin-bottom: 15px;
}

.postmetadata
{
padding: 2px;
font-size: 0.8em;
border-top: 1px solid #FADA96;
}

.postmetadata a
{
color: #4a2c00;
}
.post p
{
line-height: 1.4em;
margin-bottom: 1em;
}


blockquote
{
margin: 1em 1.5em;
padding: 1em 1.5em;
border: 1px solid #657EB6;
background: #FCF1E2 url(images/blockquote.png) no-repeat scroll top left;
}

.post li
{
margin-left: 20px;
}

.post ul
{
list-style-image: url(images/listitem.png);
list-style-type: bullet;
margin-bottom: 10px;
}

acronym, abbr, span.caps
{
cursor: help;
}

acronym, abbr
{
border-bottom: 1px dashed #999;
}

blockquote cite
{
margin: 5px 0 0;
display: block;
}

.center
{
text-align: center;
}

a img
{
border: none;
}

h3
{
margin-top: 1.5em;
font-size: 1.1em;
}

h4
{
margin-top: 1.2em;
font-size: 1.1em;
}

h5
{
margin-top: 1em;
font-size: 1em;
}

.post a
{
color: #bd492a;
}


.navigation
{
display: block;
margin-top: 10px;
margin-bottom: 40px;
}

.alignleft
{
float: left;
text-align: left;
width: 50%;
}

.alignright
{
float: right;
text-align: right;
width: 50%;
}
.entrytext .postmetadata
{
font-size: 1.1em;
background-color: #FDE5C3;
width: 70%;
margin: 2em auto3.5em auto;
border: 1px dotted #e9b17b;
padding: 5px;
padding-left: 45px;
background: #FDE5C3 url(images/metadata.png) no-repeat scroll top left;
}
ol.commentlist
{
width: 90%;
margin: 0 auto;
}

ol.commentlist li
{
margin-bottom: 1.5em;
border: 1px solid #c69835;
padding: 5px;
background-color: #f5de74;
}

ol.commentlist li.alt
{
background-color: #fdf6a7;
}

ol.commentlist a
{
color: #bd492a;
}

small.commentmetadata
{
font-size: 0.8em;
margin-bottom: 1em;
display: block;
}



Any thoughts?

Thanks!
JDBostrom is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-24-2008, 05:26 PM Re: How would YOU do this? (CSS blog title)
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Code:
h2
{
font-size: 1.5em;
That will make it 50% larger.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 01-24-2008, 11:26 PM Re: How would YOU do this? (CSS blog title)
Junior Talker

Posts: 2
Trades: 0
Thanks for the reply!

It's odd, I just tried that, but it didn't change a thing. Is there some sort of inconsistency in my code or something?

(I'm really new to all this stuff.)


Thanks!
JDBostrom is offline
Reply With Quote
View Public Profile
 
Old 01-28-2008, 06:52 PM Re: How would YOU do this? (CSS blog title)
Skinny1's Avatar
Experienced Talker

Posts: 34
Trades: 0
create a

.post h2
{
font-size: 1.5em;
}

This will make only the posts H2 50% larger. You can of course add any other styling.

Skinny
__________________

Please login or register to view this content. Registration is FREE
- Inspiring Web Designers!
Skinny1 is offline
Reply With Quote
View Public Profile
 
Old 01-28-2008, 07:08 PM Re: How would YOU do this? (CSS blog title)
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
That should work, too.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 02-01-2008, 08:34 AM Re: How would YOU do this? (CSS blog title)
AliKat's Avatar
Extreme Talker

Latest Blog Post:
Save the Children
Posts: 176
Location: MS
Trades: 0
Code:
#h2
{
text-size: 30px;
}
What your code probably looks like is:

Code:
<h2 id="h2">
or something similar

The id tag takes precedence unless !important is applied to a class or the element itself.

so change that size there and it should change
AliKat is offline
Reply With Quote
View Public Profile Visit AliKat's homepage!
 
Old 02-01-2008, 12:02 PM Re: How would YOU do this? (CSS blog title)
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
Text-size doesn't exist. You want font-size.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 02-01-2008, 04:58 PM Re: How would YOU do this? (CSS blog title)
AliKat's Avatar
Extreme Talker

Latest Blog Post:
Save the Children
Posts: 176
Location: MS
Trades: 0
that would be another problem with his code then lol
AliKat is offline
Reply With Quote
View Public Profile Visit AliKat's homepage!
 
Old 02-02-2008, 04:15 AM Re: How would YOU do this? (CSS blog title)
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
It would have been easier to spot if the threadstarter had used the code tags.
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Reply     « Reply to How would YOU do this? (CSS blog title)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44929 seconds with 12 queries