Forum Replies Created
-
AuthorPosts
-
Hey neobiz2,
Thank you for your question, but unfortunately, it’s not possible to control the speed of the requestAnimationFrame function which is responsible for the animation without creating a custom script.
You could try a plugin, or based on this article: Animating Number Counters you could try adding this code to a code block element:<style> @property --num { syntax: "<integer>"; initial-value: 0; inherits: false; } div.slow-numbers { animation: counter 20s alternate ease-in-out; animation-fill-mode: forwards; counter-reset: num var(--num); font: 800 40px system-ui; padding: 2rem; } div.slow-numbers::after { content: counter(num); } @keyframes counter { from { --num: 0; } to { --num: 100; } } </style> <div class="slow-numbers"></div>
Best regards,
MikeHi,
Please try this code in your functions.php instead:function custom_top_banner() { ?> <script> (function($){ $( "<div id='banner'>This is a banner</div>" ).insertBefore( "#header_meta" ); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_top_banner');
and this css instead:
.responsive #top #header > #banner { width: 100%; height: 30px; background: #ffff00; color: #000; text-align: center; z-index: 1; position: relative; } .html_header_top.html_header_topbar_active.html_header_sticky #top #main > .title_container { padding-top: 30px; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad Ismael could 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,
MikeJanuary 29, 2022 at 6:35 pm in reply to: Trying to create a link to a form with pre-selected fields based on from page #1337842Hey Joseph,
Thank you for your question and the link to your pages, please give this a try, on your page with the form add a code block element at the bottom with this javascript:<script> var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = decodeURIComponent(window.location.search.substring(1)), sURLVariables = sPageURL.split('&'), sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split('='); if (sParameterName[0] === sParam) { return sParameterName[1] === undefined ? true : sParameterName[1]; } } }; var carportSize = getUrlParameter('size'); if (carportSize != null) { var val = carportSize; var sel = document.getElementById('avia_6_1'); var opts = sel.options; for (var opt, j = 0; opt = opts[j]; j++) { if (opt.value == val) { sel.selectedIndex = j; break; } } } </script>
Then on your page with the button make your link like this:
your-site.com/form-page/?size=2%20Car%204%20Post
the url parameter:?size=2%20Car%204%20Post
needs to match your option text for the correct option to be selected
the spaces need to be replaced with&20
If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.Best regards,
MikeJanuary 29, 2022 at 4:42 pm in reply to: add to card button : remove div.quantity and enlarge p.price #1337840Hi,
Thank you for the link to your page and the screenshots, when I check your page I see this, so it seems that the hiding of the quantity section is working
please try this css instead:#top.single-product .price span.woocommerce-Price-amount, #top.single-product .price span.woocommerce-Price-currencySymbol{ font-size: 20px; } #top.single-product .quantity { display: none; } #top.single-product .av-woo-purchase-button .cart { float: none; display: inline-flex; margin-bottom: 0; } #top.single-product .first-payment-date { margin: 0; }
the expected results:
After applying the css, please clear your browser cache and check.Best regards,
MikeJanuary 29, 2022 at 2:37 pm in reply to: "Layout Settings Menu" Not showing on backend when editing pages #1337834January 28, 2022 at 1:50 pm in reply to: a single specific character; different rendering in headings and text #1337718Hey steridhh,
Thank you for the screenshots, please link to a test page with both “&” showing so we can examine.
This looks like this “&” on this demo created by the “great vibes” font
once we examine we will know better if it is a font issue or not, since he non-braking space is changing the “&” perhaps another option is to use & instead
Character Entity Reference ChartBest regards,
MikeJanuary 28, 2022 at 1:17 pm in reply to: "Layout Settings Menu" Not showing on backend when editing pages #1337712Hi,
For all of the pages built like this, try this css instead:.js_active #top #main > #av_section_1.av-minimum-height .container { opacity: 1; -webkit-transition: opacity 0s ease-in; transition: opacity 0s ease-in }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
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,
MikeHi,
Thank you for the test page, for two buttons opening two popups on the same page the code block should contain this:<script type="text/javascript"> jQuery(window).load(function(){ jQuery('.avia-button-wrap.form-popup a.avia-button').addClass('form-popup-link'); jQuery('.form-popup-link').magnificPopup({ type:'inline', midClick: true }); }); </script> <style> .form-popup { position: relative; background: #FFF; padding: 20px; width: auto; max-width: 500px; margin: 20px auto; } </style> <div id="form-popup-one" class="form-popup mfp-hide"> form one </div> <div id="form-popup-two" class="form-popup mfp-hide"> form two </div>
The button links should be#form-popup-one
&#form-popup-two
and the button custom class should beform-popup
this results like this:
Now to add your forms you will create your forms with the shortcode wand in a Classic Editor post so you can copy the shortcode and paste it in the code block:
like this:
the result:
I made these changes to your page please clear your browser cache and check.
@mistermagoo8691 thanks for your feedback, I will check & correct it.Best regards,
MikeHi,
Thank you for the login, please note that when you set the H tag color in the Advanced Styling theme option it typically overwrites the element options, so to correct I adding this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field#top #wrap_all #homepage-slider.main_color h2.avia-caption-title { color: #fff; }
Your slider title is now white, please clear your browser cache and check.
In the future please open a new thread for each issue, this helps other users find solutions based on the opening subject line quicker, your post to this thread was off-topic from 2016, thank you for your understanding
Best regards,
MikeHey Brolle,
Thank you for your question we don’t have a built-in popup element but we do have this solution to create a popup with a code block element. We can help adjust this to show your form, but we will need further information, such as what will trigger the popup a link or button? What kind of form is it, a contact form element or the shortcode from another plugin?
If you want to use a plugin rather than building this, WP Popups is a free plugin that seems to work well with Enfold.
If you don’t want to use a plugin, then try creating a test page and include admin login in the Private Content area below so we can help further.Best regards,
MikeHi,
When I check your menu item Alle Kategorien I see the burger icon, try clearing your browser cache.
To apply the above css to the button try this css:#header_main #menu-item-19902.av-menu-button > a > span.avia-menu-text { border: 2px solid grey; border-radius: 10px; padding-left: 30px; padding-right: 30px; font-size: 15px; }
screenshot of the expected results:
Best regards,
MikeHi,
I see that you have removed the font-size css, but the letter-spacing css remains, since you can not find it please include an admin login so we can help you.Best regards,
MikeJanuary 24, 2022 at 1:24 pm in reply to: Placing language switcher (via wpml) next to mobile burger menu icon #1336896Hi,
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,
MikeHi,
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,
MikeHey ac1977,
Please try disabling your Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and then at the bottom of the same page enable the Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files
Then ensure Enfold Theme Options ▸ Performance ▸ Load jQuery in your footer is not enabled, and clear your browser cache and check again.
If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.Best regards,
MikeHi,
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,
MikeHey laptophobo,
Please try this css:@media only screen and (max-width: 767px) { .responsive #top.page-id-1642 #wrap_all #after_section_1 .sc-av_one_fourth .av_one_fourth { width: 47%; float: left; margin-right: 3%; } .responsive #top.page-id-1642 #wrap_all #after_section_1 .sc-av_one_fourth .av_one_fourth.first { clear: none; } .responsive #top.page-id-1642 #wrap_all #after_section_1 .sc-av_one_fourth .av_one_fourth.avia-builder-el-9, .responsive #top.page-id-1642 #wrap_all #after_section_1 .sc-av_one_fourth .av_one_fourth.avia-builder-el-25, .responsive #top.page-id-1642 #wrap_all #after_section_1 .sc-av_one_fourth .av_one_fourth.avia-builder-el-33 { clear: both; } }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad to hear that you have this sorted out, 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,
MikeHi,
Please try this instead:#main a:not(.avia-button), #footer a:not(.avia-button) { text-decoration: underline; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
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,
MikeHey rixi,
Thank you for the link to your site, I see that the font size of the button is 24px due to this custom css:.avia-button span { font-size: 24px !important; }
if you remove this the font size will go back to 13px and you button will be smaller.
The letter spacing is due to this custom css:#top #wrap_all .avia-slideshow-button,#top .avia-button,.html_elegant-blog .more-link,.avia-slideshow-arrows a:before { padding-top: 20px; padding-bottom: 20px; letter-spacing: 0.36em }
try removing
#top .avia-button
from the css, if there is a certain button you wanted to target with this css let us know and we can help correct your css.
If you can’t find were to make these edits, include an admin login in the Private Content area so we can be of more assistance.Best regards,
MikeHey prerules,
Thank you for your question, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:#main a, #footer a { text-decoration: underline; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Thank you for the link to your site, please try this css instead:#top.single-portfolio .title_container { position: fixed; top: 82px; z-index: 1000; width: 100%; } #top.single-portfolio #sub_menu1 { top: 142px !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeJanuary 23, 2022 at 7:29 pm in reply to: Vollbild-Slider, Grafik statt Überschrift: Größe anpassen mittig – recht – links #1336769Hi,
Changing the font of the button text also changing the size of the button, so for two different button sizes you could try this:@media only screen and (max-width: 767px) { #top #main .avia-slideshow-button { font-size: 12px; } } @media only screen and (min-width: 768px) { #top #main .avia-slideshow-button { font-size: 20px; } }
To have the button closer to the image in the caption H2, try this css:
@media only screen and (max-width: 479px) { .responsive #top #main .slideshow_caption h2 { font-size: 0px !important; line-height: 0px; margin-bottom: 0px; } .responsive #top #main .slideshow_align_caption br { display: none; } #top #main .avia-slideshow-button { margin-top: 0px; } }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Thank you for your patience, you had an error because you had the option Enfold Theme Options ▸ Performance ▸ Load jQuery in your footer set, I disabled this setting and now the script works correctly.
Please clear your browser cache and check.Best regards,
MikeHi,
You could try this css but you’ll want to examine each page to ensure there are no conflicts@media only screen and (max-width: 1023px) { #top .flex_column_table, #top .flex_column_table_cell { display: block; width: 100%; margin-left: 0; } }
Best regards,
MikeJanuary 23, 2022 at 4:28 pm in reply to: 'Hide on Mobile Devices' extend to tablet portrait size #1336752Hi,
Glad Rikard could 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