Breadfan Posted June 6, 2010 Report Share Posted June 6, 2010 (edited) (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 June 6, 2010 by Breadfan Quote Link to comment Share on other sites More sharing options...
planetby Posted June 6, 2010 Report Share Posted June 6, 2010 I'd think it would be in global template / profiles but cant say exactly which ones tho i'd look in the custom fields ones 1st tho you may need to alter a few Quote Link to comment Share on other sites More sharing options...
Breadfan Posted June 6, 2010 Author Report Share Posted June 6, 2010 Yeah I checked profile.css but found no reference to those image files. Usually the CSS files have the image names in there so you can figure out what section to edit but this time I couldn't find it. Quote Link to comment Share on other sites More sharing options...
Management Michael Posted June 7, 2010 Management Report Share Posted June 7, 2010 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> Breadfan 1 Quote Link to comment Share on other sites More sharing options...
Breadfan Posted June 7, 2010 Author Report Share Posted June 7, 2010 (edited) ^^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 June 7, 2010 by Breadfan Quote Link to comment Share on other sites More sharing options...
Management Michael Posted June 7, 2010 Management Report Share Posted June 7, 2010 Try this instead, you had align in the style parameters, don't think you can do that. <div style='margin: 0 auto;' align="center"> Breadfan 1 Quote Link to comment Share on other sites More sharing options...
Breadfan Posted June 7, 2010 Author Report Share Posted June 7, 2010 ^^Yep, that did the trick. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.