Forum Replies Created

Viewing 30 posts - 12,061 through 12,090 (of 35,189 total)
  • Author
    Posts
  • in reply to: Sticky header covers content of destination anchor #1352549

    Hi,
    You would need to copy the whole code for each link, it might be better to list your pages as an array like:
    if(is_page(array(42, 57, 71))) {

    Best regards,
    Mike

    in reply to: Background video doesn't load #1352548

    Hi,
    The token should be a string of characters like in this image in our documentation
    2022-05-22_003.jpg
    please check the link above for our documentation.

    Best regards,
    Mike

    Hi,
    I believe the issue is that you are using an old version of the theme: v4.7.3 we are now at v4.9.2.3 so please try updating.
    I wrote more about updating in your other thread, please check.

    Best regards,
    Mike

    in reply to: Background video doesn't load #1352540

    Hi,
    Thank you for the link to your site, I found that your youtube link was incorrect so I adjusted it, see the Private Content area below for the correct video format, but your video is still showing the “this video is unavailable” error, I tested this on my demo site and it does work correctly so I believe the issue is that you are using and old version of the theme: v4.7.3 we are now at v4.9.2.3 so please try updating.
    I see that you have not added a valid Envato private token so you will need to do this to update.
    I also see that your PHP version: 7.3.33, WordPress recommends a minimum of 7.4
    2022-05-22_002.jpg
    so you should probably ask your webhost to update your PHP first then update your theme.

    Best regards,
    Mike

    Hey 4ward4x4,
    Thanks for your question, you would want to change the header color in the Logo Area Hintergrundfarbe option
    2022-05-22_001.jpg

    Best regards,
    Mike

    in reply to: Table Display/Tab Content #1352538

    Hi,
    That is the code I tested to remove the touchmove from your tab section, it is not on your page.
    You can test it if you like by adding it to the end of your functions.php file in Appearance ▸ Editor like this:

    function custom_script() { ?>
        <script>
    (function($) {
    $('.av-layout-tab').bind('touchmove', false);
    }(jQuery)); 
        </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    but my goal was to allow your table to scroll while removing it from your tab section, but it didn’t work as planned.

    Best regards,
    Mike

    Hey sky19er,
    Thanks for your question, you can limit the size of the container to 500px with this css:

    #accordion_slider_1 .avia-accordion {
    	max-height: 500px;
    }

    but your current images will not be the correct ratio because the width of each image needs to cover the space for the mouse-over.
    With your current images you could correct this with this css:

    #accordion_slider_1 .avia-accordion {
    	max-height: 500px;
    }
    
    #top .aviaccordion-slide img {
    	object-fit: cover;
    	object-position: left bottom;
    }

    this allows the image to show the correct ratio, but I don’t believe this is want you want because the resolution is the same.
    I believe to achieve what you want you should use images that are double the size you want to show, such as 1000px X 1776px, then when you limit the height to 500px the image will show as 500px X 888px (16:9) and look crisper on retina screens.

    Best regards,
    Mike

    in reply to: Set breakpoint for mobile or tablet #1352516

    Hi,
    Glad to hear, the social icons didn’t show in the mobile header, you are using the sidebar header so if you show them are are not really in a good location, you can test with this css:

    @media only screen and (min-width: 767px) and (max-width: 1100px){
    .responsive.html_header_sidebar #top #header #wrap_all .social_bookmarks {
        display: block;
    }
    }

    The Gtranslate flags happen to show under the header, you can use this css which adjusts the burger menu down a little:

    @media only screen and (min-width: 767px) and (max-width: 1100px){
    .responsive.html_header_sidebar #header .avia-custom-sidebar-widget-area #gtranslate-4 {
        display: block;
        padding: 0;
        border-top-width: 0px;
        text-align: center;
    }
    .responsive #top #wrap_all .main_menu {
        top: 22%;
    }
    }

    When I check I see the social icons in the socket, please check again

    Best regards,
    Mike

    in reply to: Set breakpoint for mobile or tablet #1352511

    Hey Arjan,
    Thanks for the link to your site, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    @media only screen and (min-width: 767px) and (max-width: 1100px) {
    
    		/*header*/		
    		.responsive #top #wrap_all #header {position: relative; width:100%; float:none; height:auto; margin:0 !important; opacity: 1; min-height:0;}
    		.responsive #top #main {padding-top:0 !important; margin:0;}
    		.responsive #top #main .container_wrap:first-child{ border-top:none; }
    		.responsive.html_header_top.html_logo_center .logo { left: 0%; -webkit-transform: translate(0%, 0); -ms-transform: translate(0%, 0); transform: translate(0%, 0); margin:0; }
    		
    		
    		.responsive #top .logo{position: static; display:table; height:80px !important; float:none; padding:0; border:none; width:80%; }
    		.responsive .logo a{display:table-cell; vertical-align: middle;} 
    		.responsive .logo img{height:auto !important; width:auto; max-width: 100%; display: block;  max-height: 80px;}
    		.responsive #header_main .container{height:auto !important; }
    		.responsive #top .header_bg { opacity: 1; filter: alpha(opacity=1); }
    		.responsive.social_header .phone-info {text-align: center; float:none; clear:both; margin:0; padding:0;}
    		.responsive.social_header .phone-info span{border:none; width:100%; text-align: center; float:none; clear:both; margin:0; padding:0;}
    		.responsive #header_meta .social_bookmarks li{ border-style:solid; border-width:1px; margin-bottom:-1px; margin-left:-1px;}
    		.responsive #top #header_meta .social_bookmarks li:last-child{border-right-style: solid; border-right-width:  1px;}
    		.responsive #header .sub_menu, .responsive #header_meta .sub_menu>ul{float:none; width:100%; text-align: center; margin:0 auto; position: static;}
    		.responsive #header .social_bookmarks{padding-bottom:2px; width:100%; text-align: center; height:auto; line-height: 0.8em; margin:0;}
    		.responsive #header_meta .sub_menu>ul>li{float:none; display: inline-block; padding: 0 10px;}
    		.responsive #header .social_bookmarks li{float:none; display: inline-block;}
    		.responsive.bottom_nav_header #header_main .social_bookmarks{ position: relative; top: 0; right: 0; margin: 10px auto; clear:both;}
    		.responsive.bottom_nav_header.social_header .main_menu>div{height:auto;}
    		.responsive .logo img{margin:0;}
    		.responsive.html_header_sidebar #top #header .social_bookmarks{display:none;}
    		.responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header{max-width: 100%;}
    		
    		.responsive.html_header_transparency #top .avia-builder-el-0 .container, .responsive.html_header_transparency #top .avia-builder-el-0 .slideshow_inner_caption{padding-top:0;}
    		.responsive #top .av_phone_active_right .phone-info.with_nav span{border:none;}
    		
    		.responsive #top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a, 
    		.responsive #top #wrap_all .av_header_transparency .sub_menu > ul > li > a, 
    		.responsive #top .av_header_transparency #header_main_alternate, 
    		.responsive .av_header_transparency #header_main .social_bookmarks li a,
    		.responsive #top #wrap_all .av_header_transparency .phone-info.with_nav span,
    		.responsive #top .av_header_transparency #header_meta, 
    		.responsive #top .av_header_transparency #header_meta li,
    		.responsive #top #header_meta .social_bookmarks li a{ color:inherit; border-color: inherit; background: inherit;}
    		.responsive.html_top_nav_header .av-logo-container{height:auto;}
    		.responsive.html_top_nav_header .av-section-bottom-logo{border-bottom-style: solid; border-bottom-width: 1px;}
    
    /*new mobile*/
    		.responsive .av-burger-menu-main{display: block;}
    		.responsive #top #wrap_all .main_menu{top:0;height:80px;left:auto;right: 0;display: block;position: absolute;}
    		.responsive .main_menu ul:first-child > li a { height: 80px; line-height: 80px;}
    		.responsive #top .av-main-nav .menu-item{display:none;}
    		.responsive #top .av-main-nav .menu-item-avia-special{display:block;}
    		.responsive #top #wrap_all .menu-item-search-dropdown > a { font-size: 24px; }
    		.responsive #header_main_alternate{display:none;}
    		.responsive #top #header .social_bookmarks{display:none;}
    		.responsive #top #header .main_menu .social_bookmarks{display:block; position: relative; margin-top: -15px;}
    		.responsive #top .av-logo-container .avia-menu{height:100%;}
    		.responsive #top .av-logo-container .avia-menu > li > a{line-height: 80px;}
    		.responsive #top #main .av-logo-container .main_menu{display:block;}
    		.responsive #top #main .av-logo-container .social_bookmarks{display:none;}
    		.responsive #top #main .av-logo-container .main_menu .social_bookmarks{display:block; position: relative;}
    		.responsive #top #main .av-logo-container .main_menu{display:block;}
    		.responsive #top #header_main > .container .main_menu  .av-main-nav > li > a,
    		.responsive #top #wrap_all .av-logo-container {height:80px; line-height:80px; }
    		.responsive #top #wrap_all .av-logo-container {padding:0;}
    		.responsive #top #header_main > .container .main_menu  .av-main-nav > li > a{
    			min-width: 0; padding:0 0 0 20px; margin:0; border-style: none; border-width: 0;
    		}
    		.responsive #top .av_seperator_big_border .avia-menu.av_menu_icon_beside{border-right-style: solid; border-right-width: 1px; padding-right: 25px;}
    		.responsive #top #header .av-main-nav > li > a, .responsive #top #header .av-main-nav > li > a:hover{
    		background:transparent;
    		color: inherit;
    		}
    .html_cart_at_menu.html_header_sidebar #header_main .avia-menu {
        margin-top: 0px;
    }
    .responsive.html_header_sidebar #header .avia-custom-sidebar-widget-area .widget {
      display: none;
    }
    .html_header_sidebar #menu-item-shop.cart_dropdown {
        right: 80px;
        border: none;
        margin-top: 15px;
    }
    .html_header_sidebar #header .container {
    	width: 85%;
    }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Masonry not loading categories correctly #1352510

    Hey BrendaSarg,
    Thanks for the link to your site but the login didn’t work, please check.
    I see that your Upcoming Exhibits masonry item is showing the categories current-exhibits & past-exhibits & news-announcements, I assume the correct category is upcoming-exhibits?
    Please ensure there is at least one correct category item published, if there are no correct category items published the element will show another category by default.

    Best regards,
    Mike

    in reply to: Anchors on Tablet #1352509

    Hey Ramon,
    Thanks for the login, this seemed to be happening around 1024px when your tablet header was sticky, I’m not sure the cause but I added this to your child theme and it seemed to correct:

    function custom_tablet_scroll_script() { ?>
        <script>
    (function($) {
      $('a[href*=#]:not([href=#])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
          	if ($(window).width() > 990) {
            $('html,body').animate({
              scrollTop: target.offset().top - 195 //offsets for fixed header
            }, 1000);
            return false;
          	} else {}
          }
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
          var target = $('#'+location.href.split("#")[1]);
          if (target.length) {
          	if ($(window).width() > 990) {
            $('html,body').animate({
              scrollTop: target.offset().top - 195 //offset height of header here too.
            }, 1000);
            return false;
          	} else {}
          }
        }
    }(jQuery));
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_tablet_scroll_script');

    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Attachment Details sidebar in media library #1352508

    Hey Jason,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function enable_admin_attachment_details(){
    ?> 
    <style>.avia-media-img-only-no-sidebars .media-sidebar, .avia-media-img-only-no-sidebars .attachment-display-settings .setting, .avia-media-img-only-no-sidebars .media-sidebar .attachment-details { display: block!important; margin-top: 50px; } </style>
        <?php
    }
    add_action('admin_head', 'enable_admin_attachment_details', 1);

    After applying please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Table Display/Tab Content #1352502

    Hi,
    Thank you for your patience, this css will make the inner tab width match the screen width so when the table is scrolled it will fully show:

    @media only screen and (max-width: 767px) {
    	.responsive #top.page-id-35 #wrap_all #main .av-layout-tab-inner {
    		width: 100vw;
    	}
    }

    but the problem is that on mobile the tab section also scrolls with ‘touchmove’ tab to tab and trying to scroll the table inside the tab actually scrolls the tab.
    For mobile devices your table should have switched it’s layout, did you add and custom css to prevent this? You may need to allow the mobile switch so all of the columns show.
    I also experimented with removing the ‘touchmove’ for the tabs but was not able to enable it for the tab childern elements at the same time, so this doesn’t seem to be an option.

    (function($) {
    $('.av-layout-tab').bind('touchmove', false);
    }(jQuery));

    Another option might be to show an image of the table for mobile that will open in a lightbox so the user can view it full screen.

    Best regards,
    Mike

    in reply to: WPML changes font & color #1352493

    Hi,
    Try disabling your wp-rocket and Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and enable Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files then clear your browser cache and any cache plugin, and check.
    If this doesn’t correct please leave these settings in place and include admin login in the Private Content area so we can investigate.

    Best regards,
    Mike

    in reply to: Responsive Is Broken #1352442

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Sticky header covers content of destination anchor #1352441

    Hi,
    Glad to hear, you could try editing ('a[href*=#]:not([href=#])').click(function() {
    to
    ('a[href*=#webcams]:not([href=#])').click(function() {

    Best regards,
    Mike

    in reply to: Mobile problems #1352440

    Hi,
    I see that you have added the css that I suggested above with the media query, but your original css is also still there causing a conflict:

    
    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 211px !important;
    }

    please remove this if you have not, if you have removed it then please disable your Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and enable the Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files and then clear your browser cache and check again, because the original rule is still in the merged css.

    Guenni007 this is a good tip thank you, and this is true thanks.

    Best regards,
    Mike

    in reply to: Mobile problems #1352413

    Hi,
    Thanks for the link to your page, please try wraping that rule in a media query like this:

    @media only screen and (min-width: 767px) { 
    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 211px !important;
    }
    }
    

    this should correct for mobile because you already have a mobile padding of zero in your css rules:

    @media only screen and (max-width: 767px) {
    .responsive #top #main {
        padding-top: 0 !important;
        margin: 0;
    }
    }

    After applying the css, please clear your browser cache and check.
    If you are testing with Safari it can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.

    Best regards,
    Mike

    in reply to: all text (blocks) have [av_ codes in them #1352364

    Hi,
    Glad we were able to help, thanks for the offer but we are happy to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Change "Load more" text in gallery in Child theme? #1352350

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: all text (blocks) have [av_ codes in them #1352349

    Hi,
    Glad to hear, I don’t believe that you would see this error naturally occur from Enfold sites that were updated in the past or will be updated in the future, our Dev Team has been very pro active in keeping the theme backward compatible. I have seen very old versions updated to the latest version successfully.
    Please note that if a user edits an ALB page with a different editor, such as the Classic Editor, Block Editor, or some other editor plugin, they will not be able to convert it back to an ALB page automatically, it will become a hybrid page. I only point this out should a client add some builder plugin and start editing pages.
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: all text (blocks) have [av_ codes in them #1352306

    Hi,
    Thanks for the screenshots, is there a possibility that the person who previously built this site in 2014 had added the shortcodes in the text elements using the Shortcode Wand from the Classic Editor?
    I have seen some sites where people have done this and everything works fine on the frontend, it just looks odd in the backend.
    Unfortunately, there is not an automatic way to convert these hybrid pages to strictly ALB pages, but if you want to manually adjust these you could Enable the Avia Layout Builder Debugger to do so.
    I recommend saving plain text copies of the full page shortcode just in case you somehow brake the shortcode, don’t depend on the revisions.

    Best regards,
    Mike

    in reply to: Missing sliding images since Enfold theme update #1352296

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: menu burger color #1352294

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Footer only shows default version after update #1352232

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Hiding the date and author of posts #1352230

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Text disappears in the background #1352224

    Hi,
    Glad to hear, if the layout was the same then you could use classes to achieve this, but your new page is not the same.
    Are your additional pages going to use a grid element like the first page or a color section like this one?
    On the first page the following element was a color section, on the new page it is two 1/2 columns, can you place these columns in a color section?

    Best regards,
    Mike

    in reply to: Product slider slide transition #1352220

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Add footer content to all product category pages #1352219

    Hi,
    Glad to hear, I Enabled the Avia Layout Builder Debugger and copied the section shortcode.
    You can also use the WordPress Classic Editor shortcode wand in a default post or page to create an element and the shortcode will show in the Classic Editor for you to copy.

    Note that full-width elements, such as the color section don’t always behave when nested in other elements such as widgets, so in the widget you see that I removed the color section container and added an html div to take it’s place.

    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: Add Search Icon On Mobile #1352217

    Hi,
    Glad to hear, please note that testing with iPads & iPhones can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.

    Best regards,
    Mike

Viewing 30 posts - 12,061 through 12,090 (of 35,189 total)