Forum Replies Created
-
AuthorPosts
-
Hey guys,
No one got any ideas?
Hi, i have installed an older version 1.8.22 and works fine.
So some kinda of compatibility issues with latest enfold and latest gravity forms.
Could you advise once fixed so i can update to latest Gravity Forms.
Thanks
BenHi,
Yes it works fine with the default themes, just with Enfold enabled.
Any ideas?
Thanks
BenHi Yigit,
Better way than that, just removed the negative 50px margin on the bottom of .av-share.box, well overwritten it custom.css and remvoed my div, keep the theme updatable.
Hi Yigit,
No need for you guys to fix something that is basic CSS for me, or just some slight editing.
I modified the helper-social-media.php file and added:
$this->html .=”<div style=’clear:both;height:40px’> </div>'”;
on line 236 (well added a class to the div, as little inline styling as possible and all that jazz), it just needed a clearing div to bound the box out, as for some reason the footer was swallowing up the bottom half of the share pod, and i already had edited the file to re-order the social share icons anyway.
Cheers mate, can you mark this as closed.
Hi Yigit,
I managed to stop being a lazy bugger and found another example you had somewhere with $context, so changed the statment in there to be:
add_filter(‘avf_template_builder_content’, ‘avia_add_social_toolbar_template_builder’, 10, 1);
function avia_add_social_toolbar_template_builder($content = “”)
{
if(has_category())$content .= avia_social_share_links(array(), false);
$content .= ”;
return $content;
}So that it picks up if the current post has a category assigned to it then publish the social share, now just to deal with a spacing issue.
Hi Yigit,
If i was looking to implement:
add_filter(‘avf_template_builder_content’, ‘avia_add_social_toolbar_template_builder’, 10, 1);
function avia_add_social_toolbar_template_builder($content = “”)
{
$content .= avia_social_share_links(array(), false);
$content .= ”;
return $content;
}With a conditional like if post type is standard , which outputs the following CSS: class=”single-format-standard” how would i code that up, it has been a while since i did conditionals in WP.
The reason for this, is that i want to target only blog posts, which obviously in changing to code to give it the layout edit, strips certain aspects away, so i need to identify only single blog posts, which will always be standard format. So need to know how i out the conditionals into the above function.
thanks for you direction.
meh dont worry about it, just set uber gri to use pretty photo overlay, and is working, rather than the default config.
Cheers,
Kenn
Hello Ismael,
When i use the default wordpress theme, it works, so there must be something in this version of the theme, as i am using the same plugin on version 2.1 of Enfold, and it works fine, so i am confused, i would hope i can get some support with this, there are multiple plugins which work with 2.1 but not with 3.0.4, all issues are relating to modal or lightbox overlay content.
Also, the .map file you mentioned does not exist in the themeforest download file for ubergrid, they only none default CSS file is a sass file.
Thanks,
Kenn
Hi Josue,
Following on from previous, I commented out line 1340 in shortcodes.js
// $(‘html:not(:animated),body:not(:animated)’).animate({ scrollTop: target_offset }, options.timing, options.easing);
This works. Can you advise if this is the correct way to do it ? If not any other recommendations ?
Thanks
BenHi Josue,
Great that worked, many thanks.
Is it also possible to stop the page auto-scrolling to the top of the ajax-portfolio on load.
See http://www.shflooring.co.uk/haro-laminate-flooring
Thanks
BenHi Josue,
I am trying to do the same thing.
On Page Load show the First Portfolio Item OPEN with the Ajax Portfolio.
The Page is http://www.shflooring.co.uk/haro-laminate-flooring
I added:
jQuery(function() {
jQuery(“a[data-rel=’grid-1′]”).first().trigger(“click”)
});to the page enfold/js/avia.js
However it still doesn’t work.
Any ideas ?
Thanks
BenI know i can do an AJAX call on page load but don’t know the function to call
-
AuthorPosts