-
AuthorPosts
-
divinemagazine Friend
divinemagazine
- Join date:
- February 2015
- Posts:
- 88
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 18
March 4, 2015 at 2:21 pm #204336Hello,
Just wanted to ask if it’s possible to get a black background with white text for image caption.
Link to post http://divinemagazine.net/lifestyle/travel-nightlife/el-gouna-red-sea-egypt
Anders
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 4, 2015 at 4:16 pm #561608Hi Anders,
Open custom.css file(create a new one if it does not exist at ja/template/ja_teline_v/css/custom.css) then add
span.wf_caption {
color: #ffffff
background: #2b2b2b
text-align: center;
font-weight: bold;
opacity: 0.7;
/* padding: 10px; */
}The result look like so
NOTE: Just enable padding if you want the blackground around img
divinemagazine Frienddivinemagazine
- Join date:
- February 2015
- Posts:
- 88
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 18
March 4, 2015 at 5:25 pm #561622Thanks for your reply Leo.
I have added the code to the custom.css file but it’s not working.
Any ideas why?
Anders
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 4, 2015 at 5:30 pm #561625I didn’t see the css code in custom.css file http://divinemagazine.net/templates/ja_teline_v/css/custom.css
Could you please recheck?
divinemagazine Frienddivinemagazine
- Join date:
- February 2015
- Posts:
- 88
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 18
March 4, 2015 at 5:36 pm #561628This is strange. The code is in the file.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 5, 2015 at 12:42 am #561660I’m sorry, now I see the css code, it seems an issue with my Chrome caches :-[
Please try again by adding the css code below
span.wf_caption {
color: #ffffff;
background: #2b2b2b;
text-align: center;
font-weight: bold;
opacity: 0.7;
/* padding: 10px; */
}Dont for get to delete the css code in this post
divinemagazine Frienddivinemagazine
- Join date:
- February 2015
- Posts:
- 88
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 18
March 5, 2015 at 11:47 am #561731Hi Leo,
It still not working.
Would really appreciate if you could login to our site and take a look.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 5, 2015 at 3:10 pm #561750I just fixed this issue for you(missing commas ; for color and background properties), the css code working fine now.
Please check and let me know if you still have any questions 🙂
1 user says Thank You to phong nam for this useful post
divinemagazine Frienddivinemagazine
- Join date:
- February 2015
- Posts:
- 88
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 18
March 5, 2015 at 3:45 pm #561758Thank you so very much for all your great help Leo 🙂
Natia Gabrichidze FriendNatia Gabrichidze
- Join date:
- September 2014
- Posts:
- 27
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 8
March 6, 2015 at 9:31 am #561889hi everyone we have trouble when we trying to share articles, it shows an images from category folder, and the category’s information too, when we deleted this images, they still appears. Any ideas for solving this problem?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 15, 2015 at 6:43 am #563102hi Leo
i need this and did what you advised, but no luck !
i use RTL and LESS (development mode).
so what is the right folder to place that custom.css file for my case?
and where to add the description of the image to be shown?thanks alot
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 16, 2015 at 1:24 am #563160Could you please give us your site to take a look?
Thanks
March 16, 2015 at 7:33 am #563215hi
check this please:
http://bit.ly/18vAFWX
thanksphong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 16, 2015 at 9:14 am #563233Hi there,
There’re two way to add a caption for Joomla! article
1. Via article option, like this
by default, we disable the caption so If you want to show the caption for Full image article, please check this post http://www.joomlart.com/forums/topic/full-article-image-is-not-showin/#post-563197
2. Add caption inside Joomla! article using JCE Editor
If you are using JCE and you want to add the captions for imgs, you need to install the plugin named caption here https://www.joomlacontenteditor.net/downloads/plugins/captionsThanks
AuthorPostsThis topic contains 19 replies, has 5 voices, and was last updated by phong nam 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum