Forum Replies Created
-
AuthorPosts
-
Works like a charm!
You guys are the best.
Thank you so much!
IvanHi Rikard.
You can use the link below.Then go to APPEARANCE…THEME FILE EDITOR (you probably knew that)
There is currently nothing in the child functions.php file
Thanks
IvanHi…not working yet. Same error when saving. Sorry, but I am not experienced in this area.
Hi. Thanks but I don’t seem to have that same issue as you found in https://kriesi.at/support/topic/adding-google-tag-manager-in-enfold/#post-1473588
I have 2 single quotes not one double quote
I still get the ” Unmatched ‘}’ ” error using your code above
Hi Rikard. Thanks
I added this code as you suggested:
function ivanglaser_gtm_head(){
?>
<!– Google Tag Manager –>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-XXXX’);</script>
<!– End Google Tag Manager –>
<?php
}
add_action(‘wp_head’, ‘ivanglaser_gtm_head’);function ivanglaser_gtm_body(){
?>
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>
<?php
}
add_action(‘wp_body_open’, ‘ivanglaser_gtm_body’);However when I try and update teh file I get the error :
Your PHP code changes were not applied due to an error on line 11 of file /srv/htdocs/wp-content/themes/enfold-child/functions.php. Please fix and try saving again.
Unmatched ‘}’
December 16, 2024 at 8:07 am in reply to: Scxroll issues in Advanced Layout Editor/Avia Layout Builder #1473735Hi Ismael
I was trying tio avoid the upgrade … but I did it and it’s fixed the issue.
Thanks
IvanHello
It seems strange to me that you say the behaviour is “expected” when in fact it leads to the incorrect images being shown!
I did try “Load More” on the B&W tab only but that also has a bug. You can see the very top of the first “load more” images that have been loaded but when you try and scroll down, the scrolling does not work.
Anyway, I have resolved my issue by using 2 separate web pages and not using the TAB Section.
I really don’t know how you can say it’s not a bug though. It cant be used with a Gallery in each of the tabs unless you show all images in all tabs by defaultThanks a lot Mike. Jetpack Boost actually improved the performance of my site substantially.
What I did was upload the videos to my media library and then added them to the page from there (rather than a link to YouTube)
That works well!
Thank you for your help
IvanFYI, the only plugin changes I have made in past few weeks are :
– Install Jetpack Boost
– Upgrade to YOAST premium for SEOHi. See admin link below
It’s OK to disable the plugins but I assume you will only re-enable the ones that are currently enabled.Hi Ismael
I just disabled the Content Copy Protection plugin but it still doesn’t work
Do you still see the same result in the console?Thanks a lot
You can close this
IvanJuly 24, 2023 at 8:15 am in reply to: URGENT : Website not working properly after “quick CSS” change #1414190Hi. You can close. Cheers
Thanks it seems to work if I use 100px value rather than 200px. Take a look at the URL above on a mobile device and see what you think
How can I make the text not be in capital letters. I prefer propercase (where only first letter of each word is capitalised)?
Is there no way to make the height tab title row height lower ? It looks out of proportion
Thanks
Ivan
- This reply was modified 1 year, 5 months ago by ivanglaser.
Hi. Thanks. It made a small difference
But take a look at how it shows on a Mobile device now…
Why is there such a large gap between the 2 tabs?
Is there any way to make the text as typed ? It seems to convert to uppercaseJuly 23, 2023 at 9:24 am in reply to: URGENT : Website not working properly after “quick CSS” change #1414104Hi
I cleared my WordPress cache and that has fixed the problem
CheersIvan
Yes, you know that and I know that – but it is not very intuitive and many users, particularly older people who are my biggest customers, would not know to do that.
I have seen other methods of selecting multiple options whereby a simple click selects and deselects
Surely you can do that!?
Even a checkbox option (like it’s done on a mobile device) is better
Your Theme is generally so good but this is very old school
May 3, 2023 at 7:30 am in reply to: Spacebar not working in Special Heading Content Element #1406304Hi
I did as you suggested and found that the “Lighstart” plugin was the culprit.https://docs.themeisle.com/article/1666-wp-maintenance-mode-documentation
I have just left it disabled as I don’t use it often
Thank you for your help!
Ivan
May 2, 2023 at 2:26 pm in reply to: Spacebar not working in Special Heading Content Element #1406189Done. See below
Thank you Ismael. That worked !
Cheers
Hi
https://app.box.com/s/n4cx0mjl2lrfnq8rjkwz3xq3kqdocq70
Do you not see what I see ?
Cheers
Ivan
- This reply was modified 1 year, 8 months ago by ivanglaser.
Hi. Just a bit of additional info, when I go to
My Woocommerce settings in APPEARANCE…CUSTOMISE…WOOCOMMERCE…PRODUCT IMAGES as I have stated above me setting is :
– “Images will display using the aspect ratio in which they were uploaded” set as the default, as it has always been
When I select the other 2 options (1:1 or a customised aspect ratio) the preview page displayed to the right does not change
- This reply was modified 1 year, 8 months ago by ivanglaser.
Fantastic…thank you !
Hi Nikko
Thanks
It fixes the problem on PC but creates a problem on mobile device
In fact, that Quick CSS only needs to be applied on mobile device
What do I add to run that CSS only on mobile ?
Tx
IvanHi. Thnanks for that.
mmm. No matter what I do, I cant seem to fix the problem.
I disabled anything I could find taht had compression (Jetpack, Pageoptimizer and the enfold performance settings) but it made no difference
I even tried uploading another copy of the background image and naming it as expected by the homepage code but even that did not work for some reason
I have included an admin login below if you could take a quick look that would be appreciated
Thanks
Hi
Thanks, that works in much the same was as the other code I mentioned (see above) I found worked
However my question is whether or not there is a way to have separate fields for CC number, expiry date and CVV number…. like you see on almost every other payment section you see on the web
Problem with the way it is now is that it’s hard for a user to see the numbers they have input if there is a mistake
Tx
Thank you
FYI, I added your auggested code and that has fixed my problem. Thank you !
It does not seem to have broken the other code as my masonry gallery still worksSo I assume it’s OK to leave them both in the functions.php file….right ?
Thanks again
IvanHi
I added this code some weeks ago (I think I found it on this Enfold support site) because in my masonry gallery the images were not displaying properly on large screens.
That issue is fixed now with this code :/* Lightbox image size */
add_filter( ‘avf_avia_builder_masonry_lightbox_img_size’, ‘enfold_customization_change_popup_size’ );
function enfold_customization_change_popup_size( $size ) {
return ‘fullsize’;
}Is your suggested code similar ? can I rtun both these bits of code ?
Tx
Ivan
Hi
Yes, I am using the default Woocommerce Payment plugin…..but I did add the code above as a fix.
I will temporarily comment it out so you can see the problem.
It’s mainly a problem on a mobile device and it’s because there is just a one row field for cc number, expiry date and CVV
If you go to the URL below from a mobile device and add the image to cart then checkout, try enter CC numbers into the CC number field… you will see the problem
Tx
Ivan -
AuthorPosts