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

Menu in a page problem

Discussion in 'Styling and Customization Questions' started by Matthew Hawley, Apr 7, 2013.

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    I tried adding a help menu in MyShop and this was the result.

    Shopproblem.png

    I know the problem kind of revolves around the addon but the problem isn't because of the addon (if that makes sense lol), so I posted it here.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I see header/nav stuff. Maybe adjust this:

    Admin CP -> Appearance -> Style Properties -> Header and Navigation -> Height of Header Logo
     
  3. Matthew Hawley

    Matthew Hawley Well-Known Member

    Yeah, but that only happens on the shop page. not the whole site.
     
  4. Matthew Hawley

    Matthew Hawley Well-Known Member

    Oh and I did what you said. I made it 200px and heres what happened.

    shopproblem2.png
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    So you made a change which caused this problem. What was the exact change?
     
  6. Matthew Hawley

    Matthew Hawley Well-Known Member

    We have this:

    Code:
    <xen:title>{$xenOptions.xshop_title}</xen:title>
    <xen:require css="xshop.css" />
    <xen:require css="cat.css" />
     
    <div class="main">
    <div class="left">
    <xen:include template="xshop_left_column" />
    </div>
    <div class="center">
    <xen:include template="xshop_middle_column" />
    </div>
    <br clear="both" />
    <xen:include template="xshop_footer" />
    </div>
    And I changed it to this:

    Code:
    xen:title>{$xenOptions.xshop_title}</xen:title>
    <xen:require css="xshop.css" />
    <xen:require css="cat.css" />
    <div class="container">
        <div class="helpSideBar">
            <ul>
                <xen:hook name="brc_credit_wrapper_sidebar">
                <li class="section"><h4 class="heading">{xen:phrase BRC_your_credit}</h4>
                    <!--<h4 class="subHeading">{xen:phrase alerts}</h4>-->
                    <ul>
                        <xen:hook name="brc_credit_wrapper_sidebar_your_credit">
                        <li><a
                            class="{xen:if "{$selectedKey} == 'credits/index'", 'secondaryContent', 'primaryContent'}" data-cacheOverlay="no"
                            href="{xen:link credits}">{xen:phrase statistics}</a>
                        </li>
                        <li><a
                            class="{xen:if "{$selectedKey} == 'credits/transactions'", 'secondaryContent', 'primaryContent'}"
                            href="{xen:link credits/transactions}">{xen:phrase BRC_list_transactions}</a>
                        </li>
                        <xen:if is="{$canTransfer}">
                            <li><a
                                class="{xen:if "{$selectedKey} == 'credits/transfer'", 'secondaryContent', 'primaryContent'} Tooltip" title="{xen:phrase BRC_transfer}"
                                href="{xen:link credits/transfer}">{xen:phrase BRC_transfer}</a>
                                </li>
                        </xen:if>
                        </xen:hook>
                        <li><a
                                class="{xen:if "{$selectedKey} == 'shop'", 'secondaryContent', 'primaryContent'} Tooltip" title="{xen:phrase BRC_transfer}"
                                href="{xen:link 'shop'}">{xen:phrase ice_shop_home}</a>
                                </li>
                        <li><a
                                class="{xen:if "{$selectedKey} == 'shop-history'", 'secondaryContent', 'primaryContent'} Tooltip" title="{xen:phrase BRC_transfer}"
                                href="{xen:link 'shop-history'}">{xen:phrase ice_shop_purchases}</a>
                                </li>
                       
                    </ul>
                </li>
                </xen:hook>
            </ul>
        </div>
    <div class="main">
    <div class="left">
    <xen:include template="xshop_left_column" />
    </div>
    <div class="center">
    <xen:include template="xshop_middle_column" />
    </div>
    <br clear="both" />
    <xen:include template="xshop_footer" />
    </div>
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It looks like <div class="container"> is not closed. There should be another </div> before this line:

    Code:
    <div class="main">
    
     
    Matthew Hawley likes this.
  8. Matthew Hawley

    Matthew Hawley Well-Known Member

    You da man! :D
     
  9. Matthew Hawley

    Matthew Hawley Well-Known Member

    Okay now it shows up like this.

    xshopproblem.png
     

Share This Page