Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #590315

    Hi there,

    I’m sorry if this is in the forum, I couldn’t find it and the questions others had weren’t the same issue. I have created a layout for my post/blog page using the Avia builder but its not displaying on the front end. Please find links below.

    I’ve tried every possible setting in the back end….Please advise how to get this working properly. Thanks!

    #590336

    Hey!

    Go to Enfold > Blog Settings > Blog Layout and select “use the advanced layout builder to build your own blog layout”

    Best regards,
    Josue

    #593463

    Hi Josue,

    Thank you for the prompt response. Unfortuatnely, the Avia layout does not allow for a layout like yours. please see photos below:

    In both cases I have selected: Single Author, small preview pic (not author picture is displayed, feature image is small)

    Your blog layout, which is what I want, has a small photo to the LEFT of the article excerpt the only thing missing is the heading – http://trustjane.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-03-at-4.52.39-PM.png

    Using the advanced layout builder allows me to see the heading but no longer displays the blog as you have it – http://trustjane.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-03-at-4.52.36-PM.png

    Please advise. Thanks again!!

    #593817

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    add_filter('avia_layout_filter', function($layout_arr, $post_id) {
    	$layout_arr['current']['main'] = "custom";
    	return $layout_arr;
    }, 10, 2);
    

    Cheers!
    Josue

    #594033

    Hi Josue,

    Thanks for the code – I tried adding this yesterday on the functions.php file and the theme crashed, giving me an error. I had to log into my root files to remove it. To confirm I added it after this:

    /*
    * add option to edit elements via css class
    */
    // add_theme_support(‘avia_template_builder_custom_css’);

    Can you offer a solution where I can add it elsewhere? Or perhaps check the code for me please?
    Thank you so much!

    #594636

    Hi,

    Hand me an administrator account via private reply and i’ll add the code for you.

    Regards,
    Josue

    #594700

    Hi Josue,

    Thanks so much, I really appreciate it. Details below:

    Cheers,
    Amber

    #596169

    Hi!

    We added the code in the functions.php file, right below this line of code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;
    

    If possible, please create a child theme then relocate the code there: http://kriesi.at/documentation/enfold/using-a-child-theme/

    Regards,
    Ismael

    #596171

    Hey!

    UPDATE: Please ignore my post above. I thought you’re trying to activate the custom css class. We added @josue’s code at the very bottom of the functions.php file. Make sure that you copy the code directly from the forum, not from your email.

    Best regards,
    Ismael

    #596393

    Most excellent! That worked – thank you gentlemen! You may close this now :)

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Avia not active on Post/Blog Page’ is closed to new replies.