Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #717871


    I have an issue with the page below. :

    I want the header on the calendar page above to be the same as the post below:

    which has the header on a white background stretching right across the screen.

    Whereas the title on the calendar is on a gray background.

    Grateful for any help.



    Hey Tarakbc,

    I changed following code in Quick CSS field from

    .single-calendar .title_container {
      display:none !important;


    .single-calendar .entry-content-header {
        display: none;

    Then i added following code to functions.php file

    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'][] = 'calendar'; /*instead add the name of the custom post type here*/
    	return $metabox;
    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
        if ( $args['title'] == 'Blog - Latest News' )
            $args['title'] = get_the_title($id);
            $args['link'] = get_permalink($id);
            $args['heading'] = 'h1';
        return $args;

    Please review your website now.

    Best regards,


    Great job! That solved it. Many thanks for your help :)




    You are welcome! :)

    For your information, you can take a look at Enfold documentation here –
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here –
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)


Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Problem with title of calendar blog post (2)’ is closed to new replies.