Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you @Nad, it probably would be these days, but I don’t recall if this was an option back in 2018 when this thread was started, but thanks again for pointing this out.Best regards,
MikeHi,
To add the modified shortcodes.js to your child theme you can create a js folder in your child theme and paste in your modified shortcodes.js file there, then on functions.php of your child theme add this code:function change_aviajs() { wp_dequeue_script( 'avia-shortcodes' ); wp_enqueue_script( 'avia-shortcodes-child', get_stylesheet_directory_uri().'/js/shortcodes.js', array('jquery'), 3, true ); } add_action( 'wp_enqueue_scripts', 'change_aviajs', 100 );For your 12 1/4 columns spacing please try this css:
.responsive #top.page-id-13 #wrap_all .flex_column.av_one_fourth { margin-top: 1% !important; margin-left: 1% !important; margin-bottom: 0 !important; }I noted there was an issue with your second and third items at tablet size that was making those two columns much smaller than all of the others, I cloned the first two items and this seemed to have solved it enough that I could figure out the css for the spacing, but now you have 14 items and not 12, please review if you have any other rouge css affecting these or try creating a test page with the 12 1/4 columns and no custom classes so we can investigate, otherwise if you plan on adding more products anyways then just adjust the two additional products.
Best regards,
MikeHey mirotck,
Thank you for your patience, to remove the cart buttons please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.template-shop.avia-content-slider .avia_cart_buttons { display: none; }and to change the woocommerce add to cart button text try adding this code to the end of your functions.php file in Appearance > Editor:
add_filter('woocommerce_product_single_add_to_cart_text', 'woo_custom_cart_button_text'); function woo_custom_cart_button_text() { return __('Mehr dazu', 'woocommerce'); }Best regards,
MikeHey MyWin,
Thank you for your patience and the links, to add the lower menu indicator please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.av_minimal_header .avia-menu-fx { display: block; color: #857050; }this will place the bar like this:

or try this css to have the bar higher:.av_minimal_header .avia-menu-fx { display: block; color: #857050; bottom: 22%; }
After applying the css, please clear your browser cache and check.Best regards,
MikeHi,
Thank you for your patience and thanks for the link to your site, I see that the PHP ZipArchive Extension is not enabled on your server, please ask your webhost to enable this, then try resetting your site re-enable woocommerce as the only activate plugin and try the demo import again.
Some webhosts have their server PHP settings with the secure options activated.
Ask or check if “allow_url_fopen, “allow_url_include” and “register_globals” are “off”
then try turning these “on”, you could also try setting the PHP version to 7.1 temporarily just to import the demo, someone said this helped them, but I believe this was just for their server.
If none of this helps, please include FTP access and I will try a manual demo import for you, but please still get the PHP ZipArchive Extension enabled.Best regards,
MikeHey Katja,
Thank you for your patience and the links to your sites, I see the font is working on your live site but it is blocked on your testing site due to a CORS error:
Access to font at 'https://xxxxxxx.de/wp-content/uploads/avia_fonts/type_fonts/daxweb/daxweb.woff' from origin 'http://xxxxxxxx.de' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
This is because your testing site doesn’t automatically load the https version or redirect to it once you correct this and fix your images that are showing as Mixed Content your testing site will be easier for you to test with.Best regards,
MikeHey TLPLindseyMuchka,
Thank you for your patience and the link to your page, I have carefully reviewed your slider to try to help you accomplish the “Hero Header” using the Fullwidth Easy Slider, but the styles and animation are added by a script during the page load so we can not completely remove it, plus I see that you also have the lazyload option enabled, so it could also help to disable that, but this css seems to help quite a bit, please try this code in the WordPress > Customize > Additional CSS field as it has the highest priority:#full_slider_1 .avia-slideshow li.av-single-slide, #full_slider_1 .avia-caption-title, #full_slider_1 .avia-caption-content, #full_slider_1 .avia-slideshow-button { -webkit-animation: 0s ease 0s normal none 1 running none !important; animation: 0s ease 0s normal none 1 running none !important; visibility: visible !important; opacity: 1 !important; }and then try disabling Enfold Theme Options > Performance > JS & CSS file merging and compression and at the bottom of the page enable Enfold Theme Options > Performance > Delete old CSS and JS files then save your theme options and check.
But I believe you may want to create your own Hero Header with a color section and a background image to have better control over it.Best regards,
MikeHey Technohead,
Thank you for your patience and the link to your page, while there is not an expanding Pagination option, you could try the normal Pagination option which will show you 3 more entries, or you could add a button to another page to show all of your entries, examining the layout of your page with the form on the right it seems like the 3 entries are a sample of opportunities and a button to a full list would be natural?
Or you could try using two blog elements and a button separating them in your section, if you set the two blog element to use their offsets then together they will show all of the posts, and the button would toggle their visibility with a little jQuery. For example this is my test page:

The first blog element is set to show 3 posts with an automatic offset and no pagination.
The button has the default manual link set with no url, I only changed the button title to “Show All” and added the custom ID show-all-button

The second blog element is set to show all posts with no pagination and the automatic offset so it will not show the same posts as the first one and added the custom ID show-all-posts
I added the jQuery to a code block element for simplification of this example:<script> (function($){ $(document).ready(function(){ $('#show-all-posts article').hide(); $('#show-all-button').click(function(e){ e.preventDefault(); $('#show-all-posts article').toggle(); }); }); })(jQuery); </script>
Then on page load the first blog element with only 3 posts show while the second blog element is hidden.

When the button is clicked the second blog element is shown.

Perhaps this will work for your project, in the Private Content area I have linked to my test page, it will probably only be working for a few days if you want to see the example working.Best regards,
MikeHey dttdev,
Thank you for your patience and the link to your page, as I understand your request the change should only be on this one page so in the css I added the page ID and the iframe ID and in my test this works well, but I notice that your iframe has the height declared twice, once as a regular height attribute and once as a style attribute:

this is not really a problem but if in your iframe code you can see theheight:750px;go ahead and remove it, otherwise don’t worry about it.
I also noticed that setting the height to 900px does remove the scroll bar until the option Manicures & Pedicures is picked and then it would require a height of 1200px to remove the scroll bar, so I just added this to the css, please feel free to adjust to suit.
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top.page-id-946 #main #JM2021_advanced_iframe { min-height: 1200px; }After applying the css, please clear your browser cache and check.
Best regards,
MikeMay 30, 2021 at 2:59 pm in reply to: I misplaced the "Layout widget" (?) on the page editor – and can't get it back #1303014Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
Thank you for your patience and for the login to your site, for the column link issue the links didn’t work because they included hashtags that indicated the anchor links and they were on the homepage, the column links would work if both of these were not true because column links are not real links, they are faked with javascript, anyways I found that by modifying the /js/shortcodes.js file I can create a workaround for you.
So I modified line 660 from this:if( (0 == url.indexOf("#")) || ((url.indexOf(link) >= 0) && (url.indexOf("#") > 0) ) )

to this:if( (0 == url.indexOf("#")) )

and this seems to work correctly now, please clear your browser cache and check.Best regards,
MikeHi,
Glad to hear that you have this sorted out, we will close this now. Thank you for using Enfold.Best regards,
MikeMay 29, 2021 at 4:34 pm in reply to: I misplaced the "Layout widget" (?) on the page editor – and can't get it back #1302965Hi,
Thank you for the feedback and your login, I believe that I have corrected this for you, so the first thing I did was click this arrow in the element title:

this made two more arrows show:

and clicking the down arrow moved the element to the sidebar:

I didn’t want to save the page, so if the element doesn’t show in the sidebar for you try following these steps and then save the page to possibly save the setting?
I personally don’t like the Block Editor and always use the Classic Editor, so I’m not sure if this is a feature but it seems like it might be because of how these arrows behave.Best regards,
MikeHi,
Sorry for the late reply and thanks for the link to your pages, the second menu that I see on mobile at the bottom of the page is #sub_menu2 so to correct this as I understand the issue please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (max-width: 767px) { #top.page-id-6383 #sub_menu2 { display:none; } #top.page-id-6081 #sub_menu2 { display:none; } }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
Glad to hear that you were able to sort this out, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
If you are using the Advanced Layout Builder then you would add two layerslider elements, then on the page in the source code one would automatically be known as #layerslider-1 and the other #layerslider-1 then the css above would work.
Since this is not your thread posting your login here will not be private and you will not see anything we write in the Private Content area, so if you require further assistance please create a new thread and include a recap, and WordPress admin access in the Private Content area, then you can link to that thread here so we can find it easier.Best regards,
MikeMay 28, 2021 at 11:50 am in reply to: I misplaced the "Layout widget" (?) on the page editor – and can't get it back #1302804Hi,
Thank you for the screenshots and login, I see this was occurring in the “Block Editor” but I couldn’t find the exact page this was on, but I changed the editor to the “Classic Editor” and then back to the “Block Editor” in the theme options and this may have reset the situation, please check.

Best regards,
MikeMay 27, 2021 at 1:10 pm in reply to: I misplaced the "Layout widget" (?) on the page editor – and can't get it back #1302629Hey wellfiguereitout,
Thank you for your patience, unfortunately your images are not showing because the sub-domain DNS address could not be found, so it looks like your whole sub-domain is down, are you still able to login?
I have never seen the issue you are speaking of, and I don’t think it should be possible without a major code conflict, I recommend disabling all plugins and code snippets, then checking again. If you do this and your site comes back online and still see the issue, please include admin login in the Private Content area so we can be of more assistance.Best regards,
MikeHey emilconsor,
Thank you for your patience and the link to your page but I’m unable to see the page as it says “Login to see this page”
can we have a test login?
I assume that this page would show the blog posts in a grid style? We can probably move the date with a small code snippet, but would it only be for this page or certain types of pages?
Please note that if you go to your theme options and look at the blog options “Blog Styling” each of these shows the blog meta in a different location, perhaps one of these would be better for you?

Best regards,
MikeMay 27, 2021 at 12:21 pm in reply to: Code Block crashes everytime by upating page avia layout builder #1302599Hi,
you could try adding this to your functions.php:function custom_calculator(){ ?> <link href="/wp-content/themes/enfold/value/css/app.css?tag=40" rel=preload as=style> <link href="/wp-content/themes/enfold/value/css/chunk.css?tag=40" rel=preload as=style> <link href="/wp-content/themes/enfold/value/js/app.js?tag=40" rel=preload as=script> <link href="/wp-content/themes/enfold/value/js/chunk.js?tag=40" rel=preload as=script> <link href="/wp-content/themes/enfold/value/css/chunk.css?tag=40" rel=stylesheet> <link href="/wp-content/themes/enfold/value/css/app.css?tag=40" rel=stylesheet> <script src="/wp-content/themes/enfold/value/language.js?tag=40"></script> <script src="/wp-content/themes/enfold/value/data.js?tag=40"></script> <script src="/wp-content/themes/enfold/value/js/chunk.js?tag=40"></script> <script src="/wp-content/themes/enfold/value/js/app.js?tag=40"></script> <?php } add_action('wp_head', 'custom_calculator');and add this to your cold block element:
<style> .form-class { width: 100%; } @media (min-width: 1680px) { #av_section_1 .container { max-width: 100% !important; } } .reference-line-box { border: 1px solid black !important; margin-top: 5px; } .link-container a { color: #fff !important; } .PortfolioCalculator__form__select__label { padding: 7px !important; } #av_section_1 .container { margin: 0; width: 100%; padding: 0; } .radio-label { padding: 0 !important; } </style> <script type="text/javascript"> window.selectedPlan = "value60" </script>but I believe you are either missing the code that shows the calculator in a div on your page or the script to show the calculator needs to be rewriten, this doesn’t look correct to me
window.selectedPlan = "value60"
I recommend getting in touch with the person that wrote it for you and asking them to help rewrite it.Best regards,
MikeHey advteksol,
Thank you for your patience and the link to your site, please try changing your css to this:#order_review > p.form-row.form-row-first, #order_review > p.form-row.form-row-last, .woocommerce-form-coupon-toggle + p { display: none; }and your script to this:
function ava_custom_script_mod() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', ' (function($) { $(".showcoupon").on("click", function() { $("#order_review > p.form-row.form-row-first, #order_review > p.form-row.form-row-last, .woocommerce-form-coupon-toggle + p").toggle(); }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);Best regards,
MikeHey reinsicht,
Thank you for your patience and for the link to your site, for this one tab I would recommend this css in your quick css, you will note that it begins to work at 1440px screen resolution, this is so it is not used for mobile or tablet.@media only screen and (min-width: 1440px) { #individualisierung-custom-table #tab-id-2-content.tab_content { max-height: 1500px; } }Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
On my desktop the text is 16px, and the actual css font-size is 1em which will show different px sizes based on screen size, anyways to change the font-size to 14px try this css:#top.page-id-22914 #tonic-ticket-widget.tw-widget h4.tw-text--flush, #top.page-id-22914 #tonic-ticket-widget.tw-widget p.tw-text--flush, #top.page-id-22914 #tonic-ticket-widget.tw-widget p span { font-size: 14px; }but to change the font-size only on hover try this css instead:
#top.page-id-22914 #tonic-ticket-widget.tw-widget .tw-item:hover h4.tw-text--flush, #top.page-id-22914 #tonic-ticket-widget.tw-widget .tw-item:hover p.tw-text--flush, #top.page-id-22914 #tonic-ticket-widget.tw-widget .tw-item:hover p span { font-size: 14px; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Ok, then please try adding this:.html_header_top.html_header_sticky #top #wrap_all #main{ padding-top:330px !important; }After applying the css, please clear your browser cache and check.
Best regards,
MikeMay 23, 2021 at 11:43 pm in reply to: Multiple accordon tabs open on just one specific page #1301863Hi,
Thank you for your patience and the link to your page.
For your first question on how to get the CSS to only work on the one page, you would add the page ID to the CSS like this:.js_active .page-id-2575 .toggle_wrap { display: block; position: static; visibility: visible; left: 0; width: auto; z-index: 1; }Each page has a unique page ID, now the reason you can not close the toggles is because the CSS has been set and clicking the toggles doesn’t change the state and the only way around this is by removing the CSS and writing a jQuery script to replace it.
I wrote this and it works when I inject it via the browser and it should work when it’s added to your functions.phpfunction custom_script() { ?> <script> (function($){ $(document).ready(function(){ $('#top.page-id-2575 .togglecontainer.enable_toggles').each(function() { $(this).find( '.toggle_wrap' ).css({'display':'block','visibility':'visible','position':'static','left':'0','width':'auto','z-index':'1'}); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');But in your theme options you have the “Load jQuery in your footer” option set so this will not work on your site because jQuery has to be loaded before the script for the script to work. I assume that you are trying to set your site to run the fastest so you will need to decide if giving up page load is worth closing the toggles, and if any of your visitors are ever going to try to close your toggles?
But at least you know the answer now.Best regards,
MikeHi,
As you see one slider has 10 items and the other has only 1, do you intend to add more items? This would correct.Best regards,
MikeHi,
Thank you for the login, your theme options have a demo page called “Homepage” set as the “Frontpage”

This demo page has the page ID 734 and is correctly showing as the Frontpage at this url: https://carbogaz.digitalatplay.com/

It looks like you tried to use this setting which is not correct for this situation:

So I correct this for you:



Best regards,
Mike -
AuthorPosts
