Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • rangkuk Friend
    #161885

    i use k2.css and k2 not work fine because /plugins/system/jat3/base-themes/default/css/template.css load some css:


    .ja-moduletable ul li, .ja-module ul li, .ja-content-main ul li {
    background: url("../images/bullet.gif") no-repeat scroll 20px 7px transparent;
    line-height: 160%;
    margin-bottom: 5px;
    overflow: hidden;
    padding-left: 30px;
    }

    so i don’t want to load css in base-theme
    i need used my css
    how i do that?
    ps: what happen if i delete all css in /plugins/system/jat3/base-themes/default/css/template.css
    im studying because i’m not coder
    thanks

    Thanh Nguyen Viet Friend
    #383190

    Hello mate,

    Please dont delete or update anything in base themes.
    you need override this code snippest on your template, how to do that:
    – copy this code snippet and paste it at the end of this file “templates/your_template/css/template.css”

    .ja-moduletable ul li, .ja-module ul li, .ja-content-main ul li {
    background: url("../images/bullet.gif") no-repeat scroll 20px 7px transparent;
    line-height: 160%;
    margin-bottom: 5px;
    overflow: hidden;
    padding-left: 30px;
    }

    – now you can update this code without changing base theme

    xiondesigns Friend
    #384631

    How does this exactly work.

    When optimization+compression is activated, its mixes all CSS and of course the css on “templates/your_template/css/template.css” has hihger priority than the one on base-themes,

    my question exactly is, it put’s one first and the other after, or it takes the rules that are most important and remove the other ones from the compressed css?

    Don Lee Friend
    #385117

    The css in base theme just serves for basic/general styles of all T3 templates… it is not overridden in template css.. so there is no priority when compressing them.

    If you want to override any css, just add !important

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

This topic contains 4 replies, has 4 voices, and was last updated by  Don Lee 13 years, 7 months ago.

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