Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #838424

    Hey,
    I’ve created a Blog Post Page with my header slider and menu bar and added the blog post element onto it and set the Enfold – Theme Options – “And where do you want to display the blog” to that page, and also set the Enfold – Blog Layout – “Use the advance layout editor to build your own blog”. When I open up the blog page on my website, it displays as expected with my header slideshow, menu and my blog posts, but when I click on a post to open it up, it opens in a default Enfold page. How can I set the individual post page to the same layout as my Blog page with my slideshow and menu?
    Blog Page : https://mspclism.com/blog/
    Individual Post Page : https://mspclism.com/2017/08/14/newsletter/

    Cheers,
    Josh

    #838502

    Hey Josh,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #839028

    Thanks :)

    • This reply was modified 7 years, 4 months ago by nwebster.
    #839192

    Hi,

    Thanks but the login details are not working, could you check and verify please?

    Best regards,
    Rikard

    #839666

    Hey sorry, had issues with multiple accounts on one email, try this…

    #839792

    Hi,

    Thanks for that, those details are working. I can see what you have done now, if you want to keep on using the method of hiding the regular header and so on, then you would have use the Layout Builder to create that layout for each post to get the same look. Otherwise you would likely need to edit your header.php file instead, I’m not sure if you are comfortable with modifications like that though?

    Best regards,
    Rikard

    #840713

    hmmm ok, could I have some guidance with editing the header.php? Even if i don’t get to put the slideshow on the post pages, can i display a simple banner and the menu? How would I go about achieving this.
    Cheers,
    Josh

    #840789

    Hi Josh,

    If you want a custom header then you can copy header.php from your parent theme, to the child. Then you can make the edits in the child theme’s header.php file, it will override the parent then.

    Best regards,
    Rikard

    #841810

    Hey Rikard,
    I’ve only started using WordPress these past few weeks and could really use some step-by-step guidance on achieving this please.
    Thanks,
    Josh

    #842871

    Hi,

    It looks like you managed to apply the custom header to the single post page. Please make use of the theme’s “Templates” feature so that you don’t have to re-create the default layout on every page.

    Best regards,
    Ismael

    #842874

    Yes, but when I do a search for a post, or click on a category link, it uses the enfold template…

    #842913

    Hi,

    Ah yes. Please post the FTP details here so that we can modify the header.php file. We’ll add the color section directly above the header so that you don’t have to add it on every page.

    Best regards,
    Ismael

    #843335

    Hey, It’s hosted on WordPress, so you just have to login with the account details I provided.
    Cheers,
    Josh

    #843480

    Hi,

    Yes, but we won’t be able to override the header.php file in the child theme or revert the file back in case we committed an error to the site. Please edit the header.php file, look for this code around line 58:

    if("av-preloader-active av-preloader-enabled" === $preloader)
    	{
    		echo avia_preload_screen();
    	}
    

    Below, add the revolution slider shortcode.

    echo do_shortcode('[rev_slider alias="home-slider-josh"]');
    

    Best regards,
    Ismael

    #843759

    Hey,
    Now I have a duplicated header on my home page and on the category pages I still have the Enfold logo and menu.

    https://mspclism.com/category/general_news/
    How can I fix these issues…

    HEADER.PHP

    <?php
    	if ( !defined('ABSPATH') ){ die(); }
    	
    	global $avia_config;
    
    	$style 					= $avia_config['box_class'];
    	$responsive				= avia_get_option('responsive_active') != "disabled" ? "responsive" : "fixed_layout";
    	$blank 					= isset($avia_config['template']) ? $avia_config['template'] : "";	
    	$av_lightbox			= avia_get_option('lightbox_active') != "disabled" ? 'av-default-lightbox' : 'av-custom-lightbox';
    	$preloader				= avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled';
    	$sidebar_styling 		= avia_get_option('sidebar_styling');
    	$filterable_classes 	= avia_header_class_filter( avia_header_class_string() );
    	$av_classes_manually	= "av-no-preview"; /*required for live previews*/
    	$av_classes_manually   .= avia_is_burger_menu() ? " html_burger_menu_active" : " html_text_menu_active";
    	
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?> class="<?php echo "html_{$style} ".$responsive." ".$preloader." ".$av_lightbox." ".$filterable_classes." ".$av_classes_manually ?> ">
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <?php
    /*
     * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives
     * located in framework/php/function-set-avia-frontend.php
     */
     if (function_exists('avia_set_follow')) { echo avia_set_follow(); }
    
    ?>
    
    <!-- mobile setting -->
    <?php
    
    if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';
    ?>
    
    <!-- Scripts/CSS and wp_head hook -->
    <?php
    /* Always have wp_head() just before the closing </head>
     * tag of your theme, or you will break many plugins, which
     * generally use this hook to add elements to <head> such
     * as styles, scripts, and meta tags.
     */
    
    wp_head();
    
    ?>
    
    </head>
    
    <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank." ".$sidebar_styling); avia_markup_helper(array('context' => 'body')); ?>>
    
    	<?php 
    		
    	if("av-preloader-active av-preloader-enabled" === $preloader)
    	{
    		echo avia_preload_screen(); 
    	}
    	echo do_shortcode('[rev_slider alias="home-slider-josh"]');
    	?>
    
    	<div id='wrap_all'>
    
    	<?php 
    	if(!$blank) //blank templates dont display header nor footer
    	{ 
    		 //fetch the template file that holds the main menu, located in includes/helper-menu-main.php
             get_template_part( 'includes/helper', 'main-menu' );
    
    	} ?>
    		
    	<div id='main' class='all_colors' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'>
    
    	<?php 
    		
    		if(isset($avia_config['temp_logo_container'])) echo $avia_config['temp_logo_container'];
    		do_action('ava_after_main_container'); 
    		
    	?>
    

    Cheers,
    Josh

    • This reply was modified 7 years, 3 months ago by nwebster.
    #844290

    Hi,

    Now I have a duplicated header on my home page and on the category pages I still have the Enfold logo and menu.

    Did you remove the revolution slider and the sub menu from the advance layout builder? Use the theme’s actual header after adding the header.php file modification.

    Best regards,
    Ismael

    #844607

    Hey,
    How can I add the submenu to the Header.PHP.
    Cheers,
    Josh

    #844684

    Hi,

    How can I add the submenu to the Header.PHP.

    Please use the theme’s header or menu options instead of the sub menu.

    Best regards,
    Ismael

    #845138

    Hey,
    Sorry, how do I change the Themes Menu to use the same pages I made in the submenu?
    Cheers,
    Josh

    #845654

    Hi,

    Go to the Appearance > Menus panel, create a new menu then set it as “Enfold Main Menu” under the Theme Locations settings.

    Best regards,
    Ismael

    #846052

    Hey,
    I solved it! Thankyou :) How can I remove the space where the logo would be above the menu?
    https://mspclism.com/?s=hello
    Cheers,
    Josh

    • This reply was modified 7 years, 3 months ago by nwebster.
    #846423

    Hi Josh,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top #header_main > .container.av-logo-container {
      height:0px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

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