Forum Replies Created
-
AuthorPosts
-
Thanks Mike!
Currently the option we selected is don’t display socket and page
so we want to try and add the socket
but Hide the footer pageThat worked great, Thank you!
I did have an issue
I tried to add your code above to my php file and also the css to try and get the sub menu to be sticky on mobile.
It did not work
When I removed that code from he PHP file and the css it broke my down arrows throughout the sitePHP:
function custom_script(){
?>
<script>
(function($){
$(document).ready(function(){
var scroll_start = 0;
var startchange = $(‘#sub_menu1’);
var offset = startchange.offset();
if (startchange.length){
$(document).scroll(function() {
scroll_start = $(this).scrollTop();
if(scroll_start > offset.top) {
document.getElementById(‘sub_menu1’).classList.add(‘sticky-top’);
} else {
document.getElementById(‘sub_menu1’).classList.remove(‘sticky-top’);
}
});
}
});
})(jQuery);
</script>
<?php
}
add_action(‘wp_footer’, ‘custom_script’);CSS:
.sticky-top {
position:fixed!important;
top:0!important;
z-index:10000!important;
}is there a way to auto rotate a horizontal gallery?
so will this work to make the full width menu sticky on mobile?
if not is there a way to hide this menu on mobile?I’m having the same issue
I am using the footer option in settings: Select a page to use as the footer and socket
this is great!on a specific page I need to show only the socket (no footer) but that option is not available on specific page options: Footer settings
it shows 4 options
-Default
-use selected page as footer and socket
-use selected page as footer (no socket)
-don’t display the socket & pageHow do you only display the socket for a specific page?
Thanks!
We had changed some code on another site in the JS file and it works great.
I just can’t remember what we had doneSeptember 10, 2020 at 4:45 pm in reply to: Remove underline from hyperlink in bulleted list #1244966that did the rick thank you!
September 10, 2020 at 12:53 pm in reply to: Remove underline from hyperlink in bulleted list #1244892Hi Nikko
That is not showing up, any ideas?
ThanksSeptember 10, 2020 at 11:43 am in reply to: Remove underline from hyperlink in bulleted list #1244869Also how would I add a hover color to this text?
September 10, 2020 at 11:30 am in reply to: Remove underline from hyperlink in bulleted list #1244866Perfect… thank you
I’m trying to add this same autoscroll function to a horizontal gallery
when I look at line 962 in the js/avia.js fieldworker i see different code that does not appear to be about the gallery
I’m using Version: 4.4.1I also tried to search prettyPhoto in this file and did not see that either
PERFECT! Thank you.
I’m having the same issue, trying to remove the lines between the extra element. The site uses a phone number, and 2 social icons. I would like to remove the lines between those and also bet nee those extra elements and the navigation below.
Yes all set… thank you
that worked thank you …except the font hover color appears black
it there a way to make it the blue: #334a60Just tried matching the other code and that seems to work :
.flex_column.avia-link-column.avia-link-column-hover:hover {
background-color: #fff;
}
.flex_column.avia-link-column.avia-link-column-hover:hover > section > div > h4 {
color:#000 !important;
}
.flex_column.avia-link-column.avia-link-column-hover:hover > section > div > h4 {
color: #334a60 !important;
}any issue with this
changed h4 to > section > div > h4 and added !important after the color codeThanks!
Thanks Mike
One last question
The entire hover is white, how do I get the font to match the background
I tried replacing the 000 with #334a60, but that did not workthanks
Hi Nikko
Please see this page http://smarttouch.wpengine.com
Currently I have them set as text inside layout element boxes with a 1pt outline, which looks pretty good.
Not sure how to add the white hover color like this and on mobile they are very wide so probably not the best solution.Thanks
Mitchjust added this code to the function php and it worked
You can use this script in the functions.php file to set an autorotation to the horizontal gallery element. Set the interval in ms. Default is 2 seconds.
function ava_horizontal_gallery_interval() {
?>
<script>
(function($) {
// set the autorotation duration in ms
var interval = 2000;$(‘.av-horizontal-gallery’).each(function() {
var i = 0;
var b = 0;
var slider = $(this).find(‘.av-horizontal-gallery-slider’);
var item = slider.find(‘.av-horizontal-gallery-wrap’);
var next = $(this).find(‘.next-slide’);
var prev = $(this).find(‘.prev-slide’);
var count = item.length;var nextSlide = () => {
setInterval( $.proxy(function() {
next.trigger(‘click’);
i++;
if(i == count && item.last().is(‘.av-active-gal-item’)) {
clearInterval(nextSlide);
$(this).trigger(‘av-reset-item’);
i = 0;
}
}, this), interval);
}nextSlide();
$(this).on(‘av-reset-item’, function() {
setTimeout( function() {
var resetSlide = setInterval( $.proxy(function() {
prev.trigger(‘click’);
if(count == b && item.first().is(‘.av-active-gal-item’)) {
clearInterval(resetSlide);
b = 0;
$(this).trigger(‘av-next-item’);
}
b++;
}, this), 10);
}, interval);
});$(this).on(‘av-next-item’, function() {
nextSlide();
});
});
})(jQuery);
</script>
<?php
}
add_action( ‘wp_footer’, ‘ava_horizontal_gallery_interval’, 9999 );February 23, 2020 at 2:31 pm in reply to: accordion with some items that open and some that do not #1187105or can we specify the accordion format for the other bullets, we are using minimal format, so its the plus sign
this broke the format of the boxes
How do I reduce the space between 2 rows
We’re running 5.6
We’ve done that and it still happens.
Here is a video of it happening in firefox
Yes, this is happening on all browsers to anyone who edits the site. There is a page in draft called “RTC Page”. I just edited the top section of that page and the same thing happens.
Any update?
Did that and still have the same issue, rebuilt the page from scratch. Link in private
See private
Please review the video in the private link. Note I even tried making a new page and it is happening w/ that content.
-
AuthorPosts