-
AuthorPosts
-
September 18, 2013 at 2:38 pm #162929
Hi,
Love the theme, I am really happy with it but I have one problem.
On my front page, I use an icon to link to my Vimeo page (“Watch Us” at the bottom left here – http://www.scarletviewmedia.com/ ) but it won’t open.
Any chance you can help me fix it?
September 19, 2013 at 2:03 am #163256Hello ScarletView!
That’s an unexpected behavior with Vimeo links, however here’s a quick fix,
Open this file, and look for this line(459):
autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"] , a[href*="vimeo.com"] , a[href*="youtube.com"] , a[href*="screenr.com"]'Replace it with:
autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"], a[href*="youtube.com/watch"] , a[href*="screenr.com"]'Best regards,
JosueSeptember 19, 2013 at 4:16 pm #163642Thanks Josue, where would I find that file?
September 19, 2013 at 5:03 pm #163675Hello!
I would actually suggest a bit easier of a fix. Just add the noLightbox to your link and it won’t get picked up by the lightbox plugin:
<a class="noLightbox" href="https://vimeo.com/scarletviewmedia">Our Vimeo Channel</a>Cheers!
DevinSeptember 19, 2013 at 5:27 pm #163689I*’m sorry Devin, how do I do that? I know I have seen that somewhere before but not sure where.
Sorry, I’m new to all this!
September 19, 2013 at 6:57 pm #163713Hi!
The file i mentioned is located at /themes/enfold/js/avia.js, Devin solution would work if you’d have access to the actual HTML of the link, but that link is created by the shortcode.
Cheers!
JosueSeptember 19, 2013 at 7:55 pm #163732Hi Devin, thanks, I got it to work :)
Thanks and thanks Josue for your time!
September 19, 2013 at 7:57 pm #163735Glad we could help. Let us know if you have any other questions or issues.
-
AuthorPosts
- The topic ‘Link to Vimeo on Homepage not working…’ is closed to new replies.
