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

XF 1.2 Image z-index not having an effect.

Discussion in 'Styling and Customization Questions' started by WiseHollow, Jul 29, 2013.

  1. WiseHollow

    WiseHollow Member

    Hey guys. I have another question that maybe you could help me with. I have placed an image on a category node however even if I add a z-index to it's styling it still gets cut off at the top of the image.

    Is there a way to make it appear above the other elements?

    <div class="categoryText">
                <table style="width:100%;">
                    <tr width="100%">
                        <td width="75%" align="left"><h3 class="nodeTitle"><a href="{xen:link categories, $category}">{$category.title}</a></h3></td>
                        <td width="25%" align="right">
                        <div style="margin-top:-20px; z-index:100;">
                            <img src="@imagePath/xenforo/images/block1.png"/> <!-- THIS IS THE IMAGE GETTING CUT OFF -->
                    <tr width="100%">
                        <xen:if is="{$category.description}"><blockquote class="nodeDescription baseHtml">{xen:raw $category.description}</blockquote></xen:if>

Share This Page