-
AuthorPosts
-
obliat Friend
obliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
September 16, 2012 at 9:25 pm #180732This is customizing, I know guys, not an issue, so it’s all a good will to help me 🙂
So I wanted to add captions to the main image in JA News Features on my http://www.ecars.bg Teline IV setup, but this has to be set in the module php files I guess, and I can’t do that.
Actually I would like to have a specific class applied – see example here – it’s text over transparent layer – in K2 items it’s easy to add a div, but how is this possible in the module as well?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 17, 2012 at 10:41 am #467246If you are trying to work with customization, you can:
<blockquote>Open templates/ja_teline_iv/html/mod_janews_featured/default/blog.php file</blockquote>
Find
<h2 class="ja-zintitle">
<a href="<?php echo $news->link;?>" title="<?php echo strip_tags($news->title); ?>">
<?php echo $news->title;?>
</a>
</h2>Make any changes on CSS file here at:
<blockquote>templates/ja_teline_iv/html/mod_janews_featured/default/style.css</blockquote>
1 user says Thank You to Ninja Lead for this useful post
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
September 17, 2012 at 3:05 pm #467269Thanks, I thought I need to touch it couple of rows above where the image settings are (bigshowimage), but will try with your suggestion though now sure how to code it :-[.
Thanks for the tip.
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
September 17, 2012 at 7:17 pm #467287I mean not (not now) sure how to code it (no more post editing after 20 minutes 🙁
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 18, 2012 at 11:19 am #467396What do you need?
If it’s right you can change from css file
Open templates/ja_teline_iv/html/mod_janews_featured/default/style.css
from
.ja-zinfp-featured h2.ja-zintitle a {
background: #000
border-bottom: 1px solid #ccc
color: #ccc
padding: 8px 12px;
text-decoration: none;
}Change to
.ja-zinfp-featured h2.ja-zintitle a {
color: #ccc
padding: 8px 12px;
text-decoration: none;
position: absolute;
top: 180px;
}
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
September 18, 2012 at 8:23 pm #467440Hi and thanks for your suggestion.
It’s close to what you suggest, but not exactly.
I’d like to keep the title where it is and add opacity bar with text to serve as caption on the image. This way I can show image credits and some text in addition to alt and title tags (title tag only shows on hover…). So it’s even mandatory to show image credits so I’d love to have a solution and maybe you guys can update the JA News Feeatured module with this function – please see attached image.
I created a class and I can easily apply it, but it only shows when you open the article (K2 item in my case) – I don’t know how to apply the class to the JA News Featured php. And where will I enter the captions text for every new article. So the idea is to have separate class that will show captions to this module as I have another class for inside the article (I don’t think one class can do both).
So this is what I’m trying to achieve and you help is very much needed even more we are talking about being able to show image credits here.
Thanks again
Martin
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
September 20, 2012 at 6:32 pm #467682OK thanks and looks like my way is to go visit Joomlancers then 🙂
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by obliat 12 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum