Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • austenn01 Friend
    #206074

    Hello,

    I was happily working on a new website, and I went and added a normal class to a Menu Item > link type > Link CSS Style field AND I added a Font Awesome class fa-user and neither show in the code on the frontend.

    The css class had been in this filed for maybe 3 weeks, so cache is not an issue. i only added the fa-user tonight, which is what alerted me to the issue that it doesnt matter what text you add to the Link CSS style field, nothing will show on the frontend when viewing the code in firebug.


    1. link-css-style-issue
    chavan Friend
    #569462

    Go to this File: pluginssystemt3includesmenumegamenu.tpl.php

    Search for this function : static function item($vars)

    Add this code just above switch ($item->type) { of the ‘function item’

    [PHP]

    if (trim($item->anchor_css) !=”) {
    $vars[‘class’] .= ‘ ‘.trim($item->anchor_css).’ ‘;
    }

    [/PHP]

    But when you upgrade your Ja Template, this code might be replaced.

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

This topic contains 2 replies, has 2 voices, and was last updated by  chavan 9 years ago.

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