XF 2.2 How to change italic font to regular font for thread titles

Roiarthur

Active member
Hi,
I would like to know how to change italic font to regular font for thread titles
Anybody can help me?
Thanks in advance

I use the Xenforo style Shade of Grey from Andy

The Italic font is on the Index page and the widgets
 
Last edited:
The Italic font is on the Index page and the widgets
For the widget you can use this in the template extra.less

Code:
[data-widget-key="NAME_OF_WIDGET_KEY"] .contentRow-main.contentRow-main--close
{font-style:normal!important}

!important may or may not be needed.

As this isn't a default style you may find the italic is applied in a style property and you could change it there (but may be overwritten with a style upgrade possibly?)

To find out what is causing it on the index page you might want to supply a URL for the site as it depends on what the index page is.

If it is forum list try this

Code:
.node-body h3
{font-style:normal!importan}

If it is new posts

Code:
.structItemContainer .structItem-title
{font-style:normal!important}
 
Last edited:
Top Bottom