-
AuthorPosts
-
edd Friend
edd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 24, 2015 at 9:37 am #204961Hi there,
On the “More News” module I would like the category colors to always display instead of only when the mouse over.
I’m thinking on the “hover value”, but dont know where can exactly is located, or if even adding a special code to the custom.cssPlease take a look to the attachement to see what I need:
Thanks a lot for help
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 24, 2015 at 2:53 pm #564430Hi there
somebody has any idea?Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 25, 2015 at 7:41 am #564516Hi Edd,
if you use editor like Firebug in Firefox or Inspect Element in Chrome, you can easily see that in this template css file: /templates/ja_teline_v/css/template.css, look for the css style when hovering the category name for each color:
.category-name.cat-blue a:hover,
.category-name.cat-blue a:focus,
.category-name.cat-blue a:active {
background-color: #0077bb;
border-color: #0077bb;
}.category-name.cat-green a:hover,
.category-name.cat-green a:focus,
.category-name.cat-green a:active {
background-color: #669900;
border-color: #669900;
}
.category-name.cat-violet a:hover,
.category-name.cat-violet a:focus,
.category-name.cat-violet a:active {
background-color: #bf5fff;
border-color: #bf5fff;
}
..................................................
For each color, you can add style for the <a> link without ‘hover, focus, active’ i.e:
.category-name.cat-blue a {
background-color: #0077bb;
border-color: #0077bb;
}.category-name.cat-green a {
background-color: #669900;
border-color: #669900;
}
,.......................
The same with other color
P/s: you can add this style into /templates/ja_teline_v/css/custom.css file which will keep your custom css code when you update template.
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 25, 2015 at 8:46 am #564524Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 25, 2015 at 9:08 am #564529Yes, and remember to add semicolon after the color code.
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 25, 2015 at 9:19 am #564532<em>@Saguaros 465346 wrote:</em><blockquote>Yes, and remember to add semicolon after the color code.</blockquote>
😮
what u mean?
sorry I didnt catch :-[Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 25, 2015 at 9:21 am #564534It should be like this: http://prntscr.com/6l3fbw
instead of: http://prntscr.com/6l3fi1
This happens when you copy/paste the code.
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
March 25, 2015 at 9:47 am #564538:-[ oh sure: “semicolon”
I will test and I will let you know 🙂
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by edd 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
More News Mod > category color
Viewing 8 posts - 1 through 8 (of 8 total)