test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • dostrog Friend
    #176304

    Hi!

    JA Tabs plugin put his CSS (and JS) files just before tag </head>. Therefore rules from his CSS files (ex ja.tabs.css) have a high priority. I want to change some rules of Ja Tabs code (design needs) and I want doing this by putting the my rules in my own CSS-files for example in the local theme of JA Community Plus template.

    But my rules, of course, redefined by Ja Tabs because it loaded AFTER my local theme files.

    I can edit ja.tabs.css in ‘plugins/system/jatabs/jatabs/’ directly, but when I will update Ja Tabs I will lose my changes in original ja.tabs.css ;(

    How (or where) can I redefine ja.tabs.css ( and …/jatabs/themes/style.css ) without editing original files?

    Thanks!

    khoand Friend
    #449232

    I have a trick. Example: You want to redefine the code

    .community_plus .ja-tabswrap {
    border: 1px solid #CCCCCC;
    }

    To use ja-tab plugin, we must use custom html module. So you set Module Class Suffix of the module (Advanced Options section) is -tab.
    And you add the code to redefine css

    .moduletable-tabs .community_plus .ja-tabswrap {
    border: 1px solid red;
    }

    dostrog Friend
    #449238

    looks like it will work …
    I will check this carefully and report back later.

    dostrog Friend
    #449318

    Just checked. Everything is working.
    Also used the plugin ‘Load modules’ to put JA Tabs in article by {loadposition blah-blah-blah}

    Thank you!

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

This topic contains 4 replies, has 2 voices, and was last updated by  dostrog 12 years, 8 months ago.

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