Forum Replies Created
-
AuthorPosts
-
Hi kecster2!
If the plugin uses shortcode then you can add the shortcode on a Text Block element using the Advance Layout Builder. Make sure that you switch the Text Block element editor to Visual mode. We don’t usually support third party plugins. Please hire a freelance developer if you want it to be fully compatible with the theme.
Regards,
IsmaelDecember 24, 2013 at 6:46 am in reply to: Can i force the same size for the portfolio items in a grid? #203472Hi!
Yes, defining a minimum height for the grid content should align the images properly. It will depend on the size of the images you’re uploading. Use images with almost the same ratio or dimension.
Regards,
IsmaelHi crevlon!
You can use the following:
— The edges of both boxes (inside and outside) should be slightly rounded:
av_promobox { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }— The font (such as the theme font) and font size:
.avia-promocontent p { font-size: 15px; font-family: 'Open Sans', sans-serif; }— The distance between Promobox and text:
.av_promobox { padding: 20px 30px; margin: 70px 0; }Best regards,
IsmaelHey!
You can a bottom margin on the icon:
@media only screen and (max-width: 989px) and (min-width: 768px) { .page-id-15 #av_section_2 .alignleft.size-full { margin-bottom: 30px; } }Remove browser cache then reload the page.
Regards,
IsmaelHey wholereneducation!
Please add this on your functions.php:
add_theme_support( ‘deactivate_layerslider’ );You can also find this code on line 392:
if(!current_theme_supports('deactivate_layerslider')) require_once( 'config-layerslider/config.php' );//layerslider pluginReplace it with:
//if(!current_theme_supports('deactivate_layerslider')) require_once( 'config-layerslider/config.php' );//layerslider pluginInstall the layer slider plugin after. Remove browser cache or test it on another browser.
Regards,
IsmaelDecember 24, 2013 at 6:16 am in reply to: Enfold: Best way to link to a specific portfolio category? #203462Hey!
You can copy the whole avia_which_archive function on your child theme’s functions.php.
Best regards,
IsmaelDecember 24, 2013 at 6:10 am in reply to: Inserting simple Javascript code onto different pages #203461Hey phmorgan!
Please use this plugin: http://wordpress.org/plugins/insert-html-snippet/
This is will enable you to use javascript codes inside avia elements especially the Text Block element. Refer to this link for more info: http://docs.xyzscripts.com/wordpress-plugins/insert-html-snippet/
Regards,
IsmaelHi!
You can use this plugin to manually resize the images at your convenience: http://wordpress.org/plugins/simple-image-sizes/
Cheers!
IsmaelHey toddgeist!
You can disable the prettyPhoto plugin entirely. Edit js > avia.js file, find this code on line 54:
//activates the prettyphoto lightbox $(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});Replace it with:
//activates the prettyphoto lightbox //$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});You can also refer to Dude’s response here. He is using FancyBox instead of the prettyPhoto lightbox plugin.
Best regards,
IsmaelHi lherbert!
There is no documentation yet but you can duplicate an element from the config-templatebuilder > avia-shortcodes folder. Example, duplicate the button.php file. Name it boxes.php as if we’re trying to create a boxes shortcode. Edit the file, look for this code:
if ( !class_exists( 'avia_sc_button' ) ) { class avia_sc_button extends aviaShortcodeTemplate { /** * Create the config array for the shortcode button */ function shortcode_insert_button() { $this->config['name'] = __('Button', 'avia_framework' ); $this->config['tab'] = __('Content Elements', 'avia_framework' ); $this->config['icon'] = AviaBuilder::$path['imagesURL']."sc-button.png"; $this->config['order'] = 85; $this->config['target'] = 'avia-target-insert'; $this->config['shortcode'] = 'av_button'; $this->config['tooltip'] = __('Creates a colored button', 'avia_framework' ); $this->config['tinyMCE'] = array('tiny_always'=>true); }Replace it with:
if ( !class_exists( 'avia_sc_boxes' ) ) { class avia_sc_boxes extends aviaShortcodeTemplate { /** * Create the config array for the shortcode button */ function shortcode_insert_button() { $this->config['name'] = __('Boxes', 'avia_framework' ); $this->config['tab'] = __('Content Elements', 'avia_framework' ); $this->config['icon'] = AviaBuilder::$path['imagesURL']."sc-button.png"; $this->config['order'] = 86; $this->config['target'] = 'avia-target-insert'; $this->config['shortcode'] = 'av_boxes'; $this->config['tooltip'] = __('Creates boxes', 'avia_framework' ); $this->config['tinyMCE'] = array('tiny_always'=>true); }You’ll see the Boxes shortcode beside the button shortcode on the Advance Layout Builder.
Regards,
IsmaelHey oeconomedicus!
Please increase wordpress php memory limit: http://dailyblogging.org/wordpress/increase-wordpress-memory-limit/
Best regards,
IsmaelHi!
You can adjust the portfolio ajax control using this:
@media only screen and (max-width: 767px) { .ajax_controlls { position: absolute; z-index: 100; right: 0; top: 160px; } }Adjust the bottom position.
Regards,
IsmaelHey journey5956!
This is what I see when I checked the site on Chrome. It works properly but the I think you need to set the Slider width to 100% on Global Settings:

Cheers!
IsmaelHey kecster2!
I’m sorry but can you please post a screenshot of what you’re trying to do
Regards,
IsmaelHey markbener!
Please use this on your custom.css or Quick CSS:
@media only screen and (max-width: 767px) { .responsive .boxed#top { width: 100%; } }Remove browser cache then reload the page a few times.
Cheers!
IsmaelHi!
Dude’s code work properly on my end. Please use this on your child theme’s function.php:
<?php /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */ /* * Register frontend javascripts: */ if(!is_admin()) { add_action('wp_enqueue_scripts', 'avia_register_child_frontend_scripts', 100); } function avia_register_child_frontend_scripts() { $child_theme_url = get_stylesheet_directory_uri(); wp_dequeue_script('avia-prettyPhoto'); wp_dequeue_style('avia-prettyP'); wp_dequeue_style('avia-custom'); //register js wp_register_script( 'avia-default-child', $child_theme_url.'/js/avia.js', array('jquery'), 1, false ); } ?>Then create a js folder inside the child theme folder, create the avia.js file. Add this code:
function avia_lightbox_callback(elements,ww,wh){ (function($){ elements.each(function() { var el = $(this); if(!el.hasClass('noLightbox')) { el.addClass('lightbox'); } }); jQuery('a.lightbox').on('click', function() { return false; }); })(jQuery); }Please check it again.
Regards,
IsmaelDecember 23, 2013 at 8:56 am in reply to: how can you add a tagline or subheading to all pages for the enfold theme #203194Hi!
You can edit header.php or /includes/helper-main-menu.php if you have 2.6+, find this code:
echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong');Below, add this code:
echo "<div class='site-description'>".get_bloginfo ( 'description' )."</div>";Edit Enfold > Styling > Quick CSS, add this code:
.site-description { bottom: -30px; position: absolute; font-size: 11px; }Best regards,
IsmaelHi!
You can add this on your custom.css or Quick CSS:
#menu-item-2508 a { background: blue !important; padding: 10px; color: white !important; }Best regards,
IsmaelHi kecster2!
Use this on your custom.css or Quick CSS:
.avia-button.avia-icon_select-no.avia-color-custom.avia-size-medium.avia-position-center:hover { background-color: red !important; }Regards,
IsmaelHey!
Just change the color value:
#top #main .sidebar_left .sidebar { border-left: 1px solid rgba(0, 0, 0, 0.3);; }Change the rgba color to something else.
Best regards,
IsmaelHey!
Just change the color value:
#top #main .sidebar_left .sidebar { border-left: 1px solid rgba(0, 0, 0, 0.3);; }Change the rgba color to something else.
Best regards,
IsmaelHey!
You can use this on Quick CSS:
.page-id-393 #av_section_5 .avia_message_box { margin: 00px 0; }Remove browser cache then reload the page.
Best regards,
IsmaelHey Dan!
It is a custom script made by Kriesi. Please hire a freelance developer to modify the theme for you.
Cheers!
IsmaelHey!
@NaturalIntegrative: You can disable the lightbox function. Edit js > avia.js file, find this code on line 54:
//activates the prettyphoto lightbox $(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});Replace it with:
//activates the prettyphoto lightbox //$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});Remove browser cache then reload the page a few times.
Regards,
IsmaelHey!
What do you mean by switch order? You can arrange the order of the menu items on Appearance > Menus panel. Create a new menu then set it as Enfold Secondary Menu on Theme Locations option.
Best regards,
IsmaelHi akmhou!
Please use this on functions.php:
add_filter('avia_sidebar_menu_args', 'avia_sort_sidebar_pages',10, 2); function avia_sort_sidebar_pages($args, $post) { $args['sort_column'] = 'ID, post_title'; return $args; }Best regards,
IsmaelHey!
After you click the “Add Media” button, select the size of the image that you want to use on ATTACHMENT DISPLAY SETTINGS > Size.
Cheers!
IsmaelHey!
You can experiment with this css modification to increase the height of the slider images on mobile view.
@media only screen and (max-width: 767px) { .av_slideshow_full li img { border-radius: 0px; min-height: 200px; min-width: 500px; margin-left: -200px; } }Regards,
Ismael -
AuthorPosts
