-
AuthorPosts
-
amir00251 Friend
amir00251
- Join date:
- January 2011
- Posts:
- 113
- Downloads:
- 38
- Uploads:
- 13
- Thanks:
- 13
- Thanked:
- 11 times in 1 posts
July 18, 2013 at 11:16 pm #189073Hello, I’d like to change the Opacity of the social icons, image above, for both desktop and mobile themes, I think they need to be more clear specially on mobile view.
Would appreciate if you could suggest a css addition, I could not get this right when I checked the element.
Thank you.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 19, 2013 at 4:47 am #499541Hi amir00251,
You can open templatesja_smashboardlessstyle.less file, then find lines (at 96th):
a {
background: url("@{T3ImagePath}/black-trans-40.png");
border: 1px solid transparent;
color: @white;
display: inline-block;
font-size: 0;
margin-left: 5px;
padding: 0;
height: 29px;
opacity: 0.15;
-ms-filter: alpha(opacity=15);
filter: alpha(opacity=15);
text-align: center;
vertical-align: middle;
width: 29px;
.border-radius(@baseBorderRadius);// link state
&:hover, &:focus, &:active {
background: url("@{T3ImagePath}/black-trans-25.png");
border: 1px solid rgba(255,255,255,0.15);
opacity: 1;
text-decoration: none;
-ms-filter: alpha(opacity=100);
filter: alpha(opacity=100);
}
You can chane opacity of social icons on both desktop and mobile devices with hover, focus, active condition also. Remember to Compile Lss to Css in Template Manager.
Note: Another solution is creating a custom.css file at templates/ja_smashboard/css/ path & put below css codes into:
@media (max-width: 460px) {
.head-social ul.btn-social li.dropdown a {
opactity: 0.5 !important;
}
}These codes will override the opacity of social icons style on mobile view.
1 user says Thank You to phong nam for this useful post
amir00251 Friendamir00251
- Join date:
- January 2011
- Posts:
- 113
- Downloads:
- 38
- Uploads:
- 13
- Thanks:
- 13
- Thanked:
- 11 times in 1 posts
July 20, 2013 at 1:12 am #499645Thank you very much, the first solution worked, 0.4 I think is better than 0.15 which is set for this parameter.
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by amir00251 11 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
changing opacity for social icons
Viewing 3 posts - 1 through 3 (of 3 total)