Forum Replies Created
-
AuthorPosts
-
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
/* Add custom font to heading/content settings (General Styling > Fonts & Advanced Style Editor ) */ add_filter( 'avf_google_heading_font', 'avia_add_custom_font'); add_filter( 'avf_google_content_font', 'avia_add_custom_font'); function avia_add_custom_font($fonts) { $fonts['CharterBTRoman'] = "CharterBTRoman"; return $fonts; } /* Disable Google Font embedding */ add_action( 'init', 'enfold_customization_switch_fonts' ); function enfold_customization_switch_fonts() { global $avia; $avia->style->print_extra_output = false; }Cheers!
JosueHi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueHey!
Try adding this at the very end of your theme / child theme functions.php file:
function trigger_alb_on_load(){ ?> <script> (function($){ $(window).load(function() { $("#avia-builder-button").trigger('click'); }); })(jQuery); </script> <?php } add_action('admin_head-post-new.php', 'trigger_alb_on_load');Cheers!
JosueHey!
Try using
category_description:
https://codex.wordpress.org/Function_Reference/category_descriptionBest regards,
JosueMay 31, 2015 at 4:09 am in reply to: Search Icon to the right of social media icons instead in main menu? #452113Hey!
Try adding this at the very end of your theme / child theme functions.php file:
if(!function_exists('avia_append_search_nav')) { //first append search item to main menu add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 10, 2 ); function avia_append_search_nav ( $items, $args ) { if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items; if(avia_get_option('header_position', 'header_top') != "header_top") return $items; if ((is_object($args) && $args->theme_location == 'avia2') || (is_string($args) && $args = "fallback_menu")) { global $avia_config; ob_start(); get_search_form(); $form = htmlspecialchars(ob_get_clean()) ; $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"> <a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a> </li>'; } return $items; } }Cheers!
JosueHey!
Try adding this code to the Quick CSS:
.header_bg { display: none; } #top .av_header_transparency #header_main{ background-color: transparent; } /* adjust this */ #top #header_meta { background-color: rgba(255,255,255,0.5); } #top #header_main { background-color: rgba(255,255,255,0.2); }Cheers!
JosueHi Scott!
You need to the change the ‘font’ value to the name of the font you uploaded:
/* this will add the icon to the framework available icons */ function avia_add_custom_icon($icons) { $icons['houzz'] = array( 'font' =>'_FONT_NAME_HERE_', 'icon' => '_ICON_HERE_'); return $icons; } add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); /* this will add the newly added icon to the social profile options */ function avia_add_custom_social_icon($icons) { $icons['Houzz'] = 'houzz'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);Best regards,
JosueHello,
That’s not possible within CSS boundaries, min-width sets a minimum width to the element and can not read the box width of this, you’d either have to rely on menu-id targeting or use padding instead (as it is by default):
#top .av_seperator_big_border#header .av-main-nav > li > a { padding: 0 13px; }Alternatively you could set a percentage width to the nav items so they spread throughout the menu container equally, like
#top .av_seperator_big_border#header .av-main-nav > li{ width: 10%; /* change this in case of more/less menu items */ } #top .av_seperator_big_border#header .av-main-nav > li > a { padding: 0; }Regards,
JosueHi Lynn!
Try adding this:
.html_header_top.html_logo_center .logo { display: inline-block; float: none; position: relative; } .html_header_top.html_logo_center { text-align: center; }Cheers!
JosueHi!
Please try the following:
http://kriesi.at/documentation/enfold/my-contact-form-is-not-sending-emails/Regards,
JosueHi,
Open /framework/php/function-set-avia-frontend.php and look for line 958:
$output = __('Tag Archive for:','avia_framework')." ".single_tag_title('',false);Replace it by this:
$output = __('Portfolio of:','avia_framework')." ".single_tag_title('',false);Regards,
JosueHi,
You can use the “Comments” element in the Pages you want to include the comment form – http://a.pomf.se/gaqjay.png
Best regards,
JosueThanks, good to know, probably some JS conflict between LS and the template builder.
Cheers!
JosueMay 30, 2015 at 11:40 pm in reply to: Ajax Portfolio: Change to indicate which portfolio item is being viewed #452091Hey!
You could use
position: absoluteto place it on top of the grid:@media only screen and (min-width: 767px) { #top .portfolio_preview_container { position: absolute; top: 220px; z-index: 1000; width: 80%; left: 120px; } }Cheers!
JosueCould you please expand on the issue? a screenshot of your view would help.
Regards,
JosueHello!
Please note that this is not exactly related to the theme but more to a native functionality of WordPress. That being said, this could work for you:
https://longren.io/wordpress-tip-redirect-to-previous-page-after-login/Regards,
JosueMay 30, 2015 at 4:54 am in reply to: Need Embedded iframe Video to always show up as full screen #451872Sorry, i was referring to this – http://a.pomf.se/pigvzj.png (copied the wrong link).
Regards,
JosueHi!
You’re missing a “}” to close the media query.
Regards,
JosueHi!
In order to use LS outside the Advanced Layout Builder you’d need to purchase it separately (and disable the Enfold one).
Regards,
JosueHey!
You can use the following (child theme functions.php):
add_action('ava_after_main_title', function() { ?> SECTION HTML HERE <?php });Now, you’d need to create the Color Section you want to be repeatable first and then copy the generated HTML (using something like Chrome DevTools).
Regards,
JosueMay 30, 2015 at 4:48 am in reply to: Search Input field missing in Internet Explorer 8 and says "Home" on other pages #451867Hey David!
1. The “search” is the placeholder of the search input filed, problem is IE8/9 doesn’t support placeholders – http://caniuse.com/#feat=input-placeholder
2. The home string is coming from the menu, not sure how it ended there but you can add this to your CSS to hide it:
.fallback_menu { display: none; }Regarding
JosueHi Neil!
Would be great if you could expand on this:
the built in media player is interfering with SWFPut Video and is not displaying as is should
In any case try commenting this line in functions.php
wp_enqueue_script( 'wp-mediaelement' );Regards,
JosueMay 30, 2015 at 4:37 am in reply to: WPML – theme settings not synchronized between languages #451864May 30, 2015 at 4:34 am in reply to: Need Embedded iframe Video to always show up as full screen #451863Hi!
That’s expected, Fullscreen slider video slide’s playback is disabled on mobiles, try setting the Vimeo link here and check if the fallback image gets linked.
Best regards,
JosueHey!
You can prefix “!” to a function to do the opposite:
if(!is_page( array(5289,5298,5300,5302,5304) )) ... }Regards,
JosueNo, that won’t happen, the only way to effectively “block” resources is via robots.txt.
Regards,
JosueHi!
Here’s something interesting, if you place the phpinfo.php inside /mocs/ you’ll see the memory limit is still 32M:
http://209.95.55.165/mocs/phpinfo.phpRegards,
JosueHey!
Try adding this code to the Quick CSS:
.avia_ajax_form h3 { font-weight: 100; }Cheers!
JosueMay 29, 2015 at 3:47 am in reply to: Need Embedded iframe Video to always show up as full screen #451507You are welcome, glad to help :)
Regards,
JosueMay 29, 2015 at 2:10 am in reply to: Need Embedded iframe Video to always show up as full screen #451498Hey!
Try adding this code to the Quick CSS:
#top .avia-fullscreen-slider .av-video-slide.av-video-service-vimeo iframe{ -webkit-transform: scale(1) !important; -ms-transform: scale(1) !important; transform: scale(1) !important; } #top .avia-fullscreen-slider .av-video-slide.av-video-service-vimeo .av-click-overlay { display: none !important; }Cheers!
Josue -
AuthorPosts
