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.

Profile Message coding

View previous topic View next topic Go down

In progress Profile Message coding

Post by MasterofChaos on September 26th 2013, 1:22 pm

hey i was wondering if there was a code that turns this: http://prntscr.com/1tjsmg

into something more organized like this: http://prntscr.com/1tjss1
 
ive pretty much looked into alot and  i cant sem to find a code for it

MasterofChaos
Forumember

Posts : 55
Reputation : 1
Language : english

Back to top Go down

In progress Re: Profile Message coding

Post by Sir Chivas™ on September 26th 2013, 3:19 pm

Hi,

AP >> Display >> Templates >> Viewtopic_body template and find this part:

Code:
{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}

Replce it with this:


Code: Select Content
Code:
<div
class=novo>{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}</div>

Save and publish template on the green cross.


AP >> Display >> Colors >> CSS and add this:
Code:

.novo {
background-color: #ffffff;
border: 1px solid
#dfdfdf;
color: #3a3a3a;
margin-top: 2px;
padding-bottom:
3px;
padding-left: 10px;
padding-right: 3px;
padding-top:
3px;
text-align: left;
width: 154px;
}

AP >> Modules >> JS managment add this and mark in topics.
Code:
$(function(){
$('.novo').next('br').hide();
});
Nera is owner of this codes.

Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: Profile Message coding

Post by MasterofChaos on September 26th 2013, 6:25 pm

tho i got the bottom part to work but isnt there a code to center the avatar in the middle as well as bottom part o.o

tried a center code in the teplate part and in css doesnt seem to want to center itself

MasterofChaos
Forumember

Posts : 55
Reputation : 1
Language : english

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