Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
I fixed this by changing some settings in wp rocket
thanks for your help-
This reply was modified 1 week ago by
Munford.
You’re right – it’s loading now in Firefox but not in chrome or safari. I’ve cleared the data but it’s still not loading. It seems inconsistent in Firefox now – it only loads after I have cleared the data and accepted cookies, but if I return to the home page then it doesn’t load again. Not sure what’s going on and it’s not being blocked on the other pages that also have the cookie lock icon. Does it load for you on those other browsers or after returning to the home page?
Thanks for all your help
Nancyok yes, I am using a copy in a child theme, but I guess that warning is because the header.php changes so often.
Do you have an advice on the footer missing from my mobile front page? That’s kind of a bigger issue for us. Is it a caching issue with wp rocket?
thanks for your help
NancyOk I’ll try that. And it’s OK to edit the header.php in the child theme?
/* * Please do not modify this file on your child theme to add scripts to Head section. * Refer to this post - https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#add-a-script-to-head-section and use functions.php file instead */
should I use this instead in the functions.php?
//------------------------------- // Custom script in head section //------------------------------- function custom_script_name(){ ?> <script> // Your script here </script> <?php } add_action('wp_head', 'custom_script_name');
And the issue with the footer missing from the front page on mobil – is that something with wp rocket settings?
Thanks
Nancyhmm not sure how to add that.
OK – and the scroll-to-top issue? It’s not great on mobile where the form disappears at the bottom of the page.
thanks
ok will try that.
When the form opens it makes the page scroll to the top.
I see a problem also if I click on the link and then close it, if I click on it again the form doesn’t show up.
Do you know what’s causing that?Thanks
that seems to work.-
This reply was modified 2 weeks, 2 days ago by
Munford.
The form shows up without the plugin, but it makes the page scroll to the top when I open it.
I see a problem also if I click on the link and then close it, if I click on it again the form doesn’t show up./*sizing for popup tilmeld form*/ @media only screen and (min-width: 768px) { #top .mfp-inline-holder .mfp-content { width: 50%!important; }} /*@media only screen and (max-width: 768px) { #top .mfp-iframe-scaler { height: 90vh; }}*/ @media only screen and (min-width: 768px) { #top .mfp-iframe-scaler { width: 60%; margin: 0 auto; }}
Is there a way to center align the form in the popup if I wanted the whole thing centered?
or else make the popup narrower so it doesn’t look like this on larger screens?The plugin is what was giving me the widget that I use in the iframe link in the active footer, which is disabled now.
thanks for the help
Nancy-
This reply was modified 2 weeks, 3 days ago by
Munford.
-
This reply was modified 2 weeks, 3 days ago by
Munford.
-
This reply was modified 2 weeks, 3 days ago by
Munford.
-
This reply was modified 2 weeks, 3 days ago by
Munford.
-
This reply was modified 2 weeks, 3 days ago by
Munford.
-
This reply was modified 2 weeks, 3 days ago by
Munford.
yes I added Ismael’s code and then only that div is in the code block.
That was what sender.net says to use.
I can’t write or really read javascriptOK now my code block is just:
<div style=”text-align: left” class=”sender-form-field” data-sender-form-id=”m8a4fv8kegj7l6vonkw”></div>
and I added the sender code to my functions.php but the form is still not there.I didn’t write that script but got it from Sender.net with the form I built there.
I don’t really understand javascript myself…
I gave the color section with the widget and code an ID “popup” and “mfp-hide” custom class,
then my link is: <p style=”text-align: left;”>TILMELD DIG NYHEDSBREVET</p>.
should I change the script code?thanks Ismael.
Could you take a look at the problem with the magnific popup on that page? I have a widget that is not showing up with a sender.net form in it. I prefer the look of that popup to the iframeif possible.
thanks
NancyAnother question about the popup link in an iframe in my footer – can that be centered on the page? I have some css that is making it 50% width but it’s aligned left. see attached popup that is off center.
I don’t write or read php/java script so… not sure.
Shouldn’t the widget I have on the popup work fine? It works in the iframe in the footer text link.-
This reply was modified 2 weeks, 6 days ago by
Munford.
could you take a look at the page? I can’t find any errors and it should work in the popup either as a widget or code, right?
March 25, 2025 at 10:40 am in reply to: problem with video on mobile and css on chrome mobile #1480120thanks I used a .gif instead on the other page.
I can’t reproduce how the front page displays but I will take it for now!Do you have any idea about the issue I am having here with a magnific popup form?
thanks
NancyMarch 24, 2025 at 10:14 am in reply to: problem with video on mobile and css on chrome mobile #1480035yes I’ve done that, but the video on my front page DOES play on mobile.
thanks for taking a look – i solved the podcast grid issue
I disabled the cookiebot banner and am using the enfold one.
Is this enough for eu gdpr?This reply has been marked as private.that isn’t working for me.
I now added this code to hide the side navigation that DOES show up in a popup from a link in my footer “TILMELD DIG NYHEDSBREV” but the portfolio side navigation was not showing before I did that./*hide post side nav for footer link*/ #top button.mfp-arrow { display: none; }
I tried adding this to hide the post nav but that didn’t work either:
function no_post_nav($entries) { $entries = array(); return $entries; } add_filter('avia_post_nav_entries','no_post_nav');
I also noticed that if I set the page with the magnific to be the footer, then when I click on the popup text it scrolls back up to the top of the page.
This reply has been marked as private.This reply has been marked as private.thanks
OK I just disabled my chrome extensions and reset the broswer it seemed to fix the cookie issue and login issue as well. I am still seeing a not secure warning on the domain in the url area – do you see that as well? Any idea what that’s about?-
This reply was modified 1 month ago by
Munford.
no see here: https://imgur.com/a/6RqDzUx
but now there is something else wrong with my site. On chrome I am unable to login due to this message: Check your browser before accessing (my site). And the footer popup is not working now due to the cookie consent bar not staying hidden after initial consent – it is showing up on all my pages now on chrome. I have tried disabling my adblock on chrome but that doesn’t change it.
help!OK but that actually made all my pages have post navigation, not just the portfolio items.
-
This reply was modified 1 week ago by
-
AuthorPosts