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

XF 1.4 pictures between categories?

Discussion in 'Styling and Customization Questions' started by marissa Desanta, Feb 14, 2015.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    The node ID is visible in the browser address bar when editing the node in the ACP.

    upload_2015-2-14_22-48-50.png

    Which makes that node id 32.
     
    marissa Desanta likes this.
  2. So I tried this :)
    <xen:if is="{$category.node_id} == 1">
    BANNER CODE HERE
    </xen:if>


    And it worked nicely, only the images are far too big on mobile.
    How would I make it so it fit's mobile as well?
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    You can use media queries to change the images used for different widths, or just shrink them to fit.

    See this guide: Responsive Design
     

Share This Page