
-
AuthorPosts
-
August 9, 2025 at 5:52 pm #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 headingAlso trying to change the font on the Mega Menu
August 10, 2025 at 1:13 pm #1487801August 13, 2025 at 3:23 pm #1487982Hi Mike
Yes, I go that part working
But I wan the first line of text to be an H1 headerFor the button its the lets get started
I want to change the font on thatThanks!
MitchAugust 14, 2025 at 9:33 pm #1488071Hi,
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:
Best regards,
MikeAugust 14, 2025 at 9:59 pm #1488075Thanks Mike
Also can I change the font on the Let’s Get Started Nav Button?
August 14, 2025 at 10:15 pm #1488076Hi,
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:
we can move forward, if not please tell us the font and add a admin login so we can help.Best regards,
MikeAugust 14, 2025 at 10:22 pm #1488077This reply has been marked as private.August 14, 2025 at 10:39 pm #1488079August 14, 2025 at 10:51 pm #1488080here you go
August 14, 2025 at 10:54 pm #1488081Hi,
The top button is the font “roboto” do you want to switch to this?Best regards,
MikeAugust 14, 2025 at 11:01 pm #1488082yes please
August 14, 2025 at 11:22 pm #1488084on 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 workalso 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 usedthanks again!
August 21, 2025 at 1:42 pm #1488353Hi,
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,
MikeSeptember 13, 2025 at 1:32 pm #1489213Thank 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 shownI 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
September 13, 2025 at 9:50 pm #1489215Hi,
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,
MikeSeptember 13, 2025 at 10:30 pm #1489216Thanks Mike
Very strange there are actually a bunch
I made the nav visible so you could see them all.Thanks
MitchSeptember 14, 2025 at 12:12 am #1489217Hi,
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,
MikeSeptember 14, 2025 at 12:57 am #1489218Thanks 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
MitchSeptember 14, 2025 at 3:14 pm #1489226Hi,
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,
MikeSeptember 14, 2025 at 9:03 pm #1489229Perfect, thank you so much!
September 14, 2025 at 10:13 pm #1489231Hi,
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 -
AuthorPosts
- The topic ‘Easy slider description box’ is closed to new replies.