a quick CSS question

Posts: 29
Joined: 08/08/2007
Uber Donor

I'm trying to use CSS to format my products "sell_price" that exists below the "display_price" on my product nodes and can't seem to get at it.

I've used the following methods:

.sell_price {
font-size: 36px;
}

div.sell_price {
font-size: 36px;
}

sell_price {
font-size: 36px;
}

And just when I thought I was getting the hang of CSS...I prove to myself (for nearly 3 hours) just how little I know.

Anyone have any suggestions?
Thanks very much
Sc0tt

PS. I'm using: UCbeta2, D5.5, PHP5.24, Apache2.0.49 and MySQL5.0.45

Posts: 364
Joined: 10/16/2007

A nice way to play with CSS is to use Firebug to change the code while looking at the page in Firefox. Have not altered the code for your specific request so can not comment on the fix.

Jim

Posts: 16
Joined: 01/10/2008

.sell_price {
font-size: 1.3em;
}
works for me in uc_product.css

In addition to firebug try web developer. I find it easier to use in css editing experiments. But that's probably due to my very limited skill set.

Installation is similar to yours except I'm on php4 something.

Posts: 107
Joined: 08/07/2007
Bug FinderGetting busy with the Ubercode.

can you post a url so we can take a look?

without firebug, I wouldn't be a web developer. it makes this stuff Much easier

Posts: 29
Joined: 08/08/2007
Uber Donor

It's working! So now I have a new problem...either I need rehab for the crack I must have been smoking last night or something in my local dev environment (cache?) was preventing this from element from updating correctly. I tried using Firebug, IE Developer Toolbar, and the Web Developer Toolbar to get as much info as possible and they all led back to the correct answer that jodo pointed out:

.sell_price {
font-size: 1.3em;
}

Thanks for all the responses!
Sc0tt

Posts: 329
Joined: 08/28/2007
Early adopter... addicted to alphas.Not KulvikTheminator

Completely agree about Firebug, it's utterly indispensable. Have you seen the Theme Developer plugin for Devel? It does the same 'Inpsect' action that's so useful in Firebug.

Posts: 364
Joined: 10/16/2007

Looks like "Developer" will be great tool for Drupal 6. Will have to wait until Drupal 6rc changes to a full release.

Any idea if Uber will work with Drupal 6?

Jim

Posts: 301
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

Ryan wrote:

we definitely intend to keep up the 5.x version, but for our own personal use we need to move on in development. There are so many API changes that affect Ubercart that I anticipate at least a month converting the code over, and I'm loathe to start the two big remaining projects we have (eBay/QuickBooks integration) on Drupal 5 if I'm going to have to rewrite it all for Drupal 6.

Ryan said that a lil' while ago, but I'm hoping it is still the case because I'm going to need Ubercart for an upcoming Drupal 6 project at my company as well.

Posts: 364
Joined: 10/16/2007

Thanks for the heads up. Thought that Drupal 5 vs 6 was going to be a different animal. Will have to see how version 6 plays once it is fully released.

Appreciate the quote.

Jim