Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #1487784

    Trying to put the heading and text into one box
    Change the color of the box to RGB 27 45 102
    Round the corners on the box
    And add an icon above the heading

    Also trying to change the font on the Mega Menu

    #1487801

    Hey mnydish,
    It looks like you have already:
    set the box to RGB 27 45 102
    Round the corners on the box
    And add an icon above the heading
    Screen Shot 2025 08 10 at 7.10.45 AM
    I find no Mega Menu on your site.

    Best regards,
    Mike

    #1487982

    Hi Mike

    Yes, I go that part working
    But I wan the first line of text to be an H1 header

    For the button its the lets get started
    I want to change the font on that

    Thanks!
    Mitch

    #1488071

    Hi,
    To change the first line to a H1, you will need to install our plugin: Using special characters
    as seen in the error message and documentation:
    Screen Shot 2025 08 14 at 3.30.33 PM

    Best regards,
    Mike

    #1488075

    Thanks Mike

    Also can I change the font on the Let’s Get Started Nav Button?

    #1488076

    Hi,
    The “Let’s Get Started” Button is in a text block element, it would be best to add a custom class or ID to the element to make this change.
    As is, a broad css font change may change things that you don’t want.
    If you can add the custom class:
    Screen Shot 2025 08 14 at 4.12.34 PM
    we can move forward, if not please tell us the font and add a admin login so we can help.

    Best regards,
    Mike

    #1488077
    This reply has been marked as private.
    #1488079

    Hi,
    It looks like that is the font used now:
    Screen Shot 2025 08 14 at 4.37.26 PM
    Can you screenshot an example of the font correctly displayed?

    Best regards,
    Mike

    #1488080

    here you go

    #1488081

    Hi,
    The top button is the font “roboto” do you want to switch to this?

    Best regards,
    Mike

    #1488082

    yes please

    #1488084

    on the text in the blue at the top of all of the pages
    I put the plugin in, just not sure how to get it to work

    also I could put that text int he heading box except it is falling outside of the box when I do that
    I just set it that way on the home page so you can see
    maybe something with the CSS that is used

    thanks again!

    #1488353

    Hi,
    Thank you for your patience, to change the lower button to roboto, try this css:

    .av-d2qwg-e9ae8fb5484d65afa63467cb5d9917ef h4 {
    	font-family: 'roboto' !important;
    }

    I was not able to login to adjust the heading box. It looks like the link above to the special character documentation was broken, this one is correct.
    Here is the list of characters and their replacement:

    
    <    =    ###lt### 
    >    =    ###gt###
    [    =    ###91###
    ]    =    ###93###

    Best regards,
    Mike

    #1489213

    Thank you for all of your help the site is working great!!

    Is there a way to load the content slider in random order every time a page is loaded
    I have it set on one page
    and that page is shown throughout the site
    and I want it to show differently every time its shown

    I tried this code in a snippet
    <script>
    document.addEventListener(“DOMContentLoaded”, function() {
    setTimeout(function() {
    (function($) {
    $.fn.shuffle = function(childSelector) {
    return this.each(function() {
    var $container = $(this);
    var $elements = $container.children(childSelector);
    var shuffled = $elements.sort(function() { return 0.5 – Math.random(); });
    $container.empty().append(shuffled);
    });
    };

    // Shuffle testimonials after Enfold has built the slider
    $(“.avia-testimonial-row”).shuffle(“.avia-testimonial”);
    })(jQuery);
    }, 300); // wait 300ms so Enfold initializes first
    });
    </script>

    set to run everywhere

    but its not working

    #1489215

    Hi,
    The pages that I check show that the testimonials only have two items, I tested the following script by injecting it in the browser and it worked, but with only two items it’s like flipping a coin, you still might get three of the same in a row. Try adding four more testimonials and then test, you should see a better random outcome.

    document.addEventListener("DOMContentLoaded", function () {
      var rows = document.querySelectorAll(".avia-testimonial-row");
    
      rows.forEach(function (row) {
        var testimonials = Array.from(row.querySelectorAll(".avia-testimonial"));
        if (testimonials.length <= 1) return;
    
        for (let i = testimonials.length - 1; i > 0; i--) {
          let j = Math.floor(Math.random() * (i + 1));
          [testimonials[i], testimonials[j]] = [testimonials[j], testimonials[i]];
        }
    
        testimonials.forEach(function (t) {
          row.appendChild(t);
        });
      });
    });
    

    Best regards,
    Mike

    #1489216

    Thanks Mike

    Very strange there are actually a bunch
    I made the nav visible so you could see them all.

    Thanks
    Mitch

    #1489217

    Hi,
    Sorry, I was looking at the wrong site, now I see that your testimonials are in a content slider and not the testimonial element like on your other site.
    I adjusted the script:

    document.addEventListener("DOMContentLoaded", function () {
      var rows = document.querySelectorAll(".avia-content-slider-inner");
    
      rows.forEach(function (row) {
        var testimonials = Array.from(row.querySelectorAll(".slide-entry-wrap"));
        if (testimonials.length <= 1) return;
    
        for (let i = testimonials.length - 1; i > 0; i--) {
          let j = Math.floor(Math.random() * (i + 1));
          [testimonials[i], testimonials[j]] = [testimonials[j], testimonials[i]];
        }
    
        testimonials.forEach(function (t) {
          row.appendChild(t);
        });
      });
    });

    Best regards,
    Mike

    #1489218

    Thanks Mike
    I just tried it and still don’t see it loading randomly.
    I added a user for you if you wouldn’t mind checking.
    The script is in snippets.

    Thanks
    Mitch

    #1489226

    Hi,
    I see that your snippet plugin doesn’t allow JS or CSS snippets, I recommend the WP Code plugin as it is not limited.
    Typically, I post snippets in a PHP function, but since you had posted just the JS earlier I thought you were using a plugin that allows JS, I updated your snippet for PHP:

    function random_content_slider_script() { ?>
      <script>
    document.addEventListener("DOMContentLoaded", function () {
      var rows = document.querySelectorAll(".avia-content-slider-inner");
    
      rows.forEach(function (row) {
        var testimonials = Array.from(row.querySelectorAll(".slide-entry-wrap"));
        if (testimonials.length <= 1) return;
    
        for (let i = testimonials.length - 1; i > 0; i--) {
          let j = Math.floor(Math.random() * (i + 1));
          [testimonials[i], testimonials[j]] = [testimonials[j], testimonials[i]];
        }
    
        testimonials.forEach(function (t) {
          row.appendChild(t);
        });
      });
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'random_content_slider_script', 99 );

    Now it works.

    Best regards,
    Mike

    #1489229

    Perfect, thank you so much!

    #1489231

    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

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘Easy slider description box’ is closed to new replies.