• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Using code in posts

Lone Wolf

Well-known member
#1
My forum is about sports and so we dont post any code. However I do use the code option to post stats as this allows me to evenly space the stats out.

The only problem is that I get a heading banner which states code: above all my stats and it looks out of place. For example...

code.png

I would rather the code boxes looked like the pic below...

code2.png

Does anyone know how to achieve this?
 

Brogan

XenForo moderator
Staff member
#4
Rich code presentation is default functionality.

It works for me on my site and a default installation using the basic code tags and the code=rich tags.

I can only assume it's something to do with your custom style.

Try adding !important.
 

Divvens

Well-known member
#6
I didnt need the important, for some reason it didnt work at the bottom of the template, it only worked when I put it first
Happened to me before with another css edit, make sure you aren't missing a ending } after you mentioned rules for another style class