bordeless image on skinny template?

Discuss PivotX 2.0.x themes here, and view themes that are available for download.

bordeless image on skinny template?

Postby topfenbaecker » Fri Jun 10, 2011 8:13 pm

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.
topfenbaecker
 
Posts: 3
Joined: Fri Jun 10, 2011 8:03 pm

Re: bordeless image on skinny template?

Postby Harm10 » Sat Jun 11, 2011 2:36 pm

Isn't this the same question as this one: http://forum.pivotx.net/viewtopic.php?f=2&t=2161
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: bordeless image on skinny template?

Postby topfenbaecker » Sun Jun 12, 2011 6:38 am

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?
topfenbaecker
 
Posts: 3
Joined: Fri Jun 10, 2011 8:03 pm

Re: bordeless image on skinny template?

Postby Harm10 » Sun Jun 12, 2011 10:02 am

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.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: bordeless image on skinny template?

Postby topfenbaecker » Tue Jun 14, 2011 8:49 pm

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
topfenbaecker
 
Posts: 3
Joined: Fri Jun 10, 2011 8:03 pm

Re: bordeless image on skinny template?

Postby Harm10 » Tue Jun 14, 2011 9:25 pm

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................. ;)
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)


Return to 2.x Themes

Who is online

Users browsing this forum: No registered users and 3 guests

cron