Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #299924

    I would like to create a custom header area for the Blog page, archives and posts that’s different from the homepage and regular pages. I’ve already created a child theme and am ready to dive into the header.php file if you can help me with some clues :)

    Current homepage header:
    Homepage Header

    Future Blog page header:
    Blog Page Header

    #300048

    Hey Jagrav!

    Thank you for using the theme.

    Are you referring to the tagline part? Please use this on functions.php:

    add_action('ava_main_header', 'ava_add');
    
    function ava_add() {
    	echo "<div class='tagline'>TAGLINE: HERE</div>";
    }

    Adjust the position of the tagline container with this:

    div#header_main .tagline {
    position: absolute;
    right: 60%;
    top: 30px;
    }

    Regards,
    Ismael

    #300461

    Thank you Ismael for the tagline information – that’s part of it.

    Also, if you look at the 2 header images above, you’ll see that they are slightly different layouts. I’m wanting the blog, archive pages, posts to have the layout of the 2nd image, while the homepage and pages have the layout of the 1st image. In other words, can I have 2 different headers in one website? I’d appreciate a hint about how to go about this :)

    #301140

    Hi!

    I’m sorry but it’s not possible without major modification, you can start with header.php and includes > helper-main-menu.php. This particular task falls beyond the scope of support so we won’t be able to help you with it. Please hire a freelance developer to do it for you. Visit Envato Studio or Werkpress for further customization. You can also vote or post the feature on our Feature Requests page.

    Cheers!
    Ismael

    #301250

    Thanks for the clues Ismael :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Custom Header for blog page and posts’ is closed to new replies.