Forums › Forums › Search & Filter Pro › How to Align Range Text Upper Limit to Right
- This topic has 7 replies, 2 voices, and was last updated 5 years, 9 months ago by
Trevor.
Viewing 8 posts - 1 through 8 (of 8 total)
-
Anonymous(Private) June 30, 2020 at 10:25 am #250609
Hi,
I would like to know how to style the range text upper limit to right.
Example from this:
https://prntscr.com/t90it1To this:
https://prntscr.com/t90itcThanks.
Trevor(Private) June 30, 2020 at 2:14 pm #250660OK, you need to do two things.
Set the field to have a max-width, something like this:
.sf-field-post-meta-edd_price { max-width: 235px; }You will need the actual class name for the li element in the form, mine is just an example.
Then this CSS to move the value over:
.sf-range-max { float: right; }Anonymous(Private) June 30, 2020 at 3:41 pm #250681Wow, almost there. The dollar sign prefix is still stuck in front.
https://prntscr.com/t97g8bI tried adding sf-range-prefix but both $ prefix flew to the right.
https://prntscr.com/t97jk2Any solution?
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)