Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #378582

    http://www.diefleischerei.at/business/2014/12/21/die-gruenen-tullnerbach/

    How can i make the Blog size (Images and text) 1036px wide? so the blog have the same width like the portfolio pages http://www.diefleischerei.at/business/portfolio-item/mag-weber-bundessozialamt/

    #379112

    Hi diefleischerei!

    I viewed your link but your images were already taking up the full width of the page. Did you get this sorted?

    If your still having trouble then take a screenshot and highlight what your trying to do so we can get a better idea.

    Best regards,
    Elliott

    #379167

    Works fine. Thanks you!!!! http://www.diefleischerei.at/business/2014/12/21/die-gruenen-tullnerbach/

    there is only the problem that i cannot see the social media sharebuttons at the end of the side.

    i use this code at the funtions.php:

    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;
    }

    add_filter(‘avf_builder_boxes’, ‘add_builder_to_posttype’);

    function add_builder_to_posttype($metabox)
    {
    foreach($metabox as &$meta)
    {
    if($meta[‘id’] == ‘avia_builder’ || $meta[‘id’] == ‘layout’)
    {
    $meta[‘page’][] = ‘post’; /*instead add the name of the custom post type here*/
    }
    }

    return $metabox;
    }

    #379327

    Hi!

    Try to replace this code:

    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;
    }

    With this:

    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('post')) {
        $content .= avia_social_share_links(array(), false);
    	$content .= '<div style="height:1px; margin-top:50px;" class="hr"></div>';
    	}
    	return $content;
    }

    Best regards,
    Ismael

    #379352

    http://www.diefleischerei.at/business/portfolio-item/die-gruenen-wahl-portraits/

    now i have no sharing social media icons at the portfolios :(

    #379396
    This reply has been marked as private.
    #379400

    i have deleted the functons.php file from the enfold-child directory cause the website doesn`t work anymore!

    #381651

    Hey!

    Since we are working on social sharing on this topic – https://kriesi.at/support/topic/portfolio-anpassen/
    i am marking this one as resolved. If you have any other questions or issues, please feel free to start a new topic.

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Blog Size’ is closed to new replies.