-
AuthorSearch Results
-
March 11, 2024 at 11:42 am #1436945
Topic: Hidden menu and logo like desktio
in forum Enfoldmary301187
ParticipantHello dear Enfold Team,
have a look at this page. The desktop logo and the menu have disappeared and only appear when scrolling down. Can this function also be activated for mobile? But only on this one page.
I look forward to hearing from you
Hi,
On my category pages the name of the category is on top:

This is set at Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Title and Breadcrumbs

and the date is set at Enfold Theme Options ▸ Blog Layout ▸ Blog Meta Elements

Please note that we ask that each thread stays on a specific topic, this helps other users find solutions based on the opening subject line and helps us as mods assist better. This thread is getting quite long now, for further questions please open a new thread Thank you for your patience and understanding and for using Enfold.Best regards,
MikeMarch 11, 2024 at 11:07 am #1436939In reply to: Dynamic CSS
Hi,
Ok, earlier you wrote that you couldn’t create it on your staging site.Best regards,
MikeOK, that worked. Thanks!
But it’s a pity that you can only change it in php.
I would have to make other settings. Like for example,
– on every category page the title of the category should be on top, not on every post.
– The images should have a format of 845 X 321
– The date should not be displayed.March 11, 2024 at 9:08 am #1436927In reply to: Dropdown alignment
Hi,
Thank you for the update.
You can use this css code to adjust the style of the button.
#top .hr.hr-invisible.av-2d6n9il-41fb061c500273b2b0ba4e2d011be596 + .avia_codeblock_section .avia_codeblock .dropdown { display: flex; min-height: 48px; justify-content: center; } #top .hr.hr-invisible.av-2d6n9il-41fb061c500273b2b0ba4e2d011be596 + .avia_codeblock_section .avia_codeblock .dropdown .avia_button_icon { padding-left: 0; margin-right: 10px; }If you want to target the text block element directly, try to apply a unique css class name to it. Please check the link below for more info:
// https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support
Best regards,
IsmaelMarch 11, 2024 at 8:55 am #1436922In reply to: top and bottom smaller in px
Hi,
Thank you for the update.
Yes, the css should also adjust the space above and below the map widget. If you want to adjust it further, add this css:
#footer .widgettitle, #footer .widget { margin-top: 0; }The title is displayed in large font
To display the widget title in normal case, please add this:
.widgettitle { text-transform: none; }Best regards,
IsmaelMarch 10, 2024 at 11:57 pm #1436894In reply to: Count up function
Hey calebcuster,
Unfortunately the Animated Countdown element datepicker will not allow you to choose a past date so this will not work, the post that you linked to was from 2015.
Instead try this shortcode count up clone, add this code to the end of your child theme functions.php file in Appearance ▸ Editor or if you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:

then add this code and save.function wp_custom_countup_shortcode($atts) { // Extract shortcode attributes $a = shortcode_atts(array( 'date' => '2020-01-01', // Default date 'color' => 'black', // Default font color 'background' => 'white', // Default background color 'offset' => '0', // Default timezone offset in hours ), $atts); $uid = uniqid('countup_'); // Enqueue jQuery if it's not already included wp_enqueue_script('jquery'); // Output HTML $html = "<div id='{$uid}' class='av-countdown-timer-inner'> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time weeks'></span><span class='av-countdown-time-label'>Weeks</span></span></span> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time days'></span><span class='av-countdown-time-label'>Days</span></span></span> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time hours'></span><span class='av-countdown-time-label'>Hours</span></span></span> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time minutes'></span><span class='av-countdown-time-label'>Minutes</span></span></span> <span class='av-countdown-cell av-align-center'><span class='av-countdown-cell-inner' style='color: {$a['color']}; background-color: {$a['background']};'><span class='av-countdown-time seconds'></span><span class='av-countdown-time-label'>Seconds</span></span></span> </div>"; // Adjust the current time for the timezone offset $offsetMilliseconds = $a['offset'] * 3600 * 1000; // Convert hours to milliseconds // JavaScript to update the countdown $html .= "<script> jQuery(function($) { var countUpDate = new Date('{$a['date']}').getTime(); var x = setInterval(function() { var now = new Date().getTime() + {$offsetMilliseconds}; // Adjust for timezone offset var distance = now - countUpDate; var weeks = Math.floor(distance / (1000 * 60 * 60 * 24 * 7)); var days = Math.floor((distance % (1000 * 60 * 60 * 24 * 7)) / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); $('#{$uid} .weeks').text(weeks); $('#{$uid} .days').text(days); $('#{$uid} .hours').text(hours); $('#{$uid} .minutes').text(minutes); $('#{$uid} .seconds').text(seconds); }, 1000); }); </script>"; return $html; } add_shortcode('custom_countup', 'wp_custom_countup_shortcode');Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Then use this shortcode on the page to display:
[custom_countup date="2024-03-10" color="#fff" background="#000" offset="-4"]
the first attribute is the date in the past, then the font color, then the cell background color, and then the time offset, this is the difference between your server time and the time you want to use, since our servers are not always in the same timezones as we are. The default is zero if you don’t add this attribute.
This is the result:

This uses the same classes as the countdown element so the style is pretty close, here is what the two together look like:

Best regards,
MikeMarch 10, 2024 at 5:19 pm #1436884In reply to: Black Overlay disappear at the end of slide
March 10, 2024 at 3:45 pm #1436881Topic: top and bottom smaller in px
in forum Enfoldschweg33
ParticipantHello everyone
I am making a new page here
link belowI have a big gap at the top and bottom of the footer
how can i reduce thisthank you
kind regards
FranzMarch 10, 2024 at 2:27 pm #1436871In reply to: Half the website gone
Hi,
I don’t spot any missing images on your page, you write that the top left image is missing but I see it:

this matches the frontend:

The text is an image so I assume that is what you are talking about it, but let’s assume that you also want a background image in the cell, behind the text image, then we see there is not one in the cell settings, so feel free to add one:

When I look at the rest of the page I don’t see any empty placeholders or and image 404’s so perhaps if you still see the missing images you could take a screenshot and point to it.
Thank you for your patience with us.Best regards,
MikeMarch 10, 2024 at 11:40 am #1436860In reply to: half the website and the pictures have disappeared
Hey Gagik,
Please don’t open more than one thread for the same problem, we’ll close this thread for now.
https://kriesi.at/support/topic/half-the-website-gone/
Best regards,
RikardMarch 10, 2024 at 9:09 am #1436857In reply to: Full size hero images are Cropped
Hi, thanks for your suggestion which I’ve tested! I was able to find parameters that work for each of the 4 files I need to configure.
Because #av_section_1.is a global ID attribute referenced on multiple images/pages, I couldn’t use it to set the required parameters for each image file. I used the syntax below. It’s working on my desktop (external monitor and compact laptop) and when I resize desktop browser windows to tablet/mobile size. BUT when using a tablet and this code is active, hero images disappear for almost all site pages in all browsers (chrome, safari, firefox).
This only happens with tablets (mobile view is fine). Color section min size = 750px for pages requiring custom background image positioning. Links to pages with the custom CSS are below. Any solutions would be appreciated. Thanks.
.class-hero1 {
background-position: center bottom 85% !important;
}.class-hero2 {
background-position: center bottom 80% !important; }March 10, 2024 at 1:47 am #1436848Topic: Count up function
in forum Enfoldcalebcuster
ParticipantWhat do I need to do to change the countdown element to a ‘count up’ element; show the time passed since the date input? I used to have this working a few years ago based on this post: https://kriesi.at/support/topic/countdown-widget-count-up-time-since-a-certain-event-support/?login_error but it looks like a few new versions have changed how that worked.
March 9, 2024 at 10:44 pm #1436844In reply to: functions.php
Hey webmaintain,
A theme update will override the enfold/functions.php
We recommend using a child theme or you could use the WP Code plugin when you add a new PHP snippet, look in the top right corner to use the PHP snippet as the code type:
Best regards,
MikeMarch 9, 2024 at 9:49 pm #1436836In reply to: Menu and translation problems
Hey micheladalcastagne,
Thanks for your patience and the link to your site, I don’t have a lot experience with the polylang plugin, first I noted that your homepage in both languages are named the same so I added the language code to them to sort them out in the theme options because your site domain is showing as a EN language and thus your menu is EN when you want it to be IT:

so now we can sort it out a little better:

Then going to the Languages ▸ Settings I found that you seem to need to choose the language from above before setting the options:

So now I have the menu language to match the page language along with the correct flag.Now for your second issue where when you are on the /privacy-policy/ page you can use the menu items to get back to your homepage because all of your menu items are only hash links.
Since you are not using a child theme I installed the WP Code plugin then added a new snippet, in the top right corner use the PHP snippet as the code type:

then added this code, I also created two new menus for you, one for each /privacy-policy/ page with the full urls to the homepage.add_filter( 'wp_nav_menu_args', 'ppen_nav_menu_args' ); function ppen_nav_menu_args( $args = '' ) { if($args['theme_location'] === 'avia') { if( is_page( 627 ) ) { $args['menu'] = '25'; } return $args; } } add_filter( 'wp_nav_menu_args', 'ppit_nav_menu_args' ); function ppit_nav_menu_args( $args = '' ) { if($args['theme_location'] === 'avia') { if( is_page( 3 ) ) { $args['menu'] = '24'; } return $args; } }Now each /privacy-policy/ page has a working menu to the correct homepage.
Best regards,
MikeMarch 9, 2024 at 3:59 pm #1436814In reply to: Choose of size in shop looks very special on tablets
Hi,
Thanks for the feedback, I don’t have a tablet but my laptop is one that folds in half so it’s like a tablet, but perhaps it is too large to see the issue, I tested again using the dev tools to emulate a tablet on my desktop but I didn’t see anything out of place, but your screenshots of the issue above are now 404s so I’m not sure if I looking in the right place. Try adding some screenshots of the issue so we can see what you mean.Best regards,
MikeMarch 9, 2024 at 3:09 pm #1436809In reply to: Sub menu positioning
Hi,
Thanks for the screenshots, the css that moves the cart over to the edge for screens between 767px – 1023px is mixed with some other css:

So after you decide what screen sizes you want this to work for, remove this line and them create a new rule, this is an example if you want it to work up to 1440px:@media only screen and (min-width: 767px) and (max-width: 1440px){ .responsive #top #wrap_all .main_menu { right: -80px !important; } }But I would advice to not do this because when elements are too close to the edge of the screen you may get warnings from page audit tools, as they recommend some space around items. Allowing the default theme placement is probably the best choice, but it’s up to you.
If you want the icons in the top bar to show on mobile try this css:@media only screen and (min-width: 768px) and (max-width: 989px){ .responsive.html_mobile_menu_tablet #top #header #header_meta .social_bookmarks { display: block; } } @media only screen and (max-width: 767px) { .responsive #top #header .social_bookmarks { display: block; } } @media only screen and (max-width: 479px){ .responsive #top #wrap_all #header .social_bookmarks, .responsive #top #wrap_all #main .av-logo-container .social_bookmarks { display: block; padding-left: 13%; } }Best regards,
MikeMarch 9, 2024 at 11:49 am #1436799In reply to: Eingaben im Quick CSS Feld werden ignoriert
Hi,
As @guenni007 pointed out; the class you are using is not on the page you linked. Please let us know if you should need any further help on the topic.
Best regards,
RikardMarch 9, 2024 at 10:27 am #1436791In reply to: Social Icons
Hey djsmbd,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 990px) { .responsive.html_mobile_menu_tablet #top #header #header_meta .social_bookmarks { display: block; } }Best regards,
RikardMarch 9, 2024 at 7:03 am #1436782Topic: Burger menu has stopped working on my mobile devices.
in forum Enfoldgatehealing
ParticipantThis is happening on both iphone and ipad in both Firefox and Chrome.
Works fine when burger is needed on laptop though.March 8, 2024 at 11:30 pm #1436777Topic: Links to Items in the Enfold Table of Contents widget
in forum Enfoldwebdesignphx
ParticipantHi Enfold Friends
I have 2 questions:
1. On some pages, including https://hangardoors.aero/rolling-hangar-door-configurations we use the Enfold Table of Contents widget. This automatically creates the table of content based on the H2 and H3 headings on the page. If you click on items in the table of contents, it scrolls down to the section beautifully.Problem: We would like to share links directly to those sections of the page. If you copy the link for any of the table of contents items (i.e., “1 Group of Leaves” (link: https://hangardoors.aero/rolling-hangar-door-configurations#1-group-of-leaves) , that link only takes you to the top of the page rather than the specific scrolled part of the page.
I manually did a workaround by adding red lines and links to those, but maybe you have a better solution for me? https://hangardoors.aero/rolling-hangar-door-configurations/#floating-configuration works but is a separately created link, not copied from the table of contents.
Also question Nr 2 the red circles in the table of content only appear when I am logged in on that page. on others they are there. wonder what could be wrong there.
Thanks so much for your help.March 8, 2024 at 10:44 pm #1436776In reply to: Half the website gone
This reply has been marked as private.March 8, 2024 at 10:41 pm #1436775Topic: Custom Height (Or Max-Height) of Video Elements
in forum EnfoldBrad
ParticipantHello,
I’ve got two videos near the top of my multimedia page. They look fine as-is while browsing on mobile in portrait mode, but when browsing on a desktop, they are too big and tall—because they are videos in portrait aspect ratio.
I’d like to be able to adjust the hight of the video elements, or their containers, but I only see a place to specify a minimum height, not an absolute height or a max-height.
Solutions are most appreciated.
March 8, 2024 at 8:08 pm #1436768In reply to: Updating Enfold
Hi,
Great, I’m glad to hear that you got it working. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardMarch 8, 2024 at 8:07 pm #1436767In reply to: Replace or add an icon in the symbol list
Hi,
Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardMarch 8, 2024 at 8:05 pm #1436766Hi,
Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardMarch 8, 2024 at 5:51 pm #1436753In reply to: Sub menu positioning
And also in the small top bar the div with social icons, ul.noLightbox.social_bookmarks.icon_count_5, disappear below 990px
I don’t know if it is related with the changes made
Thank you
MauroMarch 8, 2024 at 5:39 pm #1436751Wauw Mike that’s great, thanks a lot!
I now see what you have done. For other images in topbars on the websites I know what to do now, so thanks a lot.
I really love all your support that makes Enfold our favourite!
Have a nice weekend :-)March 8, 2024 at 4:45 pm #1436748In reply to: Choose of size in shop looks very special on tablets
Hi Mike
Sorry for the late response, I had a lot of stuff to do in the last month.
I tryed out your code but it does not help.
I think you cannot reproduce it with a laptop, you have to use a tablet.
When you open the shop with a tablet in landscape mode and then click on the right side into the sizes dropdown, it will look crazy.
Thanks very much.
Best regards
MikeMarch 8, 2024 at 2:41 pm #1436737This reply has been marked as private. -
AuthorSearch Results
-
Search Results
-
Hello dear Enfold Team,
have a look at this page. The desktop logo and the menu have disappeared and only appear when scrolling down. Can this function also be activated for mobile? But only on this one page.
I look forward to hearing from you
Topic: top and bottom smaller in px
Hello everyone
I am making a new page here
link belowI have a big gap at the top and bottom of the footer
how can i reduce thisthank you
kind regards
FranzTopic: Count up function
What do I need to do to change the countdown element to a ‘count up’ element; show the time passed since the date input? I used to have this working a few years ago based on this post: https://kriesi.at/support/topic/countdown-widget-count-up-time-since-a-certain-event-support/?login_error but it looks like a few new versions have changed how that worked.
This is happening on both iphone and ipad in both Firefox and Chrome.
Works fine when burger is needed on laptop though.Hello,
I’ve got two videos near the top of my multimedia page. They look fine as-is while browsing on mobile in portrait mode, but when browsing on a desktop, they are too big and tall—because they are videos in portrait aspect ratio.
I’d like to be able to adjust the hight of the video elements, or their containers, but I only see a place to specify a minimum height, not an absolute height or a max-height.
Solutions are most appreciated.


