View Issue Details

IDProjectCategoryView StatusLast Update
0002977OXID eShop (all versions)2.3. Extensions (modules, themes)public2012-12-10 13:33
Reportertjungcl 
PriorityurgentSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Target VersionFixed in Version4.5.1 revision 38045 
Summary0002977: basket summary is "unstyleable"
Descriptionthe basketsummary in checkout step 1 and 4 (file basketcontents.tpl) is impossible to style with css:
all rows are absolutely identical - there are no classes, no attributes, nothing.

The last row (total sum) is styled with a bold (< b >) tag. That is a good hint how much the person thought about CSS when writing that html :-)

You really should add some classes there like "nettorow", "vatrow", "grossrow" because now everyone who does not want all rows look exactly the same has to modify the template first.



TagsNo tags attached.
ThemeAzure
BrowserAll
PHP Versionany
Database Versionany

Activities

tjungcl

2011-06-21 13:43

reporter   ~0004752

Last edited: 2011-06-21 13:43

View 2 revisions

i stumbled upon an additional rule, that sets the last row of the summary block to bold, selecting it with

.summary table tr:last-child td, .summary table tr:last-child th

first-child and last-child are in fact the only possibilities to style here.

If however there is a skipped discount, the last tr is

** PAGE_CHECKOUT_BASKETCONTENTS_DISCOUNTS_NOT_APPLIED_FOR_ARTICLES

So then this message is made bold.

--> as i wrote. The summary block really needs classes for styling!

Linas Kukulskis

2011-07-01 12:46

reporter   ~0004804

fixed last row styling.
for other rows styling you can style as you want independently, create empty classes is not good practice.