Header image outside container

  • abellerby

    #51687

    Hi,

    Is there a reason for the header image being outside the header container? I have just changed the layout of one of my websites from boxed to full width boxed at my customer’s request and the header image now displays outside the container. I have created a new version of header.php and added it to my child site so the layout is as requested but am a bit nervous about changing such a big chunk of code in case it is changed by updates in the future.

    The ‘header image’ is not full width as it is a logo and is right aligned. I have changed the php so the output is:

              <div id="header" class="row">
                   <div class="container container-full-width-boxed">
                         <img src="https://reedings.herts.sch.uk/wp-content/uploads/2020/09/new-logo-trans1-e1600252919251.png" />
                        <div class="header-widget"> ...
    

    instead of

              <div id="header" class="row">
                   <img src="https://reedings.herts.sch.uk/wp-content/uploads/2020/09/new-logo-trans1-e1600252919251.png" />
                   <div class="container container-full-width-boxed">
                         <div class="header-widget"> ...
    

Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum