14.03.2017, 10:52
Another similar request is how to center value if value's width is larger than icon:
1. Add custom class centered to the required element
2. Add this to Custom CSS and adjust width/margin:
min-width = icon_width + margin * 2
margin-left = -margin
In this example, icon width is 120px, extra margin for value is 40px from both sides.
1. Add custom class centered to the required element
2. Add this to Custom CSS and adjust width/margin:
Code:
.usermode .centered .value {
min-width: 200px;
margin-left: -40px;
}
margin-left = -margin
In this example, icon width is 120px, extra margin for value is 40px from both sides.