This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Align values to right
#9
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:
Code:
.usermode .centered .value {
  min-width: 200px;
  margin-left: -40px;
}
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.
Reply


Messages In This Thread
Align values to right - by Thomas - 11.03.2017, 16:52
RE: Align values to right - by Trond Hoyem - 30.03.2017, 11:47
RE: Align values to right - by Thomas - 12.03.2017, 13:30
RE: Align values to right - by Thomas - 12.03.2017, 15:32
RE: Align values to right - by Thomas - 13.03.2017, 12:02
RE: Align values to right - by admin - 14.03.2017, 10:52

Forum Jump: