denisx04 Active member Sep 25, 2013 #1 Basically I hate the way its spread right now, I do have a CSS code that centers id manually from the xenforo 1.1 days that CSS code appears to have no effect in 1.2 and I just wanted to see if anyone knew how I could center all the info in there.
Basically I hate the way its spread right now, I do have a CSS code that centers id manually from the xenforo 1.1 days that CSS code appears to have no effect in 1.2 and I just wanted to see if anyone knew how I could center all the info in there.
Adam Howard Well-known member Sep 25, 2013 #2 Quick and easy.... message_user_info Wrap the whole thing with PHP: <div style="text-align:center"> </div> This will center everything there Upvote 0 Downvote
Quick and easy.... message_user_info Wrap the whole thing with PHP: <div style="text-align:center"> </div> This will center everything there
denisx04 Active member Sep 25, 2013 #3 Adam Howard said: Quick and easy.... message_user_info Wrap the whole thing with PHP: <div style="text-align:center"> </div> This will center everything there Click to expand... Thanks for the reply Adam, but no dice :/ Upvote 0 Downvote
Adam Howard said: Quick and easy.... message_user_info Wrap the whole thing with PHP: <div style="text-align:center"> </div> This will center everything there Click to expand... Thanks for the reply Adam, but no dice :/
Adam Howard Well-known member Sep 25, 2013 #4 denisx04 said: Thanks for the reply Adam, but no dice :/ Click to expand... Really? It worked for me on the default style..... What style are you using? Try this.... Extra.css PHP: .messageUserBlock .extraUserInfo { text-align: center; } Upvote 0 Downvote
denisx04 said: Thanks for the reply Adam, but no dice :/ Click to expand... Really? It worked for me on the default style..... What style are you using? Try this.... Extra.css PHP: .messageUserBlock .extraUserInfo { text-align: center; }
Amaury Well-known member Sep 25, 2013 #5 denisx04 said: Thanks for the reply Adam, but no dice :/ Click to expand... You need a semi-colon after "center." Adam made a typo and forgot it. Upvote 0 Downvote
denisx04 said: Thanks for the reply Adam, but no dice :/ Click to expand... You need a semi-colon after "center." Adam made a typo and forgot it.
denisx04 Active member Sep 25, 2013 #6 Adam Howard said: Really? It worked for me on the default style..... What style are you using? Try this.... Extra.css PHP: .messageUserBlock .extraUserInfo { text-align: center; } Click to expand... Thats the original code I had for 1.1 and that doesn't work at all on 1.2, has absolutely no effect. But this is the style I use http://xenique.com/forums/index.php?store-products/octane/ Sent Forsaken a PM and will see if he can do anything since its his style. Upvote 0 Downvote
Adam Howard said: Really? It worked for me on the default style..... What style are you using? Try this.... Extra.css PHP: .messageUserBlock .extraUserInfo { text-align: center; } Click to expand... Thats the original code I had for 1.1 and that doesn't work at all on 1.2, has absolutely no effect. But this is the style I use http://xenique.com/forums/index.php?store-products/octane/ Sent Forsaken a PM and will see if he can do anything since its his style.
Adam Howard Well-known member Sep 25, 2013 #7 denisx04 said: Thats the original code I had for 1.1 and that doesn't work at all on 1.2, has absolutely no effect. But this is the style I use http://xenique.com/forums/index.php?store-products/octane/ Sent Forsaken a PM and will see if he can do anything since its his style. Click to expand... You maybe better off doing so. As that is after all a custom style (outside the support for the support forums) But just wondering.... Have your tried adding !important PHP: .messageUserBlock .extraUserInfo { text-align: center !important; } Upvote 0 Downvote
denisx04 said: Thats the original code I had for 1.1 and that doesn't work at all on 1.2, has absolutely no effect. But this is the style I use http://xenique.com/forums/index.php?store-products/octane/ Sent Forsaken a PM and will see if he can do anything since its his style. Click to expand... You maybe better off doing so. As that is after all a custom style (outside the support for the support forums) But just wondering.... Have your tried adding !important PHP: .messageUserBlock .extraUserInfo { text-align: center !important; }
denisx04 Active member Sep 25, 2013 #8 Adam Howard said: You maybe better off doing so. As that is after all a custom style (outside the support for the support forums) But just wondering.... Have your tried adding !important PHP: .messageUserBlock .extraUserInfo { text-align: center !important; } Click to expand... Yes, still no luck. @Amaury I caught onto it and added it myself and still no luck. Appreciate it anyways guys, will ask Forsaken. Upvote 0 Downvote
Adam Howard said: You maybe better off doing so. As that is after all a custom style (outside the support for the support forums) But just wondering.... Have your tried adding !important PHP: .messageUserBlock .extraUserInfo { text-align: center !important; } Click to expand... Yes, still no luck. @Amaury I caught onto it and added it myself and still no luck. Appreciate it anyways guys, will ask Forsaken.
Adam Howard Well-known member Sep 25, 2013 #9 Amaury said: You need a semi-colon after "center." Adam made a typo and forgot it. Click to expand... Looks.... looks again.... No it's there?! Upvote 0 Downvote
Amaury said: You need a semi-colon after "center." Adam made a typo and forgot it. Click to expand... Looks.... looks again.... No it's there?!
Amaury Well-known member Sep 26, 2013 #10 Adam Howard said: Looks, looks again.... No it's there?! Click to expand... Adam Howard said: PHP: <div style="text-align:center"> </div> Click to expand... Upvote 0 Downvote
Adam Howard said: Looks, looks again.... No it's there?! Click to expand... Adam Howard said: PHP: <div style="text-align:center"> </div> Click to expand...
Paul B XenForo moderator Staff member Sep 26, 2013 #11 A semi-colon is not required there. Upvote 0 Downvote
Amaury Well-known member Sep 26, 2013 #12 Brogan said: A semi-colon is not required there. Click to expand... Thought it was. Thanks for correcting me, Paul! Upvote 0 Downvote
Brogan said: A semi-colon is not required there. Click to expand... Thought it was. Thanks for correcting me, Paul!
Paul B XenForo moderator Staff member Sep 26, 2013 #13 To answer the original question, add to EXTRA.css: Code: .messageUserBlock .pairsJustified dt { float: none; margin-right: 0; text-align: center; } .messageUserInfo .messageUserBlock .extraUserInfo dl.pairsJustified dd { float: none; text-align: center; } Upvote 0 Downvote
To answer the original question, add to EXTRA.css: Code: .messageUserBlock .pairsJustified dt { float: none; margin-right: 0; text-align: center; } .messageUserInfo .messageUserBlock .extraUserInfo dl.pairsJustified dd { float: none; text-align: center; }
denisx04 Active member Sep 26, 2013 #14 Brogan said: To answer the original question, add to EXTRA.css: Code: .messageUserBlock .pairsJustified dt { float: none; margin-right: 0; text-align: center; } .messageUserInfo .messageUserBlock .extraUserInfo dl.pairsJustified dd { float: none; text-align: center; } Click to expand... You beautiful man you! Always the best, thanks so much Brogan! Upvote 0 Downvote
Brogan said: To answer the original question, add to EXTRA.css: Code: .messageUserBlock .pairsJustified dt { float: none; margin-right: 0; text-align: center; } .messageUserInfo .messageUserBlock .extraUserInfo dl.pairsJustified dd { float: none; text-align: center; } Click to expand... You beautiful man you! Always the best, thanks so much Brogan!
Amaury Well-known member Sep 26, 2013 #15 Brogan said: To answer the original question, add to EXTRA.css: Code: .messageUserBlock .pairsJustified dt { float: none; margin-right: 0; text-align: center; } .messageUserInfo .messageUserBlock .extraUserInfo dl.pairsJustified dd { float: none; text-align: center; } Click to expand... This would be great for DOTATalk, but it's still on XenForo 1.1.4. Does this work on any version? Upvote 0 Downvote
Brogan said: To answer the original question, add to EXTRA.css: Code: .messageUserBlock .pairsJustified dt { float: none; margin-right: 0; text-align: center; } .messageUserInfo .messageUserBlock .extraUserInfo dl.pairsJustified dd { float: none; text-align: center; } Click to expand... This would be great for DOTATalk, but it's still on XenForo 1.1.4. Does this work on any version?
Paul B XenForo moderator Staff member Sep 26, 2013 #16 For 1.1.4: Code: .messageUserBlock .extraUserInfo { text-align: center; } Upvote 0 Downvote
Amaury Well-known member Sep 26, 2013 #17 Brogan said: For 1.1.4: Code: .messageUserBlock .extraUserInfo { text-align: center; } Click to expand... Thank you, Paul. Upvote 0 Downvote
Brogan said: For 1.1.4: Code: .messageUserBlock .extraUserInfo { text-align: center; } Click to expand... Thank you, Paul.