Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Images in Post: Option for "No Border" on selected posts? (http://forum.bytesforall.com/showthread.php?t=3120)

KatyDigg Aug 24, 2009 10:33 AM

Images in Post: Option for "No Border" on selected posts?
I want to retain the Global Option of Border on Images in Posts.

However, on selected postings, I would like to be able to set the Border to "No"

i.e. no border with image on a selected posting.

Is this possible?

Perhaps, with a CSS Insert?

Many thanks.

AnneTanne Aug 24, 2009 01:12 PM

Have you tried adding a class to those images, (e.g. 'noborder' ;)), and add the corresponding CSS to ATO / Add html/css inserts ?

KatyDigg Aug 25, 2009 12:52 PM

Hello Anne,

How kind of you to offer help, thank you.

Yes, I set a distinction, a class, and CSS/HTML insert option.

So, next, I thought I would ask here, with regard to Atahualpha Theme and associated Theme Options etc.

Now, I shall simply accept that this cannot be done, other than, Set Images to No Border in ATO

and then add a Border to each image in post(s), but, that would relate to the majority of images.

The images that require No Border being the minority.

Thank you for your time and consideration, very much appreciated.

AnneTanne Aug 26, 2009 12:47 PM

You could set the the border just like you want it in the majority of images.
Then you can create a class for the the images that shouldn't have a border, and add a CSS insert that removes the border from the images that have that class.

I've done that for the signature on my posts that you see on single-post pages on my blog. That signature doesn't have a border, unlike the other pictures on my blog. In the CSS-insert tab of my blog , you find

.signature img
margin-top: 20px;
margin-bottom: 10px;
margin-left: 30px;
background-color: #ffffff;

And this defines the (abscence of) the border, the margins and the background-color for the image in the div with class "signature".

I guess that when you simply give the images that should be borderless the class 'noborder', you could simply add:


Of course you have to manually add the class 'noborder' to all those borderless images.

All times are GMT -6. The time now is 03:11 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.