Replace category title with image?

XF2 Guides Replace category title with image?

Status
Not open for further replies.

XenForo

Administrative
Trusted Uploader
Null Master
XenForo submitted a new resource:

Replace category title with image? - Replace category title with image

Deleted previous answer, it was wrong

To hide title (category id 1)
Code:
.block--category1 h2.block-header a
    {display:none}
  • To add an icon
Code:
.block.block--category.block--category1 .block-header:before {
 
    .m-faBase();
    content: '\f79f';
}
  • OR
Code:
.block.block--category.block--category1 .block-header:before {
 background-image:url("/link_to_image)";
   height:50px;
width:200px
}

Read more about this resource...
 
Status
Not open for further replies.
Top