-
AuthorPosts
-
VisiGod Friend
VisiGod
- Join date:
- January 2006
- Posts:
- 538
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 76
- Thanked:
- 138 times in 18 posts
February 27, 2013 at 12:34 am #185336In brief: the option “Add New Item” in K2 Category layout has fixed position which looks very ugly and I think was missed/bugged when styling the template.
How to reproduce?
1. Install the template.
2. Login in frontend (with user who has frontend adding content rights).
3. Go to a K2 category.See the block “Add New Item”
1 user says Thank You to VisiGod for this useful post
VisiGod Friend
VisiGod
- Join date:
- January 2006
- Posts:
- 538
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 76
- Thanked:
- 138 times in 18 posts
February 27, 2013 at 12:36 am #484651The problem comes due to:
.modal {
position: fixed;
top: 10%;
left: 50%;
z-index: 1050;
width: 560px;
margin-left: -280px;
background-color: #fff
border: 1px solid #999
border: 1px solid rgba(0,0,0,0.3);
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 0 3px 7px rgba(0,0,0,0.3);
-moz-box-shadow: 0 3px 7px rgba(0,0,0,0.3);
box-shadow: 0 3px 7px rgba(0,0,0,0.3);
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;
outline: none;
}1 user says Thank You to VisiGod for this useful post
phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
February 27, 2013 at 7:49 am #484713Hi VisiGod,
Thank you. We really appriciate your suggestions for fixed position of “Add New Item” in K2 Category layout.
In addition, our developer also published solution on github.
You can see here.Regards,
—
LeoVisiGod Friend
VisiGod
- Join date:
- January 2006
- Posts:
- 538
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 76
- Thanked:
- 138 times in 18 posts
phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 12, 2013 at 3:57 am #486114Hi VisiGod,
Our dev team already fixed this bug on JA Mitius template, the updated template will be released soon.
But before that, you can follow my guide for fixing this bug in K2:1. Copy k2.css from /components/com_k2/css/k2.css to your /templates/[yourtemplate]/css/k2.css
2. Upgrade class for a.modal#k2Container a.modal {
border: 0px;
display: inline-block;
margin: 0 10px 0 0;
position: relative;
top: auto;
left: 0px;
width: auto;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
-webkit-box-shadow: 0 0 0 0;
-moz-box-shadow: 0 0 0 0;
box-shadow: 0 0 0 0;
}Note: You can use this css selector #k2Container a.modal or any specific css selector .k2UserBlock .k2UserBlockActions a.modal
Regards,
—
Leo -
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by VisiGod 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum