Sidebar Fonts

Phillip

Active member
What specific fonts are used in the sidebar? It looks like I'll need to use an iframe to incorporate some php code into the forum home and would like the fonts to match what is already there exactly.

Thanks!
 

Jake Bunce

XenForo moderator
Staff member
Inherited from:

Admin CP -> Appearance -> Style Properties -> General -> Body

'Trebuchet MS', Helvetica, Arial, sans-serif
 

Phillip

Active member
Thank you for the font info.

In this iframe, I will also have a square image and I would like to put a box around that image with rounded corners and padding that matches the avatar box on the sidebar. What code would I need to put around the image to get this to match and working in the iframe?
 

Brogan

XenForo moderator
Staff member
This is the CSS for the avatar in the sidebar.

.avatar img, .avatar .img, .avatarCropper {
background-color: @contentBackground;
border: 1px solid @primaryLighter;
border-radius: 4px;
padding: 2px;
}
 
Top