-
AuthorPosts
-
August 14, 2017 at 4:35 am #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,
JoshAugust 14, 2017 at 9:50 am #838502Hey 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,
RikardAugust 15, 2017 at 1:04 am #839028Thanks :)
- This reply was modified 7 years, 3 months ago by nwebster.
August 15, 2017 at 11:20 am #839192Hi,
Thanks but the login details are not working, could you check and verify please?
Best regards,
RikardAugust 16, 2017 at 2:44 am #839666Hey sorry, had issues with multiple accounts on one email, try this…
August 16, 2017 at 9:34 am #839792Hi,
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,
RikardAugust 18, 2017 at 3:47 am #840713hmmm 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,
JoshAugust 18, 2017 at 8:43 am #840789Hi 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,
RikardAugust 21, 2017 at 2:13 am #841810Hey 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,
JoshAugust 23, 2017 at 6:18 am #842871Hi,
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,
IsmaelAugust 23, 2017 at 6:31 am #842874Yes, but when I do a search for a post, or click on a category link, it uses the enfold template…
August 23, 2017 at 8:35 am #842913Hi,
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,
IsmaelAugust 24, 2017 at 1:28 am #843335Hey, It’s hosted on WordPress, so you just have to login with the account details I provided.
Cheers,
JoshAugust 24, 2017 at 1:44 pm #843480Hi,
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,
IsmaelAugust 25, 2017 at 3:12 am #843759Hey,
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, 2 months ago by nwebster.
August 26, 2017 at 6:00 am #844290Hi,
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,
IsmaelAugust 28, 2017 at 2:46 am #844607Hey,
How can I add the submenu to the Header.PHP.
Cheers,
JoshAugust 28, 2017 at 6:55 am #844684Hi,
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,
IsmaelAugust 29, 2017 at 2:11 am #845138Hey,
Sorry, how do I change the Themes Menu to use the same pages I made in the submenu?
Cheers,
JoshAugust 30, 2017 at 7:47 am #845654Hi,
Go to the Appearance > Menus panel, create a new menu then set it as “Enfold Main Menu” under the Theme Locations settings.
Best regards,
IsmaelAugust 31, 2017 at 2:44 am #846052Hey,
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, 2 months ago by nwebster.
August 31, 2017 at 5:51 pm #846423Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.