1. 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.

Resolved Unread articles : prefixes bold or not ?

Discussion in 'AMS Support' started by nicodak, Apr 19, 2022.

Thread Status:
Not open for further replies.
  1. nicodak

    nicodak Member AMS Premium CAS Premium LD Premium SC Premium UBS Premium Pickem Sportsbook

    Hello,
    I don't know if it's intentional or not, but the prefixes of the unread articles are in bold on the article pages but not in the widgets.

    Capture web_19-4-2022_7353_regionalis.fr.jpeg Capture web_19-4-2022_73445_regionalis.fr.jpeg
     
  2. Bob

    Bob Developer Staff Member

    The only places that I could find that Article Prefixes are being set to BOLD (if the article is unread), are Grid View Layout and Tile View Layout. All other layout types use the core XF .structItem-Title or .contentRow-title classes, which explicitly sets the font-weight on the label class to 400 (which is normal font weight).

    Example, here you can see, AMS Index with List View layout does not BOLD the Prefixes of unread articles.

    Selection_858.png

    I did find the suggestion made by one of the Early Adopters to make the Prefixes Bold on unread articles, so that's probably why that behavior is still lingering on Grid View and Tile View (which are both "Grid" style layout types so the LESS templates for both are similar and don't use the .structItem classes).

    Anyway, with that said, I've updated Grid View Layout LESS and Tile View Layout LESS, so that prefixes on those 2 layout types have the same display behavior as the .structItem-title class and .contentRow-title class (Core XF classes), which are used in List View Layout, Article View Layout & Carousel layout in all my addons.

    I'll mark this as resolved as I did change the behavior on Grid View and Tile View and you can test again (against an unedited core xf default style) after the next update and if you find any instances of bold prefixes, you can report them individually so that they can be fixed.
     
    nicodak likes this.
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.