hello
I was looking for the response but still. My problem is when I see the catalog, the products are on a gray table (I think is #cccccc). How could I change this parameter to have a clean white as background?
thanks
|
UbercartOne cart to rule them all... |
|
| Donate | Affiliates | Sponsors | ||
Color gray
Submitted by jabadco on Tue, 09/23/2008 - 21:22
hello thanks
Display things like that are handled through Drupal's theming layer. You're going to have to modify (most likely) your theme's style.css to change the color. I don't know how much you know about CSS, but I hope this points you in the right direction. Thanks Ryan Nah, you just need to figure out where to modify the table row properties in the theme's style.css. I'm sure there's something in there for odd/even table rows. Just search on that color till you find it. The alternative (and I generally do this) is to add a rule at the end of the style.css where you can keep your own tweaks that simply uses greater specificity on that table to supply a different color. If you need help finding out what classes/IDs to use, I recommend Firebug for FireFox if you don't have it already. Thanks Ryan! At this point I wrote in the css things like: #odd { } ... and also tried with #category-products, #table, #tr, but still. I know I am close to what I need, because I changed, in the css, the lenght of the web forms text area, with the #ID. But these tables, which id could they have? thanks Looks like you just have it a little backwards... # is used for IDs, . for classes. So it would probably be something like .category-products .odd. That's an uneducated guess... I don't know exactly what your site/theme are doing. thanks, I got it: td { jeje, thanks!! ok so I follow the CSS part but if I wanted to overwrite the table output and go tableless (I want to go from: http://70.32.113.230/catalog/5/aye_chihuahua to: http://www.seoworkers.com/customers/musiccity_new/Aye-Chihuahua-Figurine...) how (without modifying the ubercart core) can I do this? My hunch is that would be a huge task... It would probably involve overriding a custom View or something, and in the end it might just be easier to do the work in a custom module. Far from the answer you were looking for I'm sure, but the core routine and I believe the View Bonus Pack both use tables for the grid. btw... awesome products! You can get this layout no problem in just Ubercart settings + some CSS. Change your catalog display from the table to the "grid" view, change to four columns, add image borders in CSS, enable the add to cart buttons on the catalog, and replace the button styles in CSS I'm generally an anti-table gal but this kind of grid layout is much more easily replicated and robust by using the grid table from UC rather than dealing with specifying dimensions and doing floating or something with a view, especially if your products aren't always so evenly-dimensioned.
|
|
Joined: 09/23/2008