Forum Replies Created

Viewing 30 posts - 2,581 through 2,610 (of 33,849 total)
  • Author
    Posts
  • in reply to: among each other #1437402

    Hey schweg33,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) { 
    #footer .av_one_half {
    	width: 100%;
    }
    }

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

    Best regards,
    Mike

    in reply to: Attributes not showing up in shop #1437401

    Hey StephenStamp,
    Can you link to the steps that you followed and your site, perhaps you made an error.

    Best regards,
    Mike

    in reply to: Table cell heading row equal size #1437399

    Hi,
    When you add a media query you will also want to wrap the above rule, so for example for desktop & mobile try this:

    @media only screen and (min-width: 768px) { 
    .main_color .pricing-table li.avia-heading-row {
        height: 290px;
        min-height: 290px;
    }
    }
    @media only screen and (max-width: 767px) { 
    .main_color .pricing-table li.avia-heading-row {
        height: 150px;
        min-height: 150px;
    }
    }

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

    Best regards,
    Mike

    in reply to: Custom Shop Page sort By #1437392

    Hey StephenStamp,
    Do you mean like the sort in our demo shop
    Enfold_Support_5091.jpeg
    this seems to work when I try. But to change these options I believe you need to use a plugin like this one or perhaps there is a official woocommerce plugin that will do this, but I don’t see any woocommerce options that will change these.

    Best regards,
    Mike

    Hi,
    Thanks for your patience, this is a older thread, I don’t recognize the screenshots that you provide, but most of the threads that I have seen all use javascript to capture the click and send it to GTM, it sounds like you have this part figured out but you want to use classes instead, I would expect that using a clstom class to trigger click would work for any element, like a image, or a button, these are clickable elements. If it will only work on the link “a” tag why don’t you add “a” after your custom class like .customClass a ?
    But if you would like to request a new feature, the Dev Team has opened a new Github Feature Request for users to place requests and follow them as the Dev Team reviews them.

    Best regards,
    Mike

    in reply to: Editing the Category Pages #1437390

    Hey menainfosec,
    For your category page please go to Enfold Theme Options ▸ Blog Layout ▸ Blog Layout and choose List Layout – excerpt, or Grid Layout.
    For the author you can go to the user profile and add info in the Biographical Info, or you can create a custom page and use a redirect plugin, or if you are really handy with PHP you can edit the author.php file but this is very advanced and may be tricky if you want to set it up for many authors.

    Best regards,
    Mike

    in reply to: Grid row background pictures not showing on mobile #1437388

    Hey khrntanya,
    Thank you for your patience, for the grid row cell that is not showing on mobile, please add a white space element to it with a height of about 500px so it will show.
    or you can try this css:

    @media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .av-flex-cells .avia-builder-el-last.no_margin {
        height: 500px !important;
    }
    }

    Best regards,
    Mike

    in reply to: Serach Bar in Header Styling #1437387

    Hey khrntanya,
    Thank you for your patience, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .ajax_search_response h4,
    .header_color .av_ajax_search_title {
    	color: #d90f38;
    }

    the expected results:
    Enfold_Support_5088.jpeg

    Best regards,
    Mike

    in reply to: This YITH plugin does not work as expected with Enfold #1437386

    Hey marxsvjetlana64,
    Thank you for your patience, the YITH plugin doesn’t work with Enfold because the plugin doesn’t seem to provide correct css to work with our page structure, I tried examining the css but it is just too big of a job to make it work with Enfold, and we are limited to providing support for third party plugins.
    If you really want this to work you could probably hire a freelancer on Upwork to rewite the css for you.

    Best regards,
    Mike

    in reply to: Accordion Custom Icon Showing Fonts #1437384

    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: Accordion Custom Icon Showing Fonts #1437382

    Hi,
    I was going to suggest :nth-child() but it looks like you have it sorted out now.

    Best regards,
    Mike

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

    function remove_ALB_post_state( $post_states, $post ) {
    	if("! has_blocks( $post->ID )") {
    		unset($post_states['wp_editor']);
    	}
    	if("!= Avia_Builder()->get_alb_builder_status($post->ID)") {
    		unset($post_states['avia_alb']);
    	}
    	return $post_states;
    }
    add_filter('display_post_states','remove_ALB_post_state',999,2);

    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add the above code and save.

    Best regards,
    Mike

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top ol li a:hover {
    	color: red;
    }

    Best regards,
    Mike

    in reply to: Accordion Custom Icon Showing Fonts #1437374

    Hey LUISCANAL,
    Try a back slash before the icon number:

    .my-custom-tabs .toggle_icon:before {
        font-family: 'entypo-fontello';
        content: '\e817';
        position: absolute;
        font-size: 18px;
        top: 50%;
        transform: translateY(-50%);
        left: 0px;
        line-height: 0;
        color: red;
    }

    Best regards,
    Mike

    in reply to: change the size of the image in blog layout #1437373

    Hi,
    Thanks for your help Guenni007, Lin84 it sounds like you have sorted out what you wanted to achieve, if this is correct shall we close this thread then?

    Best regards,
    Mike

    in reply to: Header #1437370

    Hi,
    Thank you for your patience as I understand what you would like to achieve, a full width changing image with a logo in the center at the top of every, post, page, & archive.
    I note a few limitations, first none of our sliders offer a random image on page load, so they would always start with the same image and rotate in order. Second you would like to add this to the top of every, post, page, & archive without editing each post & page, etc.
    So try this custom code to create this, if you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add this code and save:

    function random_image_slider_shortcode($atts) {
        // Define default attributes and override with user-defined attributes
        $attributes = shortcode_atts(
            array(
                'mobile_height' => '300px', // default mobile height
                'desktop_height' => '500px', // default desktop height
            ),
            $atts
        );
    
        // Define your image URLs here
         $images = array(
            'https://example.com/wp-content/uploads/image1.jpg',
            'https://example.com/wp-content/uploads/image2.jpg',
            'https://example.com/wp-content/uploads/image3.jpg',
            'https://example.com/wp-content/uploads/image4.jpg',
            'https://example.com/wp-content/uploads/image5.jpg',
        );
        // Start building the output
        $output = '<div id="random-image-slider" class="avia-section container_wrap fullsize" style="height: ' . $attributes['desktop_height'] . '; background-size: cover; position: relative;">';
    
        // Add logo overlay
        $output .= '<img src="https://example.com/wp-content/uploads/logo.png" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);" alt="Logo">';
    
        // Add script for changing the background image
       $output .= '<script>
            (function() {
                var images = ' . json_encode($images) . ';
                var currentIndex = Math.floor(Math.random() * images.length); // Start at a random index
                var container = document.getElementById("random-image-slider");
    
                function changeImage() {
                    container.style.backgroundImage = "url(" + images[currentIndex] + ")";
                    currentIndex = (currentIndex + 1) % images.length;
                }
    
                changeImage(); // Initial call to set the first image
    
                setInterval(changeImage, 3000); // Change image every 3 seconds
    
                // Responsive height adjustment
                function adjustHeight() {
                    var windowHeight = window.innerHeight;
                    var isMobile = window.matchMedia("(max-width: 768px)").matches;
                    container.style.height = isMobile ? "' . $attributes['mobile_height'] . '" : "' . $attributes['desktop_height'] . '";
                }
    
                window.addEventListener("resize", adjustHeight);
                adjustHeight(); // Initial call to set height
            })();
        </script>';
    
        $output .= '</div>';
    
        return $output;
    }
    
    add_shortcode('random_image_slider', 'random_image_slider_shortcode');
    

    In the code above change the 5 images to your image urls, and ensure to use full urls to the images, and also change the image url in the logo overlay.
    If you just wanted to use this script and add the element manually to your pages you could use this shortcode in a code block:

    [random_image_slider mobile_height="300px" desktop_height="500px"]

    Note that you can change the height of the element for mobile and desktop. Also note that if you use large square images the whole image will not show on every device, the image will be cropped to the height that you set, also this will not be full width when used in a code block element, this is an example of the results:
    Enfold_Support_5084.jpeg

    Now since you want this added automatically to the top of every, post, page, & archive create a second PHP snippet in the WP Code plugin and add this code:

    add_action('ava_after_main_title', 'ava_after_main_title_mod');
    function ava_after_main_title_mod() {
    	if(is_single() || is_page() || is_archive() ) {
    		echo do_shortcode('[random_image_slider mobile_height="300px" desktop_height="500px"]');
    	}
    }

    You can change the heights to suit, since this is added to the pages while the page is being created the element will be full width:
    Enfold_Support_5086.jpeg
    Give this a try.

    Best regards,
    Mike

    in reply to: Use a filter by tags on just one categorie #1437364

    Hi,
    Thank you for your patience, I don’t find a filter solution but this css solution seems to work well, in this example I want to only show the category “oil painting” on a specific page using the masonry element and enable the sorting for the tags “available” and “sold”
    Enfold_Support_5069.jpeg
    I have used the the tags “available” and “sold” also on other categories to simulate your issue:
    Enfold_Support_5071.jpeg
    now in the masonry element I sort my tag for the two tags “available” and “sold”
    Enfold_Support_5073.jpeg
    now on the page both categories “oil painting” & “order” show even though I only want “oil painting” to show the sorting tags:
    Enfold_Support_5075.jpeg
    so I use this css with the page ID and the only category that I want to show:

    .page-id-7542 .av-masonry-entry:not(.category-oil-painting) {
    	display: none;
    }

    and now only “oil painting” with the tags “available” and “sold” show:
    Enfold_Support_5077.jpeg
    and the sorting works fine:
    Enfold_Support_5079.jpeg
    Enfold_Support_5081.jpeg
    please give this a try, and if you need help with finding the page ID or category classes please link to your page so we can examine and help.

    Best regards,
    Mike

    in reply to: 2 Up Columns on Mobile #1437361

    Hi,
    First add the custom class specialHeight to each 1/4 column that you want the button the hot pepper image to line up below the special heading.
    You don’t need to add this to the third odd item or items with no button or image.
    Then typically I would add the following script to the end of your child theme functions.php file in Appearance ▸ Editor, but I see that you are not using a child theme so you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add this code and save.

    function custom_specialHeight_script() { ?>
      <script>
    (function($){
      $('.flex_column_table').each(function(){  
         var $specialHeading = $('.specialHeight .av-special-heading',this);
         var specialHeadingHeight = Math.max.apply(Math, $specialHeading.map(function(){
             return $(this).height();
         }).get());
         $specialHeading.height(specialHeadingHeight);
      });
      var resizeId;
      window.addEventListener('resize', function() {
          clearTimeout(resizeId);
          resizeId = setTimeout(doneResizing, 300);
      });
      
      function doneResizing(){
          location.reload();
      }
    
    })(jQuery);
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_specialHeight_script', 99 );
    

    I did this for you on your test site.

    Best regards,
    Mike

    in reply to: Demo Installation #1437349

    Hi,
    I believe that it has successful imported this time, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: 2 Up Columns on Mobile #1437347

    Hi,
    Try adding the custom class first to Smokin Q
    Enfold_Support_5067.jpeg

    Best regards,
    Mike

    in reply to: GTranslate no longer works in the mobile menu #1437346

    Hey Bernd,
    Thanks for the link to your site, I don’t have any experience with GTranslate but the mobile menu and desktop menus seems to contain all of the same classes.
    The menu items don’t contain real links just a hashtag, so this leads me to believe the GTranslate plugin is preforming a javascript “onclick” event and for some reason it is not working on mobile.
    Please note that event pointerenter will not fire on mobile, your plugin should use touch-action I recommend asking your plugin for help with this as they are creating the javascript “onclick” event to change the hashtag into a link.

    Best regards,
    Mike

    in reply to: Theme modification #1437344

    Hey micheladalcastagne,
    I was not able to see your screenshot because it requires a login, so I had to guess, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top .container_wrap {
        border-top-style: none;
    }

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

    Best regards,
    Mike

    in reply to: 2 Up Columns on Mobile #1437342

    Hi,
    I believe that I removed the “float” from the css that I gave you earlier, please compare the css from the two sites.

    Best regards,
    Mike

    in reply to: Preloader no longer spins #1437333

    Hi,
    I’m not sure what the conflict is, perhaps from a lasyloading plugin, but I added this css to make it spin:

    .av-siteloader-wrap .av-preloading-logo {
    	-webkit-animation-name: spin;
      -webkit-animation-duration: 4000ms;
      -webkit-animation-iteration-count: infinite;
      -webkit-animation-timing-function: linear;
    }
    @keyframes spin {
        from {transform:rotate(0deg);}
        to {transform:rotate(360deg);}
    }

    please clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    I see that whenever a page is edited there is a permissions error for core WordPress files:
    Enfold_Support_5065.jpeg
    one is for a plugin “easy pricing” and I see and error that your Rest API has been disabled, so you made have other plugin conflicts.
    comparing the wayback page with your current one, I only see the your headings have a color of #666 now and were #222 but the font sizes is the same, and you icon element font was 21px and now 16px. The problem is that the wayback page uses the Autoptimize cache and now you are not, Autoptimize often breaks the cache styles due to multiple minifying, typically people notice the error and the disable Autoptimize to correct, so I’m not sure if you didn’t realize the error until now when Autoptimize has been disabled and the cache cleared.
    When I examine your general style you are using the font color #666 so this leads me to believe that this color is correct and the Autoptimize version was wrong.
    I recommend disabling the above plugin and any others that are causing the permissions & Rest API errors.

    Best regards,
    Mike

    in reply to: Menu and translation problems #1437287

    Hi,
    Glad to hear that this custom menu is working. Please note that we ask that each request is asked in a new thread so it will be easier for us to help, this thread is getting quite long now covering multiple requests.
    Thanks for your understanding and for using Enfold.

    Best regards,
    Mike

    in reply to: Filter input in iconfont #1437285

    Hi,
    Glad Günter could help. If you have any other questions please open a new thread, thanks for using Enfold.

    Best regards,
    Mike

    in reply to: Preloader no longer spins #1437242

    Hey daves1997,
    Thank you for your patience, I checked your site on Windows in Chrome, Firefox, & Edge and the preloader showed for me:
    Enfold_Support_5062.jpeg
    perhaps you are experiencing a caching issue?

    Best regards,
    Mike

    in reply to: Do you have a reseller program? #1437238

    Hey Solo Mesumbe,
    unfortunately we don’t have a reseller program, but you could sign up as a Envato affiliate and permote that way.

    Best regards,
    Mike

    Hi,
    Glad Guenni007 could help, thank you Guenni007, shall we close this thread then?

    Best regards,
    Mike

Viewing 30 posts - 2,581 through 2,610 (of 33,849 total)