Forum Replies Created
-
AuthorPosts
-
Hey!
Give us a link to the actual post. This is how you can get the correct post or page id: http://kb.oboxthemes.com/articles/how-to-get-css-styles-for-elements/
Cheers!
IsmaelHi oestergaardn!
Thank you for using Enfold.
Yes, they will be overwritten when you update the theme. You can use software suggested on the previous thread to translate the strings or text.
Best regards,
IsmaelHi!
You can decrease the size of the button to prevent it from covering the slider navigation:
@media only screen and (max-width: 989px) { #top .avia-slideshow-button { top: -10px; font-size: 11px; padding: 5px 10px; }}
Cheers!
IsmaelHey!
Please try this:
.slide-entry img { image-rendering: auto !important; }
Regards,
IsmaelHi!
That is a product page or item. Create a page then add the product specific shortcodes.
Regards,
IsmaelHi!
My bad. I think I know now why it’s not working. There are multiple files in the shortcodes folder with the “av_events_countdown” shortcode name so even though we renamed the original file, it’s still being use instead of the new file. It is now showing the variable values when I use the var_dump function.
Best regards,
IsmaelHi!
Is this sorted out? I checked the site on Chrome and it’s loading without errors.
Regards,
IsmaelHi!
You add this in the functions.php file if you want to remove the last item in the breadcrumb:
add_filter( 'avia_breadcrumbs_trail', 'mmx_remove_element_from_trail', 50, 2 ); function mmx_remove_element_from_trail( $trail, $args ) { if ( is_singular('product') ) { unset($trail['trail_end']); } return $trail; }
If it doesn’t work, try this:
add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 ); function avia_breadcrumbs_trail_mod( $trail, $args ) { if ( is_singular('product') ) { array_pop($trail); } return $trail; }
Cheers!
IsmaelHey!
The cloned element should inherit all properties from the parent element but when you edit the initial or parent element again, the cloned element should not inherit the parent’s new properties. I haven’t tested css hero personally with enfold so I’m not sure if it is fully compatible with the advance layout builder.
Regards,
IsmaelHey!
You can decrease the logo size with this:
@media only screen and (max-width: 480px) { #header .widget div a img { width: 35%; }}
Remove browser cache then reload the page.
Cheers!
IsmaelHi!
Thank you for using Enfold.
There are specific plugin shortcodes that you can only use on a specific post type. Unfortunately, you can’t enable them on other post types. An example is the “Product Purchase Button” element. You can only use this element on a product item.
Cheers!
IsmaelHi frankeee!
Thank you for using Enfold.
Which inline css are you referring to? The theme generates the style in an external stylesheet located in the wp-content > uploads > dynamic_avia folder.
Regards,
IsmaelHi frankeee!
Thank you for using Enfold.
Which browser are you using when you test this? I tested it on Chrome and Firefox, Windows 7 and the icon shows up every time I refresh the page.
Regards,
IsmaelHey!
You can add this in the Quick CSS field:
@media only screen and (max-width: 770px) { .avia-testimonial-image { margin: 0; width: 100%; float: none; text-align: center; margin-bottom: 15px; height: auto; max-width: 80%; } .avia-testimonial-meta { margin-left: 0; } }
Regards,
IsmaelHey!
I think it’s working now. Did you fix it? I was able to upload an image. http://www.nutritional-insight.co.uk/wp-admin/post.php?post=477&action=edit
Cheers!
IsmaelHey!
There are no errors generated so it’s a bit difficult to debug the issue. What happens when you use the default google maps element in the advance layout builder?
Cheers!
IsmaelHi!
You can replace the code with this:
.cart_dropdown { right: -50px; } .html_visible_cart .cart_dropdown { right: 200px; top: 2px; } #header_main {z-index: 10;}
Adjust the values if necessary.
Best regards,
IsmaelJuly 25, 2015 at 6:44 am in reply to: Adding Search Icon or Search Menu Item to Mobil 'Hamburger' Menu #478564Hi Switzer!
Thank you for using Enfold.
You can try this in the functions.php file:
add_filter( 'ava_main_header', 'avia_append_search_nav_mod', 10); function avia_append_search_nav_mod() { ob_start(); get_search_form(); $form = htmlspecialchars(ob_get_clean()) ; $items = '<div id="menu-item-search-mod" class="menu-item-search-mod 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> </div>'; echo $items; }
Add this in the Quick CSS field:
#menu-item-search-mod { display: block; position: absolute; right: 30%; top: 30%; z-index: 1000; } @media only screen and (min-width: 768px) { /* Add your Desktop Styles here */ #menu-item-search-mod { display: none; } }
Regards,
IsmaelJuly 25, 2015 at 6:35 am in reply to: Woocommerce Category page -> Changing category description on ful width banner #478556Hi Haybazak!
Thank you for using Enfold.
I’m sorry but the inquiry is a bit unclear. What do you want to change with the category banner?
Cheers!
IsmaelHi!
This is the media query line:
@media only screen and (max-device-width: 1024px) { }
Please replace the code with this:
@media only screen and (max-width: 1024px) { .main_color .av-inner-masonry-content { font-size: 12px; padding: 6px; } figcaption.av-inner-masonry-content.site-background { display: none; } }
Cheers!
IsmaelHi!
Thank you for the info. Did you install the WP Rocket plugin? This plugin is incompatible with layer slider so you might have to disable it.
Regards,
IsmaelJuly 25, 2015 at 6:19 am in reply to: Adding search bar to header – can't find enfold/includes folder #478549Hi!
1.) Add this in the Quick CSS field:
.custom-form { background-color: #fff; }
2.) Use this to increase the width:
#top #searchform>div { position: relative; max-width: 800px; width: 500px; }
Regards,
IsmaelHi!
If I am not mistaken, you can use shortcodes or generate html code in order to add the buttons. Try to edit the includes > loop-index.php file then look for this code on line 200:
echo $content;
Add the addThis code or shortcode below.
Best regards,
IsmaelHi!
You can turn no the custom css class field then add a custom class attribute to the blog post element. Remove the bottom margin.
.avia-content-slider { margin: 0; }
You can replace the selector above with the custom css class attribute that you defined.
http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Cheers!
IsmaelHey!
You can only find the avia_sc_events_countdown class in that specific file, nowhere else. The code means that if the “avia_sc_events_countdown” class exists or defined somewhere else, don’t define it but since it is not defined somewhere else other than this specific file, continue or define it. Like I said, the same exact code of line is working on my installation as you can see on the screenshot. I test it again on the new temp page but it’s not working. Please hire a freelance developer to help us and see what’s going on with it.
Cheers!
IsmaelHey!
Thank you for using Enfold.
They will both display by default. If you want to only display the upsells section if it’s available, use this in the functions.php file:
# # display upsells and related products within dedicated div with different column and number of products # remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products', 10); add_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products_mod', 20); function avia_woocommerce_output_related_products_mod($items = false, $columns = false) { global $avia_config; $output = ""; if(!$items) $items = $avia_config['shop_single_column_items']; if(!$columns) $columns = $avia_config['shop_single_column']; ob_start(); woocommerce_related_products(array('posts_per_page'=>$items, 'columns'=>$columns)); // X products, X columns $content = ob_get_clean(); if($content && $avia_config['upsells'] == '') { $output .= "<div class='product_column product_column_".$columns."'>"; //$output .= "<h3>".(__('Related Products', 'avia_framework'))."</h3>"; $output .= $content; $output .= "</div>"; } $avia_config['woo_related'] = $output; return $output; } remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_upsells', 10); add_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_upsells_mod', 21); function avia_woocommerce_output_upsells_mod($items = false, $columns = false) { global $avia_config; $output = ""; if(!$items) $items = $avia_config['shop_single_column_items']; if(!$columns) $columns = $avia_config['shop_single_column']; ob_start(); woocommerce_upsell_display($items,$columns); // 4 products, 4 columns $content = ob_get_clean(); if($content && $avia_config['woo_related'] == '') { $output .= "<div class='product_column product_column_".$columns."'>"; //$output .= "<h3>".(__('You may also like', 'avia_framework'))."</h3>"; $output .= $content; $output .= "</div>"; } $avia_config['woo_upsells'] = $output; return $output; }
Best regards,
IsmaelHi!
Please ask the plugin author how they hook their plugin to render the plugin’s tools on posts. They don’t necessarily need to classify if it’s a post or a page. Plugins usually use javascripts, action and filter hooks in order to append codes or scripts on different parts of the page.
http://codex.wordpress.org/Plugin_API/Filter_Reference
http://codex.wordpress.org/Plugin_API/Action_ReferenceRegards,
IsmaelHey!
You can use this in the Quick CSS field:
.comment-count { display: none; }
Cheers!
IsmaelHey!
I think you didn’t install WordPress correctly. The best thing to do is to contact your hosting provider to help you setup your WordPress installation. We can then install the theme after.
Cheers!
IsmaelHi sublime5o!
Thank you for using Enfold.
You can follow the instructions here: http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Regards,
Ismael -
AuthorPosts