I have been trying to modify the pushbutton theme to my liking but there are some stuff very simple but I cannot figure out:
For example, some div classes like:

I cannot find in css files.

Basically I was trying to reduce the font size for the node body texts. I dont know where this guy is being set though. If I check the source for the page there is a div tag before the text and it goes like

. However in xtemplate.css there is only this:
#content {
background-color: #fff;
}
nothing for font size. If I add a font size attribute then it applies it to title, body and the links below it to add comment and such.

How can I change the font size of a node's body independent from the title?

Any help will be appreciated.

KC

Comments

robert castelo’s picture

For the main text of a node play with this:

.node .content {
  text-align: left;
  font-size: 0.85em;
  line-height: 1.3;
}

For the title(s) of a node:

.content h1 {
  color: #369;
  font-size: 1.9em;
}
.content h2 {
  color: #58b;
  font-size: 1.7em;
}
.content h3 {
  color: #69c;
  font-size: 1.5em;
}
.content h4 {
  color: #8be;
  font-size: 1.3em;
}
.content h5 {
  color: #96c6f6;
  font-size: 1.15em;
}
-- Pushbutton Test Experience -->>

------------------------------------------
Drupal Specialists: Consulting, Development & Training

Robert Castelo, CTO
Code Positive
London, United Kingdom
----

kc’s picture

Thanks much MegaGrunt. Now I achieved what I wanted.
A general note by the way. I have been struggling to learn the way Drupal works, and it is a great product by the way. My only problem is that I have been posting my questions but very few of them like this one gets an answer.

I think people are spending more time on developing this great product than helping out others to learn to use it:-(

No complaints though, just a side note.

By the way. My major problem is the date problem I could not find an answer to. I read almost all the posts on that subject and applied a statewide timezone patch and stuff but I still have a different time showing on my posts, which is 8 hours off. Anybody fixed that and wants to share the solution?

KC

kc’s picture

I also need some help with formatting the aggregator block text. Currently it is using the <ul><li> and it is bold, i would like to make it normal text not bold

thanks

robert castelo’s picture

Hopefully in the future there'll be more users with Drupal experience, who will be able to answer support questions, so developers can devote more time to making Drupal even better ;-)

Look in the Pushbutton file xtemplate.css under:

/*
** Module specific styles
*/

Specifically:

#aggregator .feed {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 1em;
  margin: 1em 0 1em 0;
}
#aggregator .news-item .source {
  color: #999;
  font-style: italic;
  font-size: 0.85em;
}
#aggregator .title {
  font-size: 1em;
}
#aggregator h3 {
  margin-top: 1em;
}

To be honest, I haven't done any formatting to the aggregator in Pushbutton.

------------------------------------------
Drupal Specialists: Consulting, Development & Training

Robert Castelo, CTO
Code Positive
London, United Kingdom
----

kc’s picture

I hope we have more and more Drupal users and more peoplel helping each other.

Thanks for the reply

KC