Tagged: description, enfold, figcaption, title
-
AuthorPosts
-
December 2, 2015 at 3:59 pm #545921December 2, 2015 at 5:51 pm #545995
Hey eldrico!
It says the account is not active when trying to login.
Best regards,
Elliott- This reply was modified 8 years, 11 months ago by Elliott.
December 2, 2015 at 6:23 pm #546030Sorry, I hate that security plugin that force me to approve new registration without any notification.
It’s ok now Elliott, sorry again
December 2, 2015 at 8:35 pm #546082Hey!
When you choose the images in the Masonry Gallery you have the option of setting a title and alt text. The text that gets displayed in the lightbox there is the title. If you want to switch that to the alt text then try opening up /enfold/config-templatebuilder/avia-shortcodes/helper-masonry.php and change line 231 from this.
$img_html = '<img src="'.$attachment[0].'" title="'.$title.'" alt="'.$alt.'" />';
To this.
$img_html = '<img src="'.$attachment[0].'" title="'.$alt.'" alt="'.$alt.'" />';
Best regards,
ElliottDecember 2, 2015 at 9:49 pm #546127Hey Elliott,
Thanks for your answer but:
1- I can’t find the helper-masonry.php in the path you gave me /enfold/config-templatebuilder/avia-shortcodes/helper-masonry.php
Please see the link1, screenshot of my FTP2- I’m sure it will work once i’ll get the correct path but is there a misunderstanding about the Title / ALT / Description ?
Please see link2 about my image in wordpress Media.
I’d like to get the TITLE into the figcaption, not the ALT (if possible).Thanks in advance,
Eldrico
December 4, 2015 at 3:34 pm #547036Hey!
link to screenshots you have provided do not work for me. I get “Access denied”. Can you check please?
Cheers!
AndyDecember 4, 2015 at 4:08 pm #547068Hi Andy,
Sorry, too much protection I guess…
Can you try the links below please.
thanks,
Eldrico
December 4, 2015 at 7:49 pm #547247Hey!
The helper-masonry.php file was added in one of the later versions. You probably need to update Enfold to the latest version, 3.4.4.
Regards,
ElliottDecember 4, 2015 at 7:52 pm #547248Ok, thanks.
And what about :
TITLE, ALT, DESCRIPTION ?December 7, 2015 at 6:19 pm #548195Hi!
The title is already displayed in the lightbox by default. The code I posted switches it to use the alt text instead.
I tried checking your screenshot but the link is giving me an error.
Best regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.