Jump to content
DevFuse Forums

Topic View: How to align those small icons under avatar to center?


Breadfan

Recommended Posts

(Posted this over IM but got no reply, hopefully will have better luck here)

 

Hello gents!

 

I'm trying to find an edit for those small icons under avatars (View Blog, Add Friend, PM this member etc.).

Currently, my skin has them aligned to the left and it looks bad, I'd like to have them centered.

I've been looking inside ipbstyles.css, topicviewtemplate and where not, and still can't find where it's supposed to be edited.

 

Any help is apreaciated!

 

Thanks.

Edited by Breadfan
Link to comment
Share on other sites

  • Management

You can find that particular piece of code in Admin CP > Look & Feel Tab > select skin > Global Templates > userInfoPane

 

Check for the following

<if test="hasblog:|:$author['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">

 

You'll see the code is tabbed inwards and wrapped with the following. (On IPB3.1.0)

 

<div style='margin: 0 auto;'>
{code here}
</div>

Link to comment
Share on other sites

^^Thanks for the tip!

I tried adding

<div style='margin: align="center" 0 auto;'> 

but it had no effect? Also tried the alignement to the right but the icons remain on the left side.

Edited by Breadfan
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...