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.

How can i align a topic image

View previous topic View next topic Go down

How can i align a topic image

Post by Duel Academy on May 21st 2013, 11:54 am

Hello, i do i align a topic image to the center. I am using Phpbb2 and here is the link to the forum http://duelacademy.forumotion.co.uk/

Duel Academy
New Member

Posts : 5
Reputation : 1
Language : English

Back to top Go down

Re: How can i align a topic image

Post by Ultron's Vision on May 21st 2013, 12:21 pm

Which topic image are you referring to?

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: How can i align a topic image

Post by Duel Academy on May 21st 2013, 12:31 pm

The suggestion Box Topic

Duel Academy
New Member

Posts : 5
Reputation : 1
Language : English

Back to top Go down

Re: How can i align a topic image

Post by Ultron's Vision on May 21st 2013, 12:48 pm

Under Administration Panel -> General -> Categories and Forums -> your forum, enter
Code:
<center><img src="your image URL here" /></center>
in the topic description.

Otherwise, add this in your CSS Stylesheet under Administration Panel -> Display -> Colors -> CSS Stylesheet.

Code:
img[src="http://i.imgur.com/Hr8wZEV.jpg"] {
align: center !important;
}

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: How can i align a topic image

Post by Duel Academy on May 21st 2013, 12:58 pm

neither are working

Duel Academy
New Member

Posts : 5
Reputation : 1
Language : English

Back to top Go down

Re: How can i align a topic image

Post by Ultron's Vision on May 21st 2013, 1:14 pm

Would you give me a test admin account so I could do it for you?

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: How can i align a topic image

Post by Mati on May 21st 2013, 2:51 pm

replace the HTML code for the image

Code:
<div class="my-img"><img alt="http://i.imgur.com/Hr8wZEV.jpg /&gt;&lt;/center&gt;" src="http://i.imgur.com/Hr8wZEV.jpg /&gt;&lt;/center&gt;"></div>


then add this in your CSS:
Code:
.my-img{
text-align:center;
}




Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Re: How can i align a topic image

Post by Duel Academy on May 21st 2013, 7:14 pm

Ultron's Vision, yes you can, just sign-up and i will sort it out for you.

Duel Academy
New Member

Posts : 5
Reputation : 1
Language : English

Back to top Go down

Re: How can i align a topic image

Post by Ultron's Vision on May 21st 2013, 8:02 pm

I am signed up and waiting.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: How can i align a topic image

Post by Duel Academy on May 23rd 2013, 9:48 pm

Ok set you as an Admin

Duel Academy
New Member

Posts : 5
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