Forum Replies Created
-
AuthorPosts
-
September 21, 2021 at 3:53 pm in reply to: Masonry Image Popup Image not working with WP Rocket #1321792
Hi Nikko,
I believe I got it working finally. Anyways for those whose Masonry Gallery isn’t working (popup) when using WP ROCKET, here are the settings I have used that has worked all great:
Remove Unused CSS (for Masonry POP up)
.mfp-container
.av-masonry
magnific-popup.css
.avia-popup
.mfp-arrow
#avia-popup
#mfp-arrow——————————–
Delay JavaScript Execution
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/dynamic_avia/avia-footer-scripts-(.*).js
var avia_is_mobile
/enfold/js/avia.js
/enfold/js/shortcodes.js
/enfold/config-templatebuilder/avia-shortcodes/
/enfold/js/avia-compat.js
layerslider
/wp-content/themes/enfold/js/avia-snippet-lightbox.js
avia-compat-js——————————–
/wp-content/themes/enfold/js/avia-snippet-lightbox.js
avia-compat-jsThese two specifically worked for Masonry!
Thanks,
NSeptember 20, 2021 at 4:32 pm in reply to: Masonry Image Popup Image not working with WP Rocket #1321660HI Nikko,
Thanks for checking it. However, when LOGGED IN the WP rocket settings will not be implemented thus, it works all normally. If I disable the Delay JavaScript execution ( In WP settings >> File Optimization >> below) as well the masonry works all good. So that’s why I wanted to know the script to excluded for the delay.
For defer I have removed those settings from WP and it seems all scripts now do not have to defer – still, it isn’t working. Can you please check? Again with LOGGED IN USER WP SETTINGS will not be implemented so we need to check when we are LOGGED OUT.
Thanks,
NSeptember 19, 2021 at 3:51 pm in reply to: Masonry Image Popup Image not working with WP Rocket #1321538Hi Nikko,
I did try adding this but it didn’t work. I have shared the details in private.Thanks,
NSeptember 17, 2021 at 1:21 pm in reply to: Uncaught ReferenceError: jQuery is not defined at (index):609 jquery-migrate.min #1321380Hi Rikard,
Thanks for your reply. I still see some errors (at times) and not always on the pages..I will get back when there’s an error again.
Thanks.
September 17, 2021 at 1:19 pm in reply to: Color Section background image not working on Phone, Pages acting werid? #1321379Hi Guys – It seems to be an issue with the staging site! This has been resolved. Thanks
Hi Guys,
Thank you all for your support!
Cheers,
NSeptember 3, 2021 at 11:55 am in reply to: Color Section background image not working on Phone, Pages acting werid? #1319625Hi RIkard,
Thanks for the reply. However, the problem still persists. Please check the private section?
Thanks,
NSeptember 2, 2021 at 4:17 pm in reply to: Color Section background image not working on Phone, Pages acting werid? #1319533Guys Can you please help! I checked on the main site as well and it’s showing this issue:
Refused to apply style from ‘https://********/wp-content/uploads/avia_posts_css/post-3294.css?ver=ver-1630199684’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
HI Victoria,
I believe this has been resolved. Thanks for your support!
Thanks,
NamgyalAugust 4, 2021 at 4:45 pm in reply to: WPML & Enfold (backend rolls in circle doesn't work) #1314431Hi Rikard,
Thank you very much for your response. I did have a chat with the hosting provider and I think the issue has been resolved.
Thanks again for the great support!
Best Regards,
NamgyalAugust 2, 2021 at 1:07 pm in reply to: WPML & Enfold (backend rolls in circle doesn't work) #1313910Hi Rikard,
Thank you very much for your reply. Well, I have enabled the debug mode on the site (and it’s showing on the page as well). Would really appreciate if you could check into it.
Thanks,
NamgyalJuly 4, 2021 at 4:09 pm in reply to: Gallery displaying images vertically instead images with thumbnails #1308647Thanks Mike :)
June 21, 2021 at 12:19 pm in reply to: Gallery displaying images vertically instead images with thumbnails #1306709Hi Rikard,
I guess that’s what has to implement. What I actually wanted to ask was the CSS code. Like instead of using 16.66% etc is there anything we can use so it automatically adjusts the size available? [I tried width: fit-content, etc but that didn’t work. width: inherit worked but it only displays well for 5 images below]
So if you can help me with the CSS that could adjust the width as per the size available and NOT specifying %… I can give it a class and apply the same CSS or else there are 40+ pages I will have to go through each page and look for each image used and then apply CSS as per the images…?
.avia_transform .gallery-hotel .avia-gallery-thumb img {
width: 16.66% !important; /*100% width divided by number of images – no so practical */
}Thanks,
NamgyalJune 19, 2021 at 2:09 pm in reply to: Gallery displaying images vertically instead images with thumbnails #1306507HI Rikard,
Thanks for your reply. However, I did try making all the changes and it didn’t seem to work.
But I tried this CSS and it is now working. Is there something you can assist with? I gave a CSS class gallery-hotel and used the following…! If this CSS can be changed where instead of specifying the width if would fit then it would be nice!
.avia_transform .gallery-hotel .avia-gallery-thumb img {
width: 16.66% !important; /*100% width divided by number of images – no so practical */
}———————–
I tried this one too, but it only fits 5 images and displays the other one goes at the bottom (like the attached image in private content)
.avia_transform .gallery-hotel .avia-gallery-thumb img {
width: inherit !important; /*tried fit content and all but nothing worked */
}Thank you very much!
This CSS worked for me ! Do change the page-id number:
.page-id-123 .av-tab-section-outer-container {
background: #ffffff;
margin-left: 10%;
margin-right: 10%;
}.page-id-123 .av-layout-tab-inner {
margin-right: 20% !important;
margin-left: 0% !important;
}June 12, 2021 at 12:14 pm in reply to: Gallery displaying images vertically instead images with thumbnails #1305399Thanks for the reply Rikard. Please check the credentials in the private content.
Thanks, Ismael for your reply. However, I did try the following code and it didn’t work. Any help?
/* The events calendar and blog post */
function avia_blog_entries_query_mod( $query, $params ) {
$include = array();
$events = tribe_get_events( [
‘posts_per_page’ => $query[“posts_per_page”],
‘start_date’ => ‘now’,
] );
foreach($events as $event) {
$include[] = $event->ID;
}
return $query;
}
add_filter(‘avia_blog_post_query’, ‘avia_blog_entries_query_mod’, 10, 2);Any assistance guys? Thanks.
Sorry didn’t realize this post was still open. You may close this. Thanks.
Hi Rikard – Things are working great. We can close the topic.
Thanks,
NamgyalThanks Vicotria. I think it’s now working good. Thanks.
Hi Victoria,
Thanks for your reply. Sorry for the error, please check it now – it should be work.
Thanks,
NamgyalThanks Ismael. No worries will work out accordingly!
Thanks, Mike – works great! Much appreciated :)
Hi Mike
Does it seem the code has been added from wp-core itself?! Please check this forum: https://wordpress.stackexchange.com/questions/200352/wp-head-gives-me-some-weird-css
I believe – adding this should get rid of it…can you please check? Thanks.
add_action(‘get_header’, ‘my_filter_head’);
function my_filter_head() {
remove_action(‘wp_head’, ‘_admin_bar_bump_cb’);
}- This reply was modified 4 years ago by namgyal.
hi Mike,
Thanks for the reply.
I did check all the CSS – but I don’t think I had added any of these….max-width: 782px looks a bit odd (I’d normally use 767 or 768). I only used CSS on Enfold defaults and using the custom CSS & JS plugin…by any chance it could be from a plugin? I deactivated this Shortcode in Menus Can you check please?
Thanks.
Thanks for the reply Mike. Sure will share the login credentials (in private). Thanks.
Hi Mike,
Thanks for your reply. Sorry I had to change a bit on the website link as some more edits had to be made so I had hidden the top bar. Anyway, if you check the link (new link provided below) on a mobile device…I want the same #top #header_meta (or TOPBAR) NOT TO BE STICKY while the main menu to be sticky. The issue now is:
1. While scrolling, the TOP BAR MENU does scroll up – but it does not LOOK smooth at all…(I want the same as it is for the DESKTOP version now)
2. When scrolling on MOBILE, don’t know why the Banner image goes up [please check the link provided]I have used the code you provided at https://kriesi.at/support/topic/unstick-topbar-on-mobile (codes below).
Thank you very much.
@media only screen and (max-width: 1023px){
.top-sticky {
display: none;
}
.top-sticky.top-show {
display: block;
}
.responsive #top #wrap_all #header + #header_meta.top-sticky {
top: 0 !important;
}
}And this at functions.php:
function custom_hide_top_script(){
?>
<script>
(function($){
$(window).scroll(function(){
var width = $(window).width();
var scrolled = $(window).scrollTop();
if ( scrolled >= 100 && width <= 767) {
$( ‘#header’ ).each(function() {
$(this).css({‘background-color’:’#ffffff’,’position’:’fixed’,’top’:’-100px’});
$(‘#full_slider_1’).css({‘padding-top’:’10px’});
});
}
else if ( scrolled <= 60 && width <= 767){
$( ‘#header’ ).each(function() {
$(this).css({‘background-color’:’#ffffff’,’position’:’relative’,’top’:’0′});
$(‘#full_slider_1’).css({‘padding-top’:’0px’});
});
} else {}
});
})(jQuery);
</script>
<?php
}
add_action(‘wp_footer’, ‘custom_hide_top_script’);This reply has been marked as private. -
AuthorPosts