• I’m trying to add some <strong> tags to my category title (via WordPress Admin). However WordPress strips the HTML. Does anyone know how to add some HTML to category titles?

Viewing 3 replies - 1 through 3 (of 3 total)
  • This would be best done with CSS anyway, but we cannot help with CSS issues without a site link.

    If you cannot, then you will need to use a tool such as Firebug or other web inspection tool to reveal the CSS class(es) or id(‘s) in use, then use a Child Theme, Custom CSS plugin or Theme provided Custom CSS option to override the theme’s defaults.

    CSS Font Weight Property at W3 Schools

    Thread Starter chrisjb

    (@chrisjb)

    Actually I am using the strong element to break the title into two lines using CSS. I’d also like the second line of the title to be in a larger font-size. I have written the CSS but not sure how to get the strong element into the title. Think I might have to edit an include file to prevent HTML stripping but I don’t know which file it would be.

    Thread Starter chrisjb

    (@chrisjb)

    Does anyone know the file to edit to enable html in the single_cat_title? It would be good to have an answered thread for future searchers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add HTML markup to category single_cat_title Category Title’ is closed to new replies.