Page 1 of 1

bordeless image on skinny template?

PostPosted: Fri Jun 10, 2011 8:13 pm
by topfenbaecker
Hi all

when I instert a static image into a page (using
Code: Select all
[[image file="/images/blah.png"]]
it creates an ugly border around the image.
I would like to have borderless images in my pages. But how? Obviously, I have to hack template.css, but what do I have to change?

any help is greatly appreciated.

Re: bordeless image on skinny template?

PostPosted: Sat Jun 11, 2011 2:36 pm
by Harm10
Isn't this the same question as this one: http://forum.pivotx.net/viewtopic.php?f=2&t=2161

Re: bordeless image on skinny template?

PostPosted: Sun Jun 12, 2011 6:38 am
by topfenbaecker
Ok, I'm halfway there.
I have to set the property of the border in class .pivotx-image to zero
However, I would like to do it in the proper way (change skinny.css), but pivotx_essentials.css overrides skinny.css

Any suggestiond?

Re: bordeless image on skinny template?

PostPosted: Sun Jun 12, 2011 10:02 am
by Harm10
topfenbaecker wrote:However, I would like to do it in the proper way (change skinny.css), but pivotx_essentials.css overrides skinny.css
As far as I can see this is not true. As essentials is defined first in the header and then style.css belonging to skinny any definitions within style should overrule the ones in essentials.
Are you sure you coded them exactly the same (or even more specific)?
If you are unsure what exactly belongs to an element class-wise install a debug program (Firebug or Webdeveloper) that can help you deduce what string of classes is active for the element you want to style.

Re: bordeless image on skinny template?

PostPosted: Tue Jun 14, 2011 8:49 pm
by topfenbaecker
If you are unsure what exactly belongs to an element class-wise install a debug program (Firebug or Webdeveloper)


Terrific! Didn't know this plugin.
I am a firm believer of learning by doing, with this plugin,I'll figure it out

Re: bordeless image on skinny template?

PostPosted: Tue Jun 14, 2011 9:25 pm
by Harm10
topfenbaecker wrote:I am a firm believer of learning by doing, with this plugin,I'll figure it out
I can't even tell you how much I learned that way................. ;)