-
Search Results
-
Hello,
on the site: https://protom-education.com/vocabulary_dgs/individual vocabulary words can be clicked on to display them in a video as a gesture (Sign Language). Now the respective vocabulary should be displayed above the video (lightbox mode) as a title, so that the context of the video is established. The page is currently being built and there is currently a video as a placeholder for all vocabulary.
The video is integrated via this code: <span style=”font-size: 14pt; font-family: verdana, geneva, sans-serif;”>abgeschreckt sein</span>
Anybody there who knows how it works? Thanks : )
<p class=”p1″>[av_button label='Interactions' icon_select='yes-right-icon' icon='ue875' font='entypo-fontello' link='page,279' link_target='' size='medium' position='left' label_display='' title_attr='' color_options='color_options_advanced' color='theme-color' custom_bg='#444444' custom_font='#ffffff' btn_color_bg='custom' btn_custom_bg='#78909c' btn_color_bg_hover='custom' btn_custom_bg_hover='#455a64' btn_color_font='custom' btn_custom_font='#ffffff' id='' custom_class='' template_class='' element_template='' one_element_template='' av_uid='' sc_version='1.0' admin_preview_bg='']
It works when I save, but if open the accordion element to edit, the short code disappears and is no longer there.
Hi:
I have been using the following code for a long time onother Enfold Websites to make the title text smaller on smaller desktop computers – 10 and 12″, but on this site it does not appear to be working and I’m not sure why:
/*FIX SLIDER ON SMALLER DESKTOPS*/
@media only screen and (max-width: 1024px) {
.responsive #top .slideshow_caption h2 {
font-size: 35px !important;
}}I’ve tried different versions, or other selectors, to no avail. Help?
I am facing a strange problem. I am building a website for renting apartments. I have created a custom post type “apartment”. I also use ACF to create custom fields for apartment features and address to be displayed on a Google map.
Following the instructions on ACF (https://www.advancedcustomfields.com/resources/google-map/) I succeeded to make a page with the map showing all the apartments. For this I created a shortcode containing the following php function which I added to a code block element
function locations_map (){ $apartment_query = new WP_QUERY('post_type=apartment&posts_per_page=-1'); if ( $apartment_query->have_posts() ) { ob_start(); ?> <div class="acf-map" style="overflow: hidden; position: relative;"> <?php while ( $apartment_query->have_posts() ) { $apartment_query->the_post(); $indirizzo = get_field('indirizzo'); $title = get_the_title(); $url = get_permalink(); $posti_letto = get_field('posti_letto'); $prezzo_minimo = get_field('prezzo_minimo'); $type_icon = 'http://localhost:8888/mario/wp-content/themes/yaiv/images/marker-home.png'; ?> <div class="marker" data-lat="<?php echo $indirizzo['lat']; ?>" data-lng="<?php echo $indirizzo['lng']; ?>" data-img ="<?php echo $type_icon; ?>"> <div class="inside-marker"> <h4><a href="<?php echo $url; ?>"><?php echo $title; ?></a></h4> <?php echo '<span style="font-size:18px;">People ' . $posti_letto.'</span><br>'; echo 'from '. $prezzo_minimo . '/night'; ?> </div> </div> <?php } ?> </div> <?php wp_reset_postdata(); } return ob_get_clean(); } add_shortcode( 'locations_map', 'locations_map' );The result, which is working fine, is as from the picture below

In frontend I wanted, for each apartment post (where descriptions and features are showed), a map displayed with the location of that single apartment. I hence prepared a second shortcode with the folowing php function
function single_map (){ $indirizzo = get_field('indirizzo'); $type_icon = 'http://localhost:8888/mario/wp-content/themes/yaiv/images/marker-home.png'; echo '<div class="acf-map" style="overflow: hidden; position: relative;">'; if( $indirizzo ): ?> <div class="marker" data-lat="<?php echo esc_attr($indirizzo['lat']); ?>" data-lng="<?php echo esc_attr($indirizzo['lng']); ?>" ></div> <?php endif; echo '</div>'; } add_shortcode( 'single_map', 'single_map' );However the problem is that when I add to the codeblock element the new [single_map], in frontend there is the proper map showed at the beginning of the .main container (with the marker working well), and a second map (with no marker and no correct center) in the codeblock, like the picture attached.

I did some trials and saw that also simple text shortcodes behave in the same way when added to the custom post type.
I also tried to deregister all Enfold native google map api scripts, but I had no results. Unfortunately the web site is still on my local machine, so I cannot give you access right now. Do you have any idea how to solve it?
Hello,
I build my website with the advanced page builder editor of enfold and now I am switching to the block editor Gutenberg. The problem here is the block editor has a bigger font size than the advanced editor. If I change the font size in enfold setting both font sizes are changing. I think there is a 2 – 5 PX difference. All sites created with the advanced layout builder have smaller font sizes.
How to fix this?
Hi,
we’re trying to install Font Awesome Pro but unfortunately the import results in a 500 error.
Maybe it’s the size of the file but we can’t fugure out what’s the problem.
All other icon fonts also the free version of font awesome we were able to import.
Maybe you have experienced this issue in the past?
Hope you can help us out with this.
Regards,
Sebastian



