The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Post profile text alignment

View previous topic View next topic Go down

Solved Post profile text alignment

Post by .DayDreamer. on February 23rd 2016, 10:23 pm

Hello again. Smile

I was wondering if it was possible to have the text in the post profile line up evenly, like how it does on this forum? I tried to look up an answer for myself, but I couldn't find a thread with one.

I edited a picture of what I wanted in gimp:


forum version: phpbb3
forum: http://justtestingthings.forumotion.com/


Last edited by .DayDreamer. on February 25th 2016, 4:04 pm; edited 3 times in total
avatar
.DayDreamer.
Forumember

Female Posts : 42
Reputation : 1
Language : English
Location : United States

http://justtestingthings.forumotion.com/

Back to top Go down

Solved Re: Post profile text alignment

Post by Draxion on February 23rd 2016, 10:34 pm

Code:
.postoptions {
text-align: left !important;
}


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1376
Reputation : 187
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Post profile text alignment

Post by .DayDreamer. on February 23rd 2016, 10:38 pm

Thank you for the code, but nothing changed when I put it in.
avatar
.DayDreamer.
Forumember

Female Posts : 42
Reputation : 1
Language : English
Location : United States

http://justtestingthings.forumotion.com/

Back to top Go down

Solved Re: Post profile text alignment

Post by Ange Tuteur on February 24th 2016, 4:07 pm

Hi,

These CSS rules should give you a similar effect so long as you're using phpbb3.
Code:
.postprofile { text-align:center; }
.postprofile dd { text-align:left; }
.postprofile dt + dd, .postprofile dd:last-child { text-align:center; }
.postprofile .label {
  float:left;
  text-align:right;
  margin-right:3px;
  margin-left:-3px;
  width:50%;
}

If you have fields that are only images, these rules will center them :
Code:
/* center icons */
.postprofile dd img {
  display:block;
  margin:0 auto;
}

.postprofile dt + dd img, .postprofile dd:last-child img { display:inline-block }
avatar
Ange Tuteur
Forumaster

Male Posts : 13174
Reputation : 2871
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Post profile text alignment

Post by .DayDreamer. on February 25th 2016, 6:02 am

That works amazingly! Thank you very much!!
avatar
.DayDreamer.
Forumember

Female Posts : 42
Reputation : 1
Language : English
Location : United States

http://justtestingthings.forumotion.com/

Back to top Go down

Solved Re: Post profile text alignment

Post by SLGray on February 25th 2016, 6:18 am

Is this solved?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 39198
Reputation : 2628
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Post profile text alignment

Post by .DayDreamer. on February 25th 2016, 6:34 am

No, sorry. I realized that everything in the box is not 100% center and goes slightly to the right. Would there be a way to make it so that it's 100% centered?

avatar
.DayDreamer.
Forumember

Female Posts : 42
Reputation : 1
Language : English
Location : United States

http://justtestingthings.forumotion.com/

Back to top Go down

Solved Re: Post profile text alignment

Post by Ange Tuteur on February 25th 2016, 11:12 am

Hmm.. I'm assuming it might be the default margin. Add this CSS rule to your stylesheet :
Code:
.postprofile dd, .postprofile dt { margin-left:0 !important; }
avatar
Ange Tuteur
Forumaster

Male Posts : 13174
Reputation : 2871
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Post profile text alignment

Post by .DayDreamer. on February 25th 2016, 4:04 pm

Now it's center. Thank you!!

I'll mark the thread as solved.
avatar
.DayDreamer.
Forumember

Female Posts : 42
Reputation : 1
Language : English
Location : United States

http://justtestingthings.forumotion.com/

Back to top Go down

Solved Re: Post profile text alignment

Post by SLGray on February 25th 2016, 10:53 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 39198
Reputation : 2628
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum