• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Filter CSS Issue

Status
Not open for further replies.

CM PuLs3

New Member
Showcase
Sportsbook
The background around "Open" isn't a full border radius'd rectangle. It just is open ended on the right side. It happens on the Core skin by Russ at PixelExit,

ss (2014-05-04 at 03.13.21).png

but it also happens on the default Xenforo skin (and every skin I've ever used) including the nfljunkies website as seen below,
a279566307.png


I use Google Chrome & XF 1.3, if that's something you need also.
 
Ah ha! Found the culprit, it was the way I was doing conditionals within the template and chrome didn't like the output, so I've modified that now.

Simple template replace will get you through till the next update...

edit template: nflj_sportsbook_helper_filters

replace that entire template with this template:
HTML:
<xen:if hascontent="true">
    <xen:require css="discussion_list.css" />
    <div class="discussionListFilters secondaryContent">
        <h3 class="filtersHeading">{xen:phrase filters}:</h3>
        <dl class="pairsInline filterPairs">
        <xen:contentcheck>
        <xen:if is="{$prefixFilter}">
            <dt>{xen:phrase prefix}:</dt>
            <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'prefix_id='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:if '{$prefixFilter} < 0', {xen:phrase none}, {xen:helper sportsbookPrefix, $prefixFilter, escaped, ''}} <span class="gadget">x</span></a></dd>
        </xen:if>
        <xen:if is="{$typeFilter}">
            <dt>{xen:phrase nflj_sportsbook_status}:</dt>
            <xen:if is="{$typeFilter} == 'any'">       
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_tab_any} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'open'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_tab_open} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'closed'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_tab_closed} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'awaiting_settlement'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_tab_awaiting} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'settled'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_tab_settled} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'pending'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_tab_pending} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'win'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_tab_win} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'loss'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_tab_loss} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'push'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_filter_push} <span class="gadget">x</span></a></dd>
            <xen:elseif is="{$typeFilter} == 'bookiecp'" />
                <dd><a href="{xen:link $linkBase, $linkData, '_params={$pageNavParams}', 'type='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:phrase nflj_sportsbook_filter_bookiecp} <span class="gadget">x</span></a></dd>
            </xen:if>
        </xen:if>
        </xen:contentcheck>
        </dl>
        <dl class="pairsInline removeAll">
            <dt>{xen:phrase remove_all_filters}:</dt>
            <dd><a href="{xen:link $linkBase, $linkData, 'order={$pageNavParams.order}'}" class="removeAllFilters Tooltip" data-tipclass="flipped" data-offsetX="10" title="{xen:phrase remove_all_filters}">x</a></dd>
        </dl>
    </div>
</xen:if>
 
Status
Not open for further replies.

Similar threads

Back
Top