DevDmBootstrap3

Twitter Bootstrap 3 WordPress Starter Theme for Developers

Home Community Tips and Tricks Full width responsive image header

This topic contains 3 replies, has 2 voices, and was last updated by  GGG 3 years, 12 months ago.

  • Author
    Posts
  • #307

    danny
    Keymaster

    Michael recently posted in a comment that he had a logo image he wanted to span the full width of the page and be responsive. Now, there are a TON of different ways to go about this.

    The most direct and easiest approach to this would be to duplicate the template-part-head.php file into your child theme and modify it to look like the code below.

    Now there are a few questions and tweaks here that could be proposed:

    “What happened to the blog title and tagline?” Well they are gone but they could be added back.
    “Inline styling? You are a monster!” I know but we wanted a quick solution here for the non-programmy type.

    • This topic was modified 4 years, 1 month ago by  danny.
  • #309

    GGG
    Participant

    Brilliant, I trust you then delete the other template-part-head.php from file?

  • #311

    danny
    Keymaster

    You will want to replace this template-part-head.php only in your child theme. WordPress will automatically use the child theme version of the file over the main template. No need to delete anything from the parent theme.

  • #366

    GGG
    Participant

    It worked a treat,http://geckografix.guru/blog/ many thanks

You must be logged in to reply to this topic.