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

XF 1.0 Page 7 missing from the list

Discussion in 'Troubleshooting and Problems' started by cynthetiq, Oct 27, 2011.

  1. cynthetiq

    cynthetiq Member

    This doesn't just happen to page 7 but there comes a point when this particular style just loses it's 2nd to last page number for some reason. I believe it is a style issue because the default style has the 2nd to last page number without issue.

    [​IMG]

    Can anyone explain to me how to fix this?

    live example
    http://www.thetfp.com/threads/occupy-wall-street.1634/page-30#post-32025
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I would start reverting related templates like these:

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


    You need to systematically revert your custom templates to isolate the problem.
     
  3. cynthetiq

    cynthetiq Member

    there isn't an easy way to revert from the template screen is there?
     
  4. James

    James Well-Known Member

    Click the red X on the right of the template name.
     
  5. cynthetiq

    cynthetiq Member

    I didn't want to touch it because I thought it would delete it!!! thanks.
     
  6. cynthetiq

    cynthetiq Member

    both of those don't have an X next to them. I guess that means they aren't the problem.

    navigation does.

    Code:
    #navigation .pageContent
    {
        height: {xen:calc '@headerTabHeight * 2 + 2'}px;
        position: relative;
    }
    
        .navTabs
        {
            @property "navTabs";
            font-size: 11px;
            color: @contentText;
            background-color: @pageBackground;
            @property "/navTabs";
    
            height: @headerTabHeight;
        }
    
            .navTabs .publicTabs
            {
                float: left;
            }
    
            .navTabs .visitorTabs
            {
                float: right;
            }
    
                .navTabs .navTab
                {
                    float: left;
                    white-space: nowrap;
                    word-wrap: normal;
                }
     
    /* ---------------------------------------- */
    /* Links Inside Tabs */
    
    .navTabs .navLink,
    .navTabs .SplitCtrl
    {
        @property "navLink";
        display: block;
        float: left;
        vertical-align: text-bottom;
        text-align: center;
        outline: 0 none;
        @property "/navLink";
    
        height: @headerTabHeight;
        line-height: @headerTabHeight;
    }
    
        .navTabs .publicTabs .navLink
        {
            padding: 0 15px;
        }
    
        .navTabs .visitorTabs .navLink
        {
            padding: 0 10px;
        }
    
        .navTabs .navLink:hover
        {
            text-decoration: none;
        }
    
        /* ---------------------------------------- */
        /* unselected tab, popup closed */
    
        .navTabs .navTab.PopupClosed .navLink
        {
            color: @primaryLighter;
        }
    
            .navTabs .navTab.PopupClosed:hover
            {
                background-color: @primaryMedium;
            }
    
                .navTabs .navTab.PopupClosed .navLink:hover
                {
                    color: @textCtrlBackground;
                }
    
        .navTabs .navTab.PopupClosed .arrowWidget
        {
            background-image: url('@imagePath/xenforo/widgets/circle-arrow-down-light.png');
        }
    
        .navTabs .navTab.PopupClosed .SplitCtrl
        {
            margin-left: -14px;
            width: 14px;
        }
    
            .navTabs .navTab.PopupClosed:hover .SplitCtrl
            {
                background: transparent url('@imagePath/xenforo/widgets/nav_menu_gadget.png') no-repeat center right;
            }
    
        /* ---------------------------------------- */
        /* selected tab */
    
        .navTabs .navTab.selected .navLink
        {
            @property "navTabSelected";
            font-weight: bold;
            color: @textCtrlBackground;
            background-color: @contentBackground;
            background-position: top;
            padding-top: 0;
            margin-top: 0;
            text-shadow: 0px 0px 3px @primaryLightest;
            @property "/navTabSelected";
        }
    
        .navTabs .navTab.selected .SplitCtrl
        {
            display: none;
        }
    
        .navTabs .navTab.selected .arrowWidget
        {
            background-image: url('@imagePath/xenforo/widgets/circle-arrow-down.png');
        }
    
            .navTabs .navTab.selected.PopupOpen .arrowWidget
            {
                background-image: url('@imagePath/xenforo/widgets/circle-arrow-up.png');
            }
    
        /* ---------------------------------------- */
        /* unselected tab, popup open */
    
        .navTabs .navTab.PopupOpen .navLink
        {
        }
     
        /* ---------------------------------------- */
        /* selected tab, popup open (account) */
    
        .navTabs .navTab.selected.PopupOpen .navLink
        {
            @property "popupControl";
            color: @contentText;
            background: @primaryLight url('@imagePath/xenforo/gradients/tab-unselected-25px-light.png') repeat-x top;
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
            border-bottom-right-radius: 0px;
            border-bottom-left-radius: 0px;
            text-shadow: 1px 1px 2px white;
            box-shadow: 0px 5px 5px rgba(0,0,0, 0.5);
            @property "/popupControl";
        }
    
    /* ---------------------------------------- */
    /* Second Row */
    
    .navTabs .navTab.selected .tabLinks
    {
        @property "navTabSelected.background";
        background-color: @contentBackground;
        background-position: top;
        @property "/navTabSelected.background";
    
        width: 100%;
        padding: 0;
        border: none;
        overflow: hidden; zoom: 1;
        position: absolute;
        left: 0px;
        top: {xen:calc '@headerTabHeight + 0'}px;
        height: @headerTabHeight;
        background-position: 0px -@headerTabHeight;
        *clear:expression(style.width = document.getElementById('navigation').offsetWidth + 'px', style.clear = "none", 0);
    }
    
        .navTabs .navTab.selected .blockLinksList
        {
            background: none;
            padding: 0;
            border: none;
        }
    
        .navTabs .navTab.selected .tabLinks .menuHeader
        {
            display: none;
        }
    
        .navTabs .navTab.selected .tabLinks li
        {
            float: left;
            padding: 2px 0;
        }
    
            .navTabs .navTab.selected .tabLinks li:first-child
            {
                margin-left: 8px;
            }
    
            .navTabs .navTab.selected .tabLinks a
            {
                @property "navTabLink";
                font-size: 11px;
                color: @textCtrlBackground;
                padding-right: 10px;
                padding-left: 10px;
                display: block;
                text-shadow: 0 1px 1px @primaryMedium;
                @property "/navTabLink";
    
                line-height: {xen:calc '@headerTabHeight - 6'}px;
            }
    
                .navTabs .navTab.selected .tabLinks a:hover,
                .navTabs .navTab.selected .tabLinks a:focus
                {
                    @property "navTabLinkHover";
                    color: @textCtrlBackground;
                    text-decoration: underline;
                    background-color: @contentBackground;
                    padding: 0 10px;
                    border-style: none;
                    text-shadow: 1px 1px 0px @primaryLightest;
                    outline: 0;
                    @property "/navTabLinkHover";
    
                }
    
    /* ---------------------------------------- */
    /* Alert Balloons */
    
    .navTabs .navLink .itemCount
    {
        @property "alertBalloon";
        font-weight: bold;
        font-size: 9px;
        color: white;
        background-color: rgb(255, 0, 0);
        padding: 0 2px;
        border-radius: 2px;
        position: absolute;
        right: 2px;
        top: -12px;
        line-height: 16px;
        min-width: 12px;
        _width: 12px;
        text-align: center;
        text-shadow: none;
        white-space: nowrap;
        word-wrap: normal;
        box-shadow: 2px 2px 5px rgba(0,0,0, 0.25);
        height: 16px;
        @property "/alertBalloon";
    }
    
        .navTabs .navLink .itemCount .arrow
        {
            @property "alertBalloonArrow";
            color: @contentText;
            border: 3px solid transparent;
            border-top-color: #e03030;
            border-bottom: 1px none black;
            position: absolute;
            bottom: -3px;
            right: 4px;
            line-height: 0px;
            text-shadow: none;
            _display: none;
    /* Hide from IE6 */
    width: 0px;
            height: 0px;
            @property "/alertBalloonArrow";
        }
    
    /* ---------------------------------------- */
    /* Account Popup Menu */
    
    .navTabs .navTab.account .navLink
    {
        font-weight: bold;
    }
    
    #AccountMenu
    {
        width: 274px;
    }
    
    #AccountMenu .menuHeader
    {
        position: relative;
    }
    
        #AccountMenu .menuHeader .avatar
        {
            float: left;
            margin-right: 10px;
        }
    
        #AccountMenu .menuHeader .visibilityForm
        {
            margin-top: 10px;
            color: @primaryMedium;
        }
    
        #AccountMenu .menuHeader .links .fl
        {
            position: absolute;
            bottom: 10px;
            left: {xen:calc '10 + 10 + 96'}px;
        }
    
        #AccountMenu .menuHeader .links .fr
        {
            position: absolute;
            bottom: 10px;
            right: 10px;
        }
    
    #AccountMenu .menuColumns
    {
        overflow: hidden; zoom: 1;
        padding: 2px;
    }
    
        #AccountMenu .menuColumns ul
        {
            float: left;
            padding: 0;
            max-height: none;
            overflow: hidden;
        }
    
            #AccountMenu .menuColumns a,
            #AccountMenu .menuColumns label
            {
                width: 115px;
            }
    
    #AccountMenu .statusPoster textarea
    {
        width: 245px;
        margin: 0;
        resize: vertical;
    }
    
    #AccountMenu .statusPoster .submitUnit
    {
        margin-top: 5px;
        text-align: right;
    }
    
        #AccountMenu .statusPoster .submitUnit .statusEditorCounter
        {
            float: left;
            line-height: 23px;
            height: 23px;
        }
    
    /* ---------------------------------------- */
    /* Inbox, Alerts Popups */
    
    .navPopup
    {
        width: 260px;
    }
    
    .navPopup a:hover,
    .navPopup .listItemText a:hover
    {
        background: none;
        text-decoration: underline;
    }
    
        .navPopup .menuHeader .InProgress
        {
            float: right;
            display: block;
            width: 20px;
            height: 20px;
        }
    
    .navPopup .listPlaceholder
    {
        max-height: 350px;
        overflow: auto;
    }
    
        .navPopup .listPlaceholder ol.secondaryContent
        {
            padding: 0 10px;
        }
    
            .navPopup .listPlaceholder ol.secondaryContent.Unread
            {
                background-color: @inlineModChecked.background-color;
            }
    
    .navPopup .listItem
    {
        overflow: hidden; zoom: 1;
        padding: 5px 0;
        border-bottom: 1px solid @primaryLighterStill;
    }
    
    .navPopup .listItem:last-child
    {
        border-bottom: none;
    }
    
    .navPopup .PopupItemLinkActive:hover
    {
        margin: 0 -8px;
        padding: 5px 8px;
        border-radius: 5px;
        background-color: @primaryLighterStill;
        cursor: pointer;
    }
    
    .navPopup .avatar
    {
        float: left;
    }
    
        .navPopup .avatar img
        {
            width: 32px;
            height: 32px;
        }
    
    .navPopup .listItemText
    {
        margin-left: 37px;
    }
    
        .navPopup .listItemText .muted
        {
            font-size: 9px;
        }
    
        .navPopup .unread .listItemText .title,
        .navPopup .listItemText .subject
        {
            font-weight: bold;
        }
    
    .navPopup .sectionFooter .floatLink
    {
        float: right;
    }
    .
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Then revert that template to see if it fixes the problem. You can copy the contents of the template somewhere so you can restore it afterward if it's not the problem.
     
  8. cynthetiq

    cynthetiq Member

    didn't fix it. I'll keep looking to see what other templates that changed. Most of them should just be css ones.
     

Share This Page