Download & Extend

Include a class with the number of pages so it can be styled appropriately

Project:Commerce Checkout Progress
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

The progress bar should have a class identifying the number of pages so that it can be styled differently and the widths can be adjusted dynamically

Comments

#1

Patch attached to add a class depending on the number of pages.

AttachmentSize
commerce_cart_progress_class.patch 1.19 KB

#2

Status:active» needs review

#3

Patch attached to add a class depending on the number of pages.

AttachmentSize
commerce_cart_progress_class.patch 1.19 KB

#4

Looks like a good solution to the outstanding issue of sizing the progress bar to the theme when it has a variable number of steps.

Tested the patch in #3 and it works for me.

#5

Patch works for me. Thanks!