Blakefire Active member Oct 1, 2012 #1 I'm trying to center my logo and I am having issues. There is no option in the style menu and I can add center tags in the logo_block template because it refuses to center. Any Ideas?
I'm trying to center my logo and I am having issues. There is no option in the style menu and I can add center tags in the logo_block template because it refuses to center. Any Ideas?
Russ Well-known member Oct 1, 2012 #2 Try: Code: #logo { float: none !important; text-align: center; } Upvote 0 Downvote
Blakefire Active member Oct 1, 2012 #3 Russ said: Try: Code: #logo { float: none !important; text-align: center; } Click to expand... Haha that worked like a charm! Thanks, forgot about using the extra.css template. Upvote 0 Downvote
Russ said: Try: Code: #logo { float: none !important; text-align: center; } Click to expand... Haha that worked like a charm! Thanks, forgot about using the extra.css template.
O Old Nick Well-known member Oct 12, 2022 #5 Which version of XF are you running ? This code is for XF 1.x For XF 2 version put this code in your extra.less template. Less: .p-header-logo { margin-left: auto; } Upvote 0 Downvote
Which version of XF are you running ? This code is for XF 1.x For XF 2 version put this code in your extra.less template. Less: .p-header-logo { margin-left: auto; }