-
AuthorPosts
-
brankopilic Friend
brankopilic
- Join date:
- December 2014
- Posts:
- 131
- Downloads:
- 0
- Uploads:
- 70
- Thanks:
- 53
- Thanked:
- 5 times in 1 posts
June 10, 2014 at 3:04 pm #198666Hi,
How to convert active links or buttons to different color?
I am working on this website that should be optimized on different screen sizes:
http://blog.immigrationuslawyer.com/citizenshipand here is website that I am trying to replicate as it is:
http://immigrationuslawyer.com/service.htmlso on this site: http://immigrationuslawyer.com/service.html there are active buttons and links in red color.
And I am trying to do the same on this website: http://blog.immigrationuslawyer.com/citizenshipIs it possible to convert active links from HTML module and Article/content when they are active to stay in another color? (in this case in red color)
Thank you,
bAdam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
June 11, 2014 at 9:14 am #538570Please open the root_folder/templates/purity_iii/css/custom.css file and add this declaration:
a.btn-red:hover, a.btn-red:active,
a.btn-red:focusa.ja-typo-btn {
background: #F70712
border-color: #F70712
}As for your second question, since you’re using custom HTML code to implement navigation, it’s impossible to detect menu’s active state.
2 users say Thank You to Adam M for this useful post
brankopilic Friendbrankopilic
- Join date:
- December 2014
- Posts:
- 131
- Downloads:
- 0
- Uploads:
- 70
- Thanks:
- 53
- Thanked:
- 5 times in 1 posts
June 11, 2014 at 11:23 am #538594Hi,
1. I added your suggestion to custom.css but it looks like that has not applied on the website:
http://blog.immigrationuslawyer.com/citizenshipI guess it should be changed somewhere here:
2. Regarding second part:
“As for your second question, since you’re using custom HTML code to implement navigation, it’s impossible to detect menu’s active state.”I have created menu links and linked with their articles and this help me to have:
http://blog.immigrationuslawyer.com/filing-for-u-s-citizenship-while-overseas
http://blog.immigrationuslawyer.com/citizenship-through-naturalizationThis help me to have a each page connected with it’s menu link.
Is it now possible to covert this kind of links that are connected with menu links to active link when you click on it and to have just another color?
P.S. There is old-fashion way to do that if I create let’s say 10 modules with different links colors inside and assign module with read/different color link to it’s menu/link. But I think that it is modern solution for it, I hope so.
-
Adam M Moderator
Adam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
June 12, 2014 at 7:08 am #538698Look like you have just updated your site since all hyperlinks above lead to 404 page, could you please check again and confirm your current situation?
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by Adam M 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum