• Resolved pprzemyslaw

    (@pprzemyslaw)


    Hi. Genererally I need to modify header in my child theme and add few things (such as search box, few custom icons) to header to have them in the same section as logo, above the horizontal menu bar, next to logo. That means that I would like to insert some code into

    <header id="masthead" class="site-header" style="padding-bottom: 0px;" role="banner">

    or

    <div class="hgroup full-container "> element.

    How to do it and how to do that while running network sites using the same theme within the same wp installation? How to embed my code and where to paste it?

    Thanks for any help and answers.

    • This topic was modified 4 years, 6 months ago by pprzemyslaw.
    • This topic was modified 4 years, 6 months ago by pprzemyslaw.
Viewing 1 replies (of 1 total)
  • Hi, thanks for reaching out.

    You could create a unique child theme for each site required. Depending on the layout used you would create a “parts” folder in your child theme and copy masthead.php or masthead-logo-in-menu.php from your parent into the child theme, same path, and edit from there.

    You can find a starter child theme for Vantage here https://siteorigin.com/vantage-documentation/child-theme/.

Viewing 1 replies (of 1 total)
  • The topic ‘Modifying header’ is closed to new replies.