Jump to content
WebFlake
  • 0

userInfoPane question


Sharpienero

Question

Hi there!

 

I have a simple question about the following:

 

6fxzGA2.jpg

 

I need to know how to keep the field name on the left side (aligned with the avatar) and the pulled amount on the right side. Kind of the way that Webflake does it. The other question I have is how do I make the date "neater" and shorter much like Webflake?

 

 

Thank you in advance.

Edited by Sharpienero
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

It would be done by adding the "float: left;" styling to the labels and "float: right;" to the amounts.  You would also need the "display:inline-block;" and 100% width effects to the parenting <li> tag.

 

This CSS should do the trick:

div.author_info > .user_details > ul.custom_fields li {
	width: 100%!important;
	display: inline-block!important;
}

div.author_info > .user_details > ul.custom_fields li > .ft {
	float: left!important;
}

div.author_info > .user_details > ul.custom_fields li > .fc {
	float: right!important;
}

You may need to mess with the margin to get it perfectly aligned, but that code should do the trick.  Just add it anywhere in your ipb_styles.css template.

  • Upvote 1
Link to comment
Share on other sites

  • 0

@Thorn Hi there! 

 

 

I just wanted to say thank you for taking the time to answer my question, however, it didn't produce the desired effect. As a matter of fact, it didn't change anything relating to the matter.

 

Here is my (altered) ipb_styles.css: Vavwds3.jpg

 

and here is the result: 5XCXXMh.jpg

 

 

I realized that I'm half-slow. I've figured out how to do it like this;  Xedd5Aj.jpg

 

but the formatting of the date is still off. I want it to say XX Mon Year. Can anyone help?

Edited by Sharpienero
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...