Forum Replies Created
-
AuthorPosts
-
Hey!
Thank you for using Enfold.
Add this in the functions.php file:
// fix sidebar current menu add_action('wp_footer', 'wp_footer_mod'); function wp_footer_mod(){ ?> <script> (function($){ $('#top .widget_nav_menu li').on('click', function(event) { $('#top .widget_nav_menu li').each(function() { $(this).removeClass('current-menu-item'); }); $(this).addClass('current-menu-item'); }); })(jQuery); </script> <?php }
then use this in the Quick CSS field to change the current menu item color:
#top .widget_nav_menu li.current-menu-item a { color: red; }
Best regards,
IsmaelHey!
Did you adjust the css code? Please add it again then add the css modifications:
#header .widget { left: 50%; padding-top: 0; position: absolute; top: 0; transform: translate(-50%); }
Adjust the top and left position properties.
Cheers!
IsmaelHi!
You can change the background of the grid content with this:
.main_color .grid-content { background-color: brown; }
Again, you can modify the portfolio.php file for additional changes. I haven’t tested this personally but I think this function will help:
https://codex.wordpress.org/Function_Reference/get_attached_mediaCheers!
IsmaelHi Boulanger!
Thank you for using Enfold.
Please add this in the functions.php file to set the “$same_category” option to true:
add_filter('avia_post_nav_settings','avia_same_category_filter', 10, 1); function avia_same_category_filter($settings) { $settings['same_category'] = true; return $settings; }
Remove browser cache then reload the page.
Best regards,
IsmaelHi!
You can set the page’s Template to Blank, no header | no footer. Use the advance layout builder to build the content. If you want to set the page as front page while you’re working on the site, just go to Enfold > Theme Options > Frontpage Settings.
Best regards,
IsmaelOctober 5, 2015 at 11:50 am in reply to: Enfold Avia Editor Stuck in Endless Loop – Second Time Trying to Get Support #513637Hi!
I was able to edit the page now managed to remove the sidebar on the page via Layout > Sidebar Settings. You can check it here: http://firstmarksolutions.com/services/finra-rule-3120-testing/
Are you still experiencing the lag issues? I tried to add a special heading element on the test page and it works fine, no lags or script errors.
Cheers!
IsmaelHi C-LabMX!
Thank you for using Enfold.
You can try this in the functions.php file:
remove_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_before_shop_loop', 1); remove_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_frontend_search_params', 20); add_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_before_shop_loop_mod', 1); function avia_woocommerce_before_shop_loop_mod() { global $avia_config; if(isset($avia_config['dynamic_template'])) return; $markup = avia_markup_helper(array('context' => 'content','echo'=>false,'post_type'=>'products')); echo "<main class='template-shop content ".avia_layout_class( 'content' , false)." units' $markup><div class='entry-content-wrapper'>"; do_action('prdctfltr_output'); /* This is the part you should add to initiate the Product Filter in your Enfold template */ }
Cheers!
IsmaelHi!
You can start by adding a custom link between “Archiv” and “Novinky”. Keep it blank. Go to the Screen Options then enable the CSS Classes field. Add a unique css class to the new menu item, use “menu-blank” for example. Add this in the Quick CSS field:
.menu-blank { width: 400px; }
This will create a space between the menu items above. The only thing left to do is to remove the menu borders then offset the position of the menu container.
Cheers!
IsmaelHey!
You can actually modify the crop positioning area of the thumbnails, just add something like this in the functions.php file:
function ava_image_sizes() { add_image_size('shop_catalog', 450, 450, array('center', 'top')); add_image_size('shop_thumbnail', 120, 120, array('center', 'top')); add_image_size('shop_single', 450, 450, array('center', 'top')); } add_action( 'after_setup_theme', 'ava_image_sizes', 11 );
This will crop the images from top to center instead of cropping the edges which usually cuts off important part of the images (like “head” etc). Refresh the page then use this plugin to regenerate the thumbnails: https://wordpress.org/plugins/force-regenerate-thumbnails/
This might not work for all images with different aspect ratios so, still, best solution is to pre-crop the thumbnails before uploading them as product image.
Best regards,
IsmaelHey!
I think it’s better if you add the login details here. We will add it for you and we’ll investigate the “read more” link issue.
Best regards,
IsmaelHey!
Please try the solution provided above to fix the menu icon.
Could you please provide a link to the page? Are you trying to translate one of the menu items?
Best regards,
IsmaelHi!
Try to adjust the code:
@media only screen and (max-width: 767px) { .responsive .logo a { top: -30px; } .responsive .logo { width: 200px; } .custom_content { position: absolute; left: 35px; top: 40px; width: 100px; } }
It will position the custom content below the honda logo. Adjust the values if necessary. For smaller screens, use this css media query:
@media only screen and (max-width: 480px) { // STYLE HERE }
Best regards,
IsmaelHey!
I can’t access the site so I created a test page on my end. Set the portfolio grid to 6 columns and it looks OK on firefox. Try to add this in the Quick CSS field:
.avia-mozilla #top .no_margin.av_one_sixth { width: 16%; }
If it doesn’t work, adjust the width value:
.avia-mozilla #top .no_margin.av_one_sixth { width: 15%; }
Cheers!
IsmaelOctober 5, 2015 at 6:35 am in reply to: Where to find blog files to edit template and also add widgets if possible #513490Hey!
Thank you for the info. Adjust the Blog Style under Blog Layout panel. Set it to “Use the advance layout builder..” option. You can now build the content of the blog in the advance layout builder. Make sure to include the Blog Posts element.
Cheers!
IsmaelOctober 5, 2015 at 6:33 am in reply to: Slider Images Look Stretched and Weird When Putting In Percentages #513489Hey!
Regarding this screenshot: http://snag.gy/iikGZ.jpg
Adjust the top position of the layer and set the height to auto: http://snag.gy/ggzPg.jpg
Best regards,
IsmaelHi!
Use imgur or dropbox in order to provide a screenshot. Try to replace the code with this:
@media only screen and (min-width: 1000px) { html, body, #wrap_all{ overflow: visible !important; } .hotspot-container { min-width: 1000px; } }
Regards,
IsmaelHey!
Add a negative top margin value:
#av_section_1 { margin-top: -300px; }
Please use the Section ID field of the color section element.
Regards,
IsmaelHey Ivana!
Thank you for using Enfold.
1.) This is possible but you have to modify the js > shortcodes.js file. Look for this code around 4627:
// public method: shows next image next : function(e) { e.preventDefault(); this._stopSlideshow(); this._navigate( 'next' ); }, // public method: shows previous image previous : function(e) { e.preventDefault(); this._stopSlideshow(); this._navigate( 'prev' ); },
.. replace it with:
// public method: shows next image next : function(e) { e.preventDefault(); this._stopSlideshow(); this._navigate( 'next' ); this.play(); }, // public method: shows previous image previous : function(e) { e.preventDefault(); this._stopSlideshow(); this._navigate( 'prev' ); this.play(); },
2.) Add this in the Quick CSS field:
.avia-content-slider .slide-entry { width: 24%; margin-left: 1%; } .slide-meta-comments, .slide-meta-comments + * { display: none !important; }
Regards,
IsmaelHey Khalid!
Thank you for using Enfold.
Edit the google map element then adjust the “Zoom Level” settings. Add this in the Quick CSS field to remove the border:
#header_main { border-top: 0; }
Regards,
IsmaelOctober 5, 2015 at 6:00 am in reply to: Textbearbeitung in Advanced Layout Designer unmöglich #513478Hi!
The script is gone in the header but is now loaded from another file.
parent.processForm('&ftpAction=openFolder');
Please try to deactivate all plugins then test it again. What is the current php version? Please ask your hosting provider for the php info page.
Best regards,
IsmaelHi!
Thank you for the update. Go to Enfold > Theme Options. Select the “blog-temp” page as blog on Where do you want to display blog? option.
Best regards,
IsmaelHey!
I don’t see anything unusual when I edited the portfolio item. Please try to permanently delete the post then recreate it from scratch.
Best regards,
IsmaelHi!
The login credentials are not working again: https://kriesi.at/support/topic/facebook-share-problem/#post-510757
Please don’t remove it until we fix the issue. Thank you.
Regards,
IsmaelHey simonac!
Thank you for using Enfold.
1.) Try to resize the arrow with this in the Quick CSS field:
@media only screen and (max-width: 767px) { #top .avia-slideshow-arrows a { height: 30px; line-height: 12px; font-size: 12px; text-indent: -600%; } #top .av-control-minimal .avia-slideshow-arrows a:before { line-height: 30px; } }
2.) Add this inside the media query above:
#top .avia-logo-element-container .slide-entry { width: 33%; }
3.) Add something like this in the slider caption:
<div id="team_mobile"></div>
Cheers!
IsmaelHey!
Please provide a screenshot so we can better understand what you’re after. Use imgur or dropbox.
Regards,
IsmaelHi!
I’m sorry, unfortunately, that’s not possible. You will have to install the font manually. Please visit their documentation page. Applying a unique name for each zip file will prevent the font icons from overriding the previous set.
Regards,
IsmaelHi!
It’s not showing on desktop either. How did you install font awesome?
Best regards,
IsmaelHey!
You should add the code on functions.php, not functions-enfold.php.
add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2); function avia_change_post_layout($layout, $post_id){ if(is_tax('portfolio_entries') || is_tag()) { $layout['current'] = $layout["fullsize"]; $layout['current']['main'] = "fullsize"; } return $layout; }
Regarding the ready more issue, did you add any filters other than one we recommended above?
Cheers!
IsmaelHi amirhossein!
Thank you for using Enfold.
Follow the solution provided here: https://kriesi.at/support/topic/portfolio-grid-default-category/#post-428680
In your case, the .categoryname_sort_button could be replace with graphic_sort_button.
Regards,
Ismael -
AuthorPosts