-
AuthorPosts
-
January 13, 2015 at 12:20 am #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/
January 13, 2015 at 8:55 pm #379112Hi 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,
ElliottJanuary 13, 2015 at 11:01 pm #379167Works 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;
}January 14, 2015 at 9:12 am #379327Hi!
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,
IsmaelJanuary 14, 2015 at 10:41 am #379352http://www.diefleischerei.at/business/portfolio-item/die-gruenen-wahl-portraits/
now i have no sharing social media icons at the portfolios :(
January 14, 2015 at 1:35 pm #379396This reply has been marked as private.January 14, 2015 at 1:48 pm #379400i have deleted the functons.php file from the enfold-child directory cause the website doesn`t work anymore!
January 19, 2015 at 11:40 am #381651Hey!
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 -
AuthorPosts
- The topic ‘Blog Size’ is closed to new replies.