Using code in posts

Lone Wolf

Well-known member
Licensed customer
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.webp

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

code2.webp

Does anyone know how to achieve this?
 
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.
 
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
 
Back
Top Bottom