-
AuthorPosts
-
effektlabor Friend
effektlabor
- Join date:
- March 2007
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
May 21, 2009 at 8:36 pm #141369Hi,
I want to remove the border from only one image in an article. But I don’t want to delete the whole border definition in “.article-content img” from the template.css.
How can I achieve that?
thank you and best regards!
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
May 21, 2009 at 8:44 pm #305422While your image is highlited Click your edit image button and go to borders and remove any code there.
effektlabor Friendeffektlabor
- Join date:
- March 2007
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
May 21, 2009 at 10:10 pm #305426he?
what has this to do with css definitions of borders in the template.css?
best regards…
nguyenhuu quang Friendnguyenhuu quang
- Join date:
- September 2014
- Posts:
- 1087
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 29
- Thanked:
- 328 times in 288 posts
May 22, 2009 at 3:21 am #305444<em>@mfcphil 129634 wrote:</em><blockquote>While your image is highlited Click your edit image button and go to borders and remove any code there.</blockquote>
I think U cant do it.effektlabor Friendeffektlabor
- Join date:
- March 2007
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
May 22, 2009 at 4:19 pm #305544Can I define a custom css class that has no borders and then assign it to this special image?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 22, 2009 at 8:21 pm #305558effektlabor;129772Can I define a custom css class that has no borders and then assign it to this special image?
You can always create a custom position in you index.php and template.xml files, create a custom module with the image, and create the corresponding css rule for it. Then, publish the module on ONLY the page(s) you want it displayed.
Take a few extra steps, but it’s doable.
🙂
effektlabor Friendeffektlabor
- Join date:
- March 2007
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
May 22, 2009 at 9:13 pm #305566I think no one understands me… 🙁
I have two articles where I don’t want to display the images with the border. just two articles. in these two articles the images should have no border… so I think I can assign a css definition (via template.css) to these images that tells them to not show any kind of border.
no custom module positions…
any ideas?
best regards!
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
May 22, 2009 at 9:25 pm #305567effektlabor;129632Hi,
I want to remove the border from only one image in an article. But I don’t want to delete the whole border definition in “.article-content img” from the template.css.
How can I achieve that?
thank you and best regards!
Open the article and click the HTML button and in the image tag and the bold text below.
<img style="border: none;" src="img/path" alt="alt_text" heigh="XXpx" width="XXpx />
Styles defined in the tag will override the CSS (unless you add !important in the CSS)
1 user says Thank You to scotty for this useful post
effektlabor Friendeffektlabor
- Join date:
- March 2007
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
May 22, 2009 at 9:39 pm #305575Ui,
sounds good, but the style=”border: none;” gets kicked out of the html. I add the code, I hit update, I save. But then, if I open the html again, the style=”border: none;” is gone…
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
effektlabor Friendeffektlabor
- Join date:
- March 2007
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
May 22, 2009 at 10:12 pm #305582Yep, great! thank you very much… Somehow I always knew… every way leads to JCE… 😉
-
AuthorPosts
This topic contains 11 replies, has 5 voices, and was last updated by effektlabor 15 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum