Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Multistore: Help fix Margin in <TD> of Top Navigation

  1. #1
    atomiccafe is offline Junior Member
    Join Date
    Apr 2012
    Posts
    6

    Default Multistore: Help fix Margin in <TD> of Top Navigation

    Hi. I need help finding the Ton Nav code. I searched everywhere before asking for help.

    The code in Firebug shows...
    <a style="border-style:none;font-size:1em;margin-left:16px;" href="t-service.aspx" class="ctl00_aspnetMenu_1 aspnetMenu_StaticMenuItemStyle ctl00_aspnetMenu_3 aspnetMenu_Level2 ctl00_aspnetMenu_10">CUSTOMER SERVICE</a>

    I want to change margin-left:16px; to margin-left:0px;

    But the code in template.master only shows.....................

    <!-- TOP MENU -->
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td>
    <asp:Menu ID="aspnetMenu" runat="server" Orientation="Horizontal" StaticTopSeparatorImageUrl="<%$ Tokens:skinimage, tab-sep.gif %>"
    StaticEnableDefaultPopOutImage="False" StaticDisplayLevels="2" MaximumDynamicDisplayLevels="<%$ Tokens:AppConfigUSInt, MaxMenuLevel %>">
    <StaticSelectedStyle CssClass="aspnetMenu_StaticSelectedStyle" />
    <LevelMenuItemStyles>
    <asp:MenuItemStyle CssClass="aspnetMenu_Level1" Font-Underline="False" />
    <asp:MenuItemStyle CssClass="aspnetMenu_Level2" Font-Underline="False" />
    </LevelMenuItemStyles>
    <StaticMenuItemStyle CssClass="aspnetMenu_StaticMenuItemStyle" />
    <DynamicSelectedStyle CssClass="aspnetMenu_DynamicSelectedStyle" />
    <DynamicMenuItemStyle CssClass="aspnetMenu_DynamicMenuItemStyle" />
    <DynamicMenuStyle CssClass="aspnetMenu_DynamicMenuStyle" />
    <%--
    These 2 styles below can't be added declaratively, it will be added later on the script
    But needs to follow the naming convention {MenuId}_WhatEverStyle
    --%>
    <%--<DynamicHoverStyle CssClass="aspnetMenu_DynamicHoverStyle" />--%>
    <%--<StaticHoverStyle CssClass="aspnetMenu_StaticHoverStyle" />--%>
    </asp:Menu>
    <!-- END TOP MENU -->

    Adding "margin-left: 0px;" in the aspnetMenu_StaticSelectedStyle in the CSS file doesn't fix it.
    Please help....

  2. #2
    atomiccafe is offline Junior Member
    Join Date
    Apr 2012
    Posts
    6

    Default Forum Replies

    Is this question too difficult for the experts? Or this framework is not supported by the community very well?

  3. #3
    Skriver is offline Senior Member
    Join Date
    Apr 2012
    Posts
    188

    Default

    should be in your style.css. what is your site url?

  4. #4
    Skriver is offline Senior Member
    Join Date
    Apr 2012
    Posts
    188

    Default

    Search your xml packages folder within your skin to see if you have a package that is controlling that top menu, the code you want to amend may reside there.

  5. #5
    awoomer is offline Member
    Join Date
    Jul 2006
    Posts
    73

    Default

    I know this is an old post but for those who have stumbled across it looking for an answer, add StaticSubMenuIndent="0px" to the Menu control in your template.master.
    ASPDNSF MultiStore 9
    w/Source Code