Forum Replies Created
-
AuthorPosts
-
Hi,
Danke Guenni007 für die Aushilfe :)
LG,
DudeHey Divers1fy,
You can use the avia_post_slide_query filter to alter the query.
Use it like:
add_filter('avia_post_slide_query', 'avia_post_slider_custom_query', 10, 2); function avia_post_slider_custom_query( $query, $params ) { $include_cat = array('category__and' => array( 2, 6 )); $query = array_merge((array)$include_cat, (array)$query); return $query; }
Insert this code into the child theme functions.php file and replace 2, 6 with the category ids of your categories ‘home demolishing’ AND ‘builders’.
You can use the css class field to apply the code to certain post slider elements only.
1) Activate the css class option field: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#turn-on-custom-css-class-field-for-all-alb-elements
2) Insert the css class “avf_filter_post_slider_cats” (without the quotes) into the field (post slider element you want to filter)
3) Save the elements/page
4) Add this code to the funtions.php file
add_filter('avia_post_slide_query', 'avia_post_slider_custom_query', 10, 2); function avia_post_slider_custom_query( $query, $params ) { if(!empty($params['class']) && strpos($params['class'], 'avf_filter_post_slider_cats') !== false) { $include_cat = array('category__and' => array( 2, 6 )); $query = array_merge((array)$include_cat, (array)$query); } return $query; }
and replace 2, 6 with your category ids.
Best regards,
DudeHi,
I’m pretty sure it’s a server configuration issue. I tried to deactivate the plugins, switched to the standard twentyseventeen theme and created a simple password protected page ( http://www.chalchbrunne-gränichen.ch/?page_id=7226 ). Even then the password form redirected to a blank page with the url http://www.chalchbrunne-gränichen.ch/wp-login.php?action=postpass. I searched the wordpress forums and found some useful threads: https://wordpress.org/support/topic-tag/postpass/ – most of them indicate it’s a server configuration issue (htaccess, php version, etc.). Please talk to the server administrator/host and ask them to look into it.
Best regards,
DudeHi,
Glad we could help you :)
Best regards,
DudeAugust 8, 2018 at 10:22 am in reply to: Problem with Google Maps after installing SSL Certificate #994802Hi,
Glad it works now :)
Best regards,
DudeHey TST765RS,
I only know https://instantwp.com/ but I’ve not tested it with Enfold. Personally I’m also not sure why the Enfold theme should be to heavy for serverpress.com.
Also I don’t need to buy and install divi to edit your theme do I?
No, Enfold comes with a page builder called “Avia Advanced Layout Builder”. Please do not use Divi with Enfold.
Best regards,
DudeHey jenhames,
I assume you’re talking about the burger menu (mobile menu). You can use this css code to change the font size of the submenu links:
#top #wrap_all .av-burger-overlay #av-burger-menu-ul .sub-menu li a{ font-size: 12px; }
You can replace 12px with any other px or em value.
Best regards,
DudeHey!
Great, glad it works now :)
Best regards,
PeterHi,
Please try to add this code to the quick css field:
#top.page-id-18 #av-tab-section-1 .av-tab-section-outer-container{ max-height: 1145px !important; }
Best regards,
DudeHi,
I think you refer to this thread: https://kriesi.at/support/topic/google-adsense/
If not please check all threads here: https://kriesi.at/support/profile/jalmz/topics/ and tell us which code you mean.Best regards,
DudeHey MLA18,
You could try to use the print media query to hide all html elements except the post/page content container. You can use it like:
@media print { #top #wrap_all #header, #top #wrap_all #footer, #top #wrap_all #socket, #top #wrap_all .sidebar {display:none;} }
This won’t work with very old browsers but it should work with most modern browsers. You can also change the body font-family, etc. – see: http://edutechwiki.unige.ch/en/CSS_for_print_tutorial
Best regards,
DudeHi,
Glad it works now :)
Best regards,
DudeAugust 8, 2018 at 9:05 am in reply to: Edits to posts are not being saved or publishing to live site #994739Hey Mike,
Please create us an admin account and post a link to the page which doesn’t update properly.
Best regards,
DudeHey fcorts,
Please create us an admin account – we’ll check your configuration and custom css code to find the culprit.
Best regards,
DudeHi,
Yes, the menu also worked with the touch simulation enabled. Tbh I don’t think this would be a problem in the wild because most mobile devices won’t show the mega menu but the burger menu.
Best regards,
DudeHey rcgroup,
Please create us an admin account and post the login credentials. Please provide the API key (billing account api key) too.
Best regards,
DudeHi,
Bitte fügen diesen CSS Code in das Quick CSS Feld ein (oder in die child Theme style.css):
#top #wrap_all #socket .sub_menu_socket li { border: none; }
LG,
DudeHey BlutVampir,
Thank you for the hint – I’ll forward it to the developers.
Best regards,
DudeAugust 8, 2018 at 8:42 am in reply to: Rahmen-Transparenz bei Beschriftung bei Slideshow (volle Breite) #994719Hey meyerhuber-wondratschek-archiv,
Ich verstehe die Frage glaube ich nicht richtig, aber Du kannst natürlich den abgeänderten CSS Code in das Quick CSS Feld oder in die Child theme style.css übernehmen. Anschließend sollte er auf alle Slideshows angewandt werden. Falls nicht, probiere einmal einen oder mehrere ID- Selektoren hinzuzufügen, zB wie:
#top #wrap_all .caption_framed .slideshow_caption .avia-caption-content p, #top #wrap_all .caption_framed .slideshow_caption .avia-caption-title, #top #wrap_all .avia-caption .avia-caption-content p, #top #wrap_all .avia-caption .avia-caption-title { filter: alpha(opacity = 20); background: rgba(0,0,0,0.2); }
LG,
DudeHey weasyweb2015,
Can you post a link to your website please so we can check the source code?
Best regards,
DudeHi,
Ok, I’ll leave this thread open for now.
Best regards,
DudeHi,
The parameter onmousedown=”fireButtonPub(‘url’,’spdzoe1′,’a2b0ect’)” is not a valid shortcode parameter. I converted the button shortcode to html, inserted it into a code block element and added some custom js code – the code in the code block now looks like:<div class="avia-button-wrap avia-button-center avia-builder-el-5 avia-builder-el-no-sibling av_register_here_button"><a href="http://events.trustevent.com/index.cfm?eid=3040" class="avia-button avia-icon_select-no avia-color-theme-color-highlight avia-size-x-large avia-position-center" onclick="init_fireButtonPub('url','spdzoe1','a2b0ect');" target="_blank"><span class="avia_iconbox_title">REGISTER HERE</span></a></div> <script type="text/javascript"> function init_fireButtonPub(url, adv, pubid) { fireButtonPub(url, adv, pubid); return true; } function fireButtonPub(url, adv, pubid) { var pubiframe = document.createElement('iframe'); pubiframe.src = '//insight.adsrvr.org/tags/' + adv + '/' + pubid + '/iframe'; pubiframe.width = 0; pubiframe.height = 0; pubiframe.frameborder = 0; pubiframe.scrolling = "no"; document.body.appendChild(pubiframe); setTimeout(function(){ window.location = url; }, 1000); } </script>
Best regards,
DudeHi,
Please update the theme to the latest version first – you’re using 4.3.1 but we already released 4.4.x. I’ll then look into it.
Best regards,
DudeHi,
You can try to increase the thumbnail quality by adding this code to the child theme functions.php file:
add_filter( 'jpeg_quality', function() { return 100;} );
Reference: https://aristath.github.io/blog/change-wordpress-image-quality
Afterwards you need to regenerate all thumbnails with a plugin like: https://de.wordpress.org/plugins/regenerate-thumbnails/
Best regards,
DudeHey dvalansi,
Please post an url to your website – otherwise we can’t log in ;)
Best regards,
DudeHey Mariano Alejandro Makedonsky,
Unfortunately we do not sell a html version of Enfold. However you’ve two possibilities:
1) You can purchase the PSD files and convert them to html: https://themeforest.net/item/enfold-psd-/5189320
2) You can purchase Enfold, create a website with wordpress and one of our demo files ( https://kriesi.at/themes/enfold-overview/ ) and then use a tool like https://www.httrack.com/ to convert the wordpress website to static html files. Afterwards you can add your custom php code to these files and use the html structure as a starting point.
Best regards,
DudeHey carla,
I fixed it by linking all accordion slider images to the accordion – if the user clicks on an image Enfold will not scroll to the top or load the page again anymore.
Best regards,
DudeHi!
Go to the wordpress admin panel > Settings > Permalinks. Scroll down to the “Category base” settings field and insert “actualites” (without the quotes). Then save the settings. However be careful – you should not use slugs which are already used for posts, pages, tags, etc. If you’ve a page which is called actualites I’d rename this page slug otherwise you risk 404 errors (page not found errors)Best regards,
PeterHey!
Glad we could help you :)
Regards,
PeterHey!
I added this code to your functions.php file:
function avia_head_hook_javascript() { ?> <script> function av_close_menu(){ jQuery('.menu-item-mega-parent').trigger('mouseleave'); jQuery('#menu-item-31 a').removeClass('open-mega-a'); jQuery('#menu-item-31').css( "overflow", "hidden" ); } </script> <?php } add_action('wp_head', 'avia_head_hook_javascript');
and this code into the text widget::
<a class="close_menu_button" onclick="av_close_menu()" href="javascript:void(0);">X</a>
and it works for me now. I could close/open the menu multiple times without any errors…
Regards,
Peter -
AuthorPosts