Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
Formating <p> tag in CCS - how to?
Posted: 04 March 2005 07:19 AM   [ Ignore ]  
Summer Student
Total Posts:  12
Joined  2004-11-17

Want to change font size etc. for the <p> used in the body of blog entries.
No need to change the templates, just the formating.
I’ve searched ALL forums and PM docs and couldn’t find it.

Thanks in advance.

I’ve recently purchased WestCIV’s StyleMaster AND LayoutMaster and haven’t touched MS FrontPage in weeks. Purchased ALL tutorials and it’s like a new world . . . Love it.

Profile
 
 
Posted: 04 March 2005 12:01 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

Assuming that you’re using the default pages and styles that come with pMachine, then your weblog entries will be contained within a <div> with the “weblog” class.

So, you could use this style:

.weblog p {
  font
-size: 1.5em;
  
}

What that means is: “apply this style to all ‘p’ elements inside of an element with the class ‘weblog’.”

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 05 March 2005 08:02 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  12
Joined  2004-11-17

I found this in the weblog.css

/*—-  Weblog entry formatting. —- */

.weblog {
border-bottom: 1px #000000 dotted;
padding-bottom: 12px
}

AND

SO THIS IS THE STATEMENT THAT GETS CHANGED?
p {
color: #333333;
font-family: verdana,trebuchet,sans-serif;
font-size: 11px;
font-weight: normal;
margin-bottom: 2px;
margin-top: 2px;
text-align: left
}

Profile
 
 
Posted: 05 March 2005 11:18 AM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

You could change that style.  However, that would change all <p> elements on your page, not just those inside a weblog entry.  The one I showed you would change only those inside an entry.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 64518 Total Logged-in Users: 0
Total Topics: 81077 Total Anonymous Users: 0
Total Replies: 436316 Total Guests: 18
Total Posts: 517393    
Members ( View Memberlist )
Active Members: