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.

Center an Image from a PROFILE FIELD

View previous topic View next topic Go down

Solved Center an Image from a PROFILE FIELD

Post by JAN2XONLINE on January 27th 2013, 9:52 am



How to center an image from a PROFILE FIELD (IMAGE LIST)? I have phpbb2 forum.

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by MasterSly on January 27th 2013, 10:21 am


Administration Panel >> Display >> Templates >> General >> viewtopic_body >>
Find this
Code:
{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
and change to
Code:
<center>{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</center>
and click Save
and then

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by JAN2XONLINE on January 27th 2013, 10:29 am


^
It became like that. I only want the image to be centered, not all of them. Is it possible?

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by Sanket on January 27th 2013, 12:17 pm

Please provide your forum URL for appearance problems

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by JAN2XONLINE on January 27th 2013, 12:19 pm


JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by Sanket on January 27th 2013, 12:30 pm

That image seems not added in the profile of that user. Can you add it? I think it cannot be done via css & also not via the templates. Just add the image & I will check.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by JAN2XONLINE on January 27th 2013, 12:33 pm

@Sanket wrote:That image seems not added in the profile of that user. Can you add it? I think it cannot be done via css & also not via the templates. Just add the image & I will check.

What do you mean not added sir? It is there. I'm the Zoro guy.

See this thread: http://animepinoy.4rumer.com/t6-request-your-anime-manga-here#9

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by Sanket on January 27th 2013, 12:44 pm

Its only showing one rank. The founder Rank is only displayed.
http://awesomescreenshot.com/097uqtpb0

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by JAN2XONLINE on January 27th 2013, 12:59 pm

there sir.

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by Sanket on January 27th 2013, 1:17 pm

That one rank which is the founder rank is already centered. Confused
What are you asking?

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by JAN2XONLINE on January 27th 2013, 9:07 pm

@Sanket wrote:That one rank which is the founder rank is already centered. Confused
What are you asking?

The pirate rank. It is a profile field.

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by JAN2XONLINE on January 27th 2013, 11:37 pm

^
Sorry bout that... I forgot to save it as a guest yesterday.

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Center an Image from a PROFILE FIELD

Post by JAN2XONLINE on January 28th 2013, 1:07 am

Rideem3 wrote:Put this in your CSS StyleSheet:
Code:
img[src="http://i855.photobucket.com/albums/ab117/jan2xonline/PIRATEV2_zps13bd76af.png"] {
margin-left: 25px;
}

Worked! Thanks!

JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.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