-
AuthorPosts
-
jurgeng Friend
jurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
November 17, 2016 at 6:40 am #987178Hi,
I’m aware that this is an issue that is caused by a name collision, and should be solved by you guys OR the Kunena guys (or ideally: both) – you’re both using the too generic class ".badge" in a different sense.
Kunena is using it on the profile page to show the number of articles a person wrote.
JA is using it to highlight a certain module.Thing is… the CSS messes things up at the Kunena side (see screenshot)
-
jurgeng Friend
jurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
November 17, 2016 at 6:41 am #987181when changing .badge to .ja_badge, Kunena works again, but obviously the JA features are then gone 🙂
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 18, 2016 at 2:27 am #987443Hi,
Third party extensions like Kunena may use the same class for style. There are 2 options:
1) If you want to redeclare for class ‘.badge’ in JA Zite template, you can see its declaration in the file: ROOT/templates/ja_zite/css/typo.css2) Contact Kunena for help to change the class.
Regards
jurgeng Friendjurgeng
- Join date:
- December 2010
- Posts:
- 77
- Downloads:
- 56
- Uploads:
- 12
- Thanks:
- 7
- Thanked:
- 6 times in 3 posts
November 19, 2016 at 4:08 pm #987724Hi,
first off, I made a mistake, the collision is not with Kunena, but with Community Builder. Here is what happens:
- Extension loads CSS
- Template loads CSS (takes priority over 1)
I could change typo.css to use the CSS markup from Community Builder, but with the next update of the template, this will be overwritten.
The normal way to go, would be to add this style to custom.css but apparently Zite doesn’t have this option embedded in the template header.
So I would like to report a bug/feature request through this channel: add the custom.css stylesheet to the end of the CSS list. I will manually add it to my current version.
Could you please confirm if this proposal can find its way into the code? It will break nothing andallow to easily fix a lot of issues.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 21, 2016 at 10:01 am #988142Hi,
JA Zite is built with old T3 framework which not support ‘custom.css’ file as new T3 framework so I’m afraid that you will need to backup the change when updating new version of template.
Regards
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 4 replies, has 2 voices, and was last updated by Saguaros 8 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum