Closed (works as designed)
Project:
Panels
Version:
6.x-3.3
Component:
Plugins - styles
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2010 at 13:53 UTC
Updated:
21 Aug 2010 at 19:29 UTC
Hi all,
I seriously hope someone will be able to help as I've been stuggling around with this for hours now.
I'm using Advanced Profile Kit in combination with Panels, and somehow I cannot get it to work with "No Style" - to remove the rounded corners. Instead, now, I have deleted the corner images, and am trying to change the white to another color, but somehow I can't find the right code.
What am I doing wrong?
here you can see what's wrong:
http://luthadel.net/user/1
Thanks :)
Comments
Comment #1
twistdev commentedUsing firebug, I found the CSS that renders the content wraps. I copied and pasted the CSS to my theme's style.css file, and changed the values to null/none.
Here's the CSS before editing:
.t-edge, .b-edge, .l-edge, .r-edge, .wrap-corner {
position: relative;
zoom: 1;
}
#user-profile .t-edge {
background-image: url(/modules/panels/plugins/styles/corners/shadow-t.png);
background-attachment: initial;
background-origin: initial;
background-clip: initial;
background-color: initial;
font-size: 1px;
background-position: 0px 0%;
background-repeat: repeat no-repeat;
}
#user-profile .b-edge {
background-image: url(/modules/panels/plugins/styles/corners/shadow-b.png);
background-attachment: initial;
background-origin: initial;
background-clip: initial;
background-color: initial;
font-size: 1px;
background-position: 0px 100%;
background-repeat: repeat no-repeat;
}
#user-profile .l-edge {
background-image: url(/modules/panels/plugins/styles/corners/shadow-l.png);
background-attachment: initial;
background-origin: initial;
background-clip: initial;
background-color: initial;
background-position: 0px 0px;
background-repeat: no-repeat repeat;
}
#user-profile .r-edge {
background-image: url(/modules/panels/plugins/styles/corners/shadow-r.png);
background-attachment: initial;
background-origin: initial;
background-clip: initial;
background-color: initial;
background-position: 100% 0px;
background-repeat: no-repeat repeat;
}
#user-profile .wrap-corner {
background-image: initial !important;
background-attachment: initial !important;
background-origin: initial !important;
background-clip: initial !important;
background-color: rgb(255, 255, 255) !important;
background-position: initial initial !important;
background-repeat: initial initial !important;
}
#user-profile .wrap-corner .t-edge, #user-profile .wrap-corner .b-edge {
height: 11px;
}
#user-profile .wrap-corner .l, #user-profile .wrap-corner .r {
position: absolute;
top: 0px;
height: 11px;
width: 11px;
background-image: url(/modules/panels/plugins/styles/corners/corner-bits.png);
}
#user-profile .wrap-corner .l {
left: 0px;
}
#user-profile .wrap-corner .r {
right: 0px;
background-position: -11px 0px;
}
#user-profile .wrap-corner .b-edge .l {
background-position: 0px -11px;
}
#user-profile .wrap-corner .b-edge .r {
background-position: -11px -11px;
}
#user-profile .wrap-corner .r-edge {
padding-top: 5px;
padding-right: 24px;
padding-bottom: 5px;
padding-left: 24px;
}
#user-profile div.admin-links {
margin-top: -14px;
margin-left: -12px;
}
#user-profile .panel-separator {
background-image: url(/modules/panels/plugins/styles/corners/shadow-b.png);
background-attachment: initial;
background-origin: initial;
background-clip: initial;
background-color: initial;
font-size: 1px;
height: 30px;
background-position: 0px 50%;
background-repeat: repeat no-repeat;
}
#user-profile .rounded-corner {
margin-bottom: 1em;
}
Comment #2
merlinofchaos commentedThe color is actually embedded into the images, so you can't remove it with CSS.
The new stylizer feature should be able to help.