[Resolved] customized header

Home Forums Support [Resolved] customized header

Home Forums Support customized header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #326986
    Guy

    Hi there.
    I need to be able to split the header into 2 sections – the logo on the right, and the rest on the left – meaning – 2 places for widgets and one fot the nav.
    I know css really good but I couldn’t really find a way to modify the header without overwriting the core files.
    I’m working with a child theme using your latesr version.
    I did put some code in the hook – After Header Content –

    But it still has ecerything inside the div -“inside-header”.
    Is there anyway I can change the order of divs? or create a wrapper around those parts that I need?
    I’m attaching the image of one I want to achieve –

    My header

    This is my url of the site.
    My web site
    Thanks!!!!
    Guy

    #326998
    Leo
    Staff
    Customer Support

    Hi there,

    You can try the generate_inside_navigation hook: https://docs.generatepress.com/article/generate_inside_navigation/

    Then use GP’s grid system. So something like this:

    add_action( 'generate_inside_navigation','lh_inside_navigation' );
    function lh_inside_navigation() {
    ?>
        <div class="grid-50 navigation-left">
            Your stuff in here
        </div>
      
        <div class="grid-50 navigation-right">
            Your stuff in here
        </div>
    <?php
    }

    Let me know if you need more info.

    #327015
    Guy

    Thank you so much for your quick reply!!!
    I think it’s working ๐Ÿ™‚
    I will let you know if I will encounter more issues there…
    Thanks!!!!
    Guy

    #327020
    Leo
    Staff
    Customer Support

    You’re welcome ๐Ÿ™‚

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