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

Add pictures next to category?

Discussion in 'Styling and Customization Questions' started by darkrounge, Dec 27, 2011.

  1. darkrounge

    darkrounge Member

    Does anyone know how I can add a pictures next to a category?
    I.E:

    [​IMG]

    Click on the picture to view their website :)

    I wanna be able to add a picture next to my forum, similar to how they've done it?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates -> EXTRA.css

    Add this code:

    Code:
    .nodeList .node_7 .nodeText:before
    {
    	content: url('path/to/image.gif');
    	float: left;
    	margin-right: 5px;
    }
    
    You need to specify the node_id in the class name.

    The result:

    Screen shot 2011-12-27 at 6.27.08 PM.png
     

Share This Page