Forum Replies Created
-
AuthorPosts
-
January 14, 2021 at 2:10 pm in reply to: Vimeo video links don't work any more (black screen) #1272403
Hi,
Sorry for the late reply. With the iFrame workaround we are able to move forward. However this workaround is a bit annoying. I hope there will be a real solution in a future release.Best Regards,
TimDecember 15, 2020 at 4:01 pm in reply to: Vimeo video links don't work any more (black screen) #1267501Hi Mike, I’ve disabled the pagespeed server side caching in our test environment but without success. Stil have the issue. I am out of options now.
Best Regards,
TimDecember 7, 2020 at 11:31 am in reply to: Vimeo video links don't work any more (black screen) #1265443Hi,
We use pagespeed (server side caching). Perhaps that is causing this issue. However we don’t merge Javascript files.
December 7, 2020 at 11:27 am in reply to: Vimeo video links don't work any more (black screen) #1265442@lalalau1. I didn’t manage to fix it. This is an annoying bug. It worked fine in the past. I think this has something to do with caching / merging of JavaScript files. We use pagespeed (server side caching). Perhaps that is causing this issue, I don’t know yet.
December 1, 2020 at 11:52 am in reply to: Vimeo video links don't work any more (black screen) #1264196Hi Rikard,
If a I add a code block with a iframe then it works as you can see on test video page: https://www.prisma-demo.com/test-video/
It could indeed be a security setting on our network but I don’t know what. I don’t know what the video media element does in the background. Is it server side code what does the processing or it is the client side? Might it be an option for you that I make a backup of the WordPress site and send you that?Best Regards,
TimNovember 27, 2020 at 11:35 am in reply to: Vimeo video links don't work any more (black screen) #1263495Hi Rikard,
In our test environment (only accessible on our Intranet) I’ve tried to disable all plugins and our child theme but that doesn’t help. All kind of videos (Vimeo and YouTube) don’t work. I don’t have a clue what’s causing this issue. I don’t see any error message. With an older version of the Enfold theme this was working. My question is what has been change in code? What will exactly happen when creating a video. Is it a PHP script that processes it or is it all client side code?
Best Regards,
TimNovember 25, 2020 at 2:47 pm in reply to: Vimeo video links don't work any more (black screen) #1263002Hi Rikard,
This is indeed a private video that only works on the prisma-demo.com domain. I now used a code block with a iframe in it as a workaround to resolve it.
I’ve also created a video test page for you: https://www.prisma-demo.com/test-video
There I added a private (https://vimeo.com/167903673) and a public video (https://vimeo.com/235883809). Both have the black rectangle.
Could you have a look at the video test page?November 24, 2020 at 12:39 pm in reply to: Vimeo video links don't work any more (black screen) #1262634Hi Rikard,
I’ve posted the login details in the private content section.
Best Regards,
TimNovember 3, 2015 at 6:24 pm in reply to: Sidebar navigation is echoing invalid HTML whenever a title is set via hooks. #529547Hi,
Thank you for your reply.
Unfortunately, I cannot provide you access, the site is hosted in a corporate intranet environment.You can follow the logical error I am having, if you look into the
avia_sidebar_menu
function infunctions-enfold.php
.
I could override the function in a child theme and have it do what I am expecting it to do, but this is a workaround.
Since the function exposes a filter to manipulate arguments (avia_sidebar_menu_args
) which are then passed into a WordPress function, it should also respect/consider the functionality of that WordPress function.A workaround on the issue for me is to use a regex on the sidebar html before rendering it and remove the invalid html tags, but this is still a workaround.
Example: The code below will produce invalid HTML since it is setting the
title_li
argument whichwp_list_pages
will wrap in aul
.add_filter('avia_sidebar_menu_args', 'useParentPageAsTitleInSidebarMenu', 11); function useParentPageAsTitleInSidebarMenu($args, $post){ $title = get_the_title($args['child_of']); $args['title_li'] = sprintf('<h3>%1$s</h3>', $title); return $args; }
January 9, 2015 at 10:19 am in reply to: Enabling the Enfold "Theme Options" for editors also reveals "Settings" menu #377287Ok, this seems to work, after changing “manage_options” into “edit_theme_options” in line 143 (and 155) in that file, and after adding the “edit_theme_options” capability to the editor role, the Enfold dashboard menu appears for Editors and can be used.
Last question then: I assume this change is overwritten during a theme upgrade (or may be overwritten). How can I preserve this change? I’m already using a child theme.
- This reply was modified 9 years, 11 months ago by ocetechnologies.
January 8, 2015 at 9:56 am in reply to: Enabling the Enfold "Theme Options" for editors also reveals "Settings" menu #376681Hi
Okay, I can hire a freelancer, but before I do that I need to know if there is a “hidden” setting, or “hook” or capability in Enfold that enables the Theme Options menu. Is there? Or is it only controlled by the “manage_options” capability?
Ideally, to enable the Enfold Theme Options menu for certain user roles should be controlled by the “edit_theme_options” capability (which seems to be designed exactly for this purpose) , and NOT by the “manage_options” capability. Should this be an improvement / enhancement request?
Your advise please
January 7, 2015 at 11:21 am in reply to: How to enable the Enfold "Theme Options" for editors? #376058Thanks. I did as suggested and found out you actually need to add to two capabilities to the editor role:
1) edit_theme_options
2) manage_options -> this one enabled the Enfold menu in the Dashboard and Theme Options in the top menu for the editor role.December 23, 2014 at 11:03 am in reply to: How to get site title AND subtitle AND logo in the header? #372023Ok thanks!
I have two more questions:
- How do I prevent that when I hover over the site title, the menu item below gets highlighted? I know that happens because of the hight of the A element, but is there a way to prevent that?
- Is there a way to use the site title as an H1 on the homepage only, and as a P on all other pages?
- This reply was modified 9 years, 12 months ago by ocetechnologies.
December 21, 2014 at 12:57 pm in reply to: How to get site title AND subtitle AND logo in the header? #371258This reply has been marked as private.December 21, 2014 at 2:33 am in reply to: How to get site title AND subtitle AND logo in the header? #371124Ok, Thanks, got it working with the logo on the right and the menu left.
I added this CSS:.site_title {font-size:3em;color:#ccc;position: relative;top:-15px;font-family:'Crimson Text'; } .av-main-nav > li > a { line-height: 190px !important; }
However, when I activate the shrink header on scroll function, I’d like to make the site title a bit smaller, and move the menu up with a certain amount of pixels. How would I do that?
-
AuthorPosts