-
AuthorPosts
-
moska007 Friend
moska007
- Join date:
- August 2012
- Posts:
- 61
- Downloads:
- 14
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
January 6, 2016 at 12:43 am #839570Please apologize, but I can not post a question on the topic (New Color Category) it is closed.
Then I created another topic. Again forgive me.I created a new color category called (Cat Gray). Located in: my_site/templates/ja_magz_ii/less/style.less
// Cat Gray // -------- .cat-gray { .t3-header { background: @gray; border-bottom-color: @gray; .headright .head-search, .languageswitcherload { border-left-color: rgba(255,255,255,0.2); .fa, .fa:before { color: @white; } } .headright .head-social .social-list li a { color: @white; } } .search-open .t3-header .headright .head-search .fa-search:hover:before, .search-open .t3-header .headright .head-search .fa-search:hover:after { background-color: @white; } .off-canvas-toggle, .off-canvas-toggle:focus, .off-canvas-toggle:active, .off-canvas-toggle:hover { background: @gray; border-right-color: rgba(255,255,255,0.2); .patty, .patty:before, .patty:after { background-color: @white; } } &.off-canvas-open .off-canvas-toggle { .patty { background-color: transparent; } .patty:before, .patty:after { background-color: @white; } } .leading-main .item-content { border-bottom-color: @gray; } .ja-gallery-list .btn-play { background-color: @gray; &:hover, &:focus, &:active { background-color: @white; } } .article-intro a, .article-content a { border-bottom-color: @gray; &:hover, &:focus, &:active { color: @gray; } } // PageBreak Index // --------------- #article-index, .article-index { ul { // Link > li > a { // Link states &:hover, &:active, &:focus { color: @gray; } } // Active > .active > a { background: @gray; // Link states &:hover, &:active, &:focus { background: @gray; color: @white; } } } } // end }
And add in: my_site/templates/ja_magz_ii/less/navbar.less
// Cat Gray &.cat-gray > a { &:hover, &:focus { color: @gray; } } &.active.cat-gray > a { color: @gray; }
After doing so, I open:
Backend > Extensions > Templates > JA Magz II template style > hit the button to compile less to css.But not appear the option Category Gray. (JA Extra Fields)
`
What is wrong?
Thanks e Sorry
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
January 6, 2016 at 8:23 am #839815Hi @moska007,
Not sure if there’s anything to do with JA Extra Fields but due to our documentation, you will have to type the color name in tab JA Magz in each category.
moska007 Friendmoska007
- Join date:
- August 2012
- Posts:
- 61
- Downloads:
- 14
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
January 7, 2016 at 1:37 am #840532Well
Believe I’m a few steps to find out how to make the change. As the [documentation] says (https://www.joomlart.com/documentation/joomla-templates/ja-magz#category-color) I also made changes to the file – my_site/templates/ja_magz_ii/less/variables.less
// Accent colors // ------------------------- @black: #000; @gray: #262626; (change) @white: #fff; @blue: #3246ab; @green: #008000; @cyan: #09c; @red: #d61d00; @yellow: #ffbb00; @orange: #f39100; @pink: #d1008b; @purple: #741784;
And did change the file (Under my responsibility): my_site/templates/ja_magz_ii/etc/form/com_categories.categorycom_content.xml
<?xml version="1.0" encoding="utf-8"?> <form> <fields name="params"> <fieldset name="t3_extrafields_params" label="JA Extra Fields" description="Custom Fields for category"> <field name="classes" type="list" description="Category Color" label="Category Color" default="" > <option value="">Default Color</option> <option value="cat-red">Red Color</option> <option value="cat-green">Green Color</option> <option value="cat-gray">Gray Color</option> (change) <option value="cat-pink">Pink Color</option> <option value="cat-blue">Blue Color</option> <option value="cat-purple">Purple Color</option> <option value="cat-orange">Orange Color</option> </field> </fieldset> </fields> </form>
Changing this file caused the gray option was shown.
When selected gray, the displayed color is gray. I need to perform any more change? Because everything seems to be working very well.
A future update of Template, you will lose those changes?
Thanks
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
moska007 Friendmoska007
- Join date:
- August 2012
- Posts:
- 61
- Downloads:
- 14
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
January 7, 2016 at 5:08 pm #841168Thanks Adam
For now I’m only on localhost, Soon I will send to the address http://www.comcristonaweb.com.br
Can I send you a backup if you prefer?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
moska007 Friendmoska007
- Join date:
- August 2012
- Posts:
- 61
- Downloads:
- 14
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
January 7, 2016 at 10:46 pm #841331This reply has been marked as private.Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
moska007 Friendmoska007
- Join date:
- August 2012
- Posts:
- 61
- Downloads:
- 14
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
moska007 Friendmoska007
- Join date:
- August 2012
- Posts:
- 61
- Downloads:
- 14
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
January 10, 2016 at 4:55 pm #842882The only thing that needs adjustment is.
The color of the title does not change when you pass the mouse over it.
Any tips on where to change it?Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
moska007 Friendmoska007
- Join date:
- August 2012
- Posts:
- 61
- Downloads:
- 14
- Uploads:
- 5
- Thanked:
- 2 times in 2 posts
January 12, 2016 at 12:26 am #844833Hey Man
Sorry it was only symbol "}" who was not insertedTHANK YOU
ALL PERFECTLY WORKINGAdam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
-
AuthorPosts
This topic contains 14 replies, has 2 voices, and was last updated by moska007 8 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum