Forum Replies Created
-
AuthorPosts
-
Well, the update helped. Thanks a alot.
Awesome, thank you, what was the Problem?
Hey Rikard, trey new Details *Edited in the Private Data-Field
Hi,
perfect. It worked like that:
// activates a sort button based on the sort query parameter function ava_activate_sort_button() { if (!(is_page( 202 ))) { return; } ?> <script> (function($){ window.addEventListener('load',() => { console.log('test'); }); $(document).ready(function() { console.log(window.location.hash); if(window.location.hash) { //$("div[class$='_sort'],div[class*='_sort ']").hide(); switch(window.location.hash) { case "#Teile": setTimeout(() => { $(".teile_sort_button").trigger("click"); }, 500); //$(".teile_sort_button").trigger("click"); //$(".teile_sort").show(); break; case "#Uhren": setTimeout(() => { $(".uhren_sort_button").trigger("click"); }, 500); //$(".uhren_sort_button").trigger("click"); //$(".uhren_sort").show(); break; case "#Kurioses": setTimeout(() => { $(".kurioses_sort_button").trigger("click"); }, 500); //$(".kurioses_sort_button").trigger("click"); //$(".kurioses_sort").show(); break; case "#Bronzen": setTimeout(() => { $(".bronzen_sort_button").trigger("click"); }, 500); //$(".bronzen_sort_button").trigger("click"); //$(".bronzen_sort").show(); break; default: $(".all_sort_button").trigger("click"); //$("div[class$='_sort'],div[class*='_sort ']").show(); } } }); $(window).on('hashchange', function() { //$("div[class$='_sort'],div[class*='_sort ']").hide(); console.log(window.location.hash); switch(window.location.hash) { case "#Teile": $(".teile_sort_button").trigger("click"); //$(".teile_sort").show(); break; case "#Uhren": $(".uhren_sort_button").trigger("click"); //$(".uhren_sort").show(); break; case "#Kurioses": $(".kurioses_sort_button").trigger("click"); //$(".kurioses_sort").show(); break; case "#Bronzen": $(".bronzen_sort_button").trigger("click"); //$(".bronzen_sort").show(); break; default: $(".all_sort_button").trigger("click"); //$("div[class$='_sort'],div[class*='_sort ']").show(); } }); })(jQuery); </script> <?php } add_action('wp_head', 'ava_activate_sort_button');
Teile, Uhren, Bronzen, Kurioses are my Kategories.
Thanks
Hi Ismael,
thanks for your help. But that thing is not working with my skills.
I placed your code but I dont really know how to make it run.
Your Url is also not working.Best regards,
PhilThanks, I will try my best.
Thank you very much. Works fine now.
We mark this as close. Not relevant anymore
Hey,
what do you mean with “Start page”? Even if there are the same ID’s, why is it working in with the german language and not with the english?
Regards
Hi, Yes do it please.
Hello and Thanks for helping out.
I did it, as Nikko said.
But now it is working exactly the Wrong way.When I scroll, the Logo becomes big, and at the Top Level, It is small.
Regards,
PhilHello,
yes you need to Login into the side (private content) to get acess to the side.
There you can see, that the layer slider is affected by the settings in the theme.Regards
Hello,
to see the Problem, you need an Account to the Website. I created one for you Private ontent.)
There you can see the Testslider with the heading, set to 70px.
But on the side, the Heading is shrinked to 50px. I think it is because of the “Responisve” and “Menu Left” generell Settings.
Where is the option, to let the size as it is?Regards
Still no one who knows the Problem?
Hey Rikard,
we found the Problem, thanks. There was one of the five cells with a padding. I thought I removed all. You can close this now, thanks.
Regards
Hey Rikard,
Yes, I mean that:
I know it is a Grid Section, and I did copy it as it is in the Demo, but mine is simply very “fat”.
Regards,
PhilHey, thats exacly what I dont want, because then I need a lot of different Ranges, is there any intelligent solution, for example something like calc()?
Regards
Hello,
no we didnt find the solution, we just changed the header back to what we want it to be, but toe Background-color when I scroll, is still not what I want it to be.
Regards
No I didnt, but now I did, Site is working, but no Phone Number appeared.
Then I receive an Error.
syntax error, unexpected '(', expecting variable (T_VARIABLE) or '{' or '$'####
Regards
Hi Ismael,
Social Icons now appear but 2 more Questions:
Possible to also Add a Phone Icon with Phone number, and E-Mail Icon with E-Mail adress?
Also Possible to change the Color of the Social Icons and let them appear next to them, instead of under each other?Regards
Hi, I tryed following code:
// add social icons inside the mobile menu function ava_custom_script_mod_social(){ ?> <script> (function($){ var int = ''; function a() { var isMobile = $('.av-burger-menu-main').css('display'), htmlString = $('#header_main .social_bookmarks:first').find('li a'), mobileMenu = $('.av-burger-overlay'), socialString = []; if(isMobile == 'none') return; if($('.burger-social').length) clearInterval(int); htmlString.each(function() { var socialClass = $(this).parent('li').attr('class'), socialItems = $(this).wrap('<li class="'+ socialClass + ' av-active-burger-items burger-social"></div>').parent().unwrap(); socialString.push(socialItems); }); $(socialString).each(function() { $(this).appendTo('#av-burger-menu-ul'); }); } $('#header').on('mousedown', '.av-main-nav-wrap', function() { int = setInterval(function() { a(); }, 500); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_social');
Simply nothing happend exepct some Failures, when moving the Mousewheel.
Any more help`?
And be carefull
ALL special Headings are now with the “Link” option.
I had to change every heading manualy to not beeing a Link
Now it is working,
Ad allowed comments and now the symbols are back.
Hello Yigit, thanks for responsing,
I did the update, but still the same fault :/
No Icons showing, just empty Boxes.
Regards,
philThanks for your response,
does anyone know a Plugin, where I can do this?
Regards
Hello Victoria,
thanks for answering, I havent had the time so far to check it, but will do, as soon as possible.
Regards,
PhilNovember 10, 2019 at 10:00 am in reply to: Preview does not work if the page is not published #1155308Hello,
we also do have this Problem at the moment, still buggy?
Regards,
PhilSure can be closed, thank you.
#menu-item-134 .sub-menu { top: -250px !important; }
So it worked :)
-
AuthorPosts