Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • hzc0mm Friend
    #172747

    JA News Pro module, when listing subcategories in “linear” layout, does sometimes not display the last subcategory.

    site: http://www.hotelmagazin-online.com

    screenshot:

    I tried to pin down the problem: the css class “subcats-selection” simply isn’t wide enough, so display of last link gets suppressed.

    tinkering with the relating stylesheet ( /html/templates/ja_teline_iv/html/mod_janewspro/linear/style.css) did not work – it’s obviously being overridden somewhere in the code, I suspect during processing in helper.php.

    manually overriding the element.width with a value + 100 in FireBug shows success in displaying the frigging last element:

    problem is: I can’t seem to find the respective PHP-lines in the code.

    Stylesheet ( /html/templates/ja_teline_iv/html/mod_janewspro/linear/style.css) shows 100% width at line 109

    .linear .ja-zin .subcats-selection {
    position: relative;
    float: left;
    height: 30px;
    width:100%
    }

    so that’s it then … out of ideas …

    but the width obviously is too narrow. If I highlight the last subcat in FireBug it clearly is shown, but AFTER A LINEBREAK

    so … ANY IDEAS GUYS?


    1. subcat_original
    2. subcat_override
    3. lastelement
    hzc0mm Friend
    #433721

    OK, found a solution:

    In /html/modules/mod_janewspro/tmpl/linear/script.js at line 34 I changed

    var width = 0;

    to

    var width = 10;

    works. hm …

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  hzc0mm 12 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum