Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #281841

    Hi,
    I’ve modified the social toolbar to be displayed vertically, but can not get it to float at a fixed position ABOVE everything else in the page. tried high z-index with no luck. I guess the issue is where the action and filter are added to the content in functions.php:

    add_action('ava_after_content', 'avia_add_social_toolbar', 10, 2);
    function avia_add_social_toolbar($id = "", $context = "")
    {
    	if($context == "single-portfolio")
    		avia_social_share_links();
    }
    
    add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1);
    function avia_add_social_toolbar_template_builder($content = "")
    {
    	//if(is_singular('portfolio')) {
    	$content .= avia_social_share_links(array(), false);
    	$content .= '<div style="height:1px; margin-top:50px;" class="hr"></div>';
    	//}
    	return $content;
    }

    Would appreciate any help.

    Thanks

    #281853

    Hey!

    Try adding this code to the Quick CSS:

    .container_wrap {
        z-index: 10;
    }

    Cheers! 
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.