-
AuthorPosts
-
December 31, 2009 at 4:58 am #147190
Is there a way to remove the border from certain photos in the Opal Template?
noibihappy2009 Friendnoibihappy2009
- Join date:
- January 2009
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 8
- Thanked:
- 6 times in 1 posts
December 31, 2009 at 9:45 am #327877div.article-content img, .img-desc img {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#FFFFFF none repeat scroll 0 0;
border:1px solid #DDDDDD;
margin:0 8px 0 0;
padding:4px;
}Remove background & border
December 31, 2009 at 2:56 pm #327889<em>@noibihappy2009 158525 wrote:</em><blockquote>
div.article-content img, .img-desc img {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#FFFFFF none repeat scroll 0 0;
border:1px solid #DDDDDD;
margin:0 8px 0 0;
padding:4px;
}Remove background & border</blockquote>
Thank you, but I don’t understand exactly how to use this.If found the code in the css that you added the 3 “moz-background” lines to, but can’t figure out how to apply it.
I can see that if I set the border to 0px that will take out all of the borders in the articles, but what I’m trying to do is remove some of them. I’m guessing the way to do this is to set the border to zero and then create a new class that will put in the default borders, but I don’t understand CSS well enough to seem to be able to get this to work.
What am I doing wrong?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 4, 2010 at 6:57 am #328086Hello guy!
<blockquote>Is there a way to remove the border from certain photos in the Opal Template?</blockquote>
Here is the solution , Open the file /templates/ja_opal/css/template.css and add those codes into this file:
.leading img{
border:none !important;
background:none !important;
}Good luck
January 4, 2010 at 2:14 pm #328149I still can’t seem to get this to work.
I added the code to my template.css file, but when I select a photo that I want to apply it to and go to the drop down menu in my editor to pick that css file, it is not in the list. The only thing similar is one that’s called “leading-separator” and when I apply that, it removes the image.
What am I doing wrong?
Thanks as always for your wonderful support.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 6, 2010 at 1:49 am #328343Yes, May be i have a misktake, please it would be very helpful if you could provide screenshorts so that i could have a look on the issue
Thanks a lot
January 6, 2010 at 1:58 am #328345What do you want a screen shot of? My drop down menu, the module with the photo I want to remove the box from, or a photo that I want to have a box around?
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by Saguaros 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum