WordPress.org

Support

Support » Themes and Templates » [Resolved] Get header the same size that container

[Resolved] Get header the same size that container

  • Hi,
    I personally do not like when the width of the header is set to the full screen width, and prefer it will be the same width as the container.
    I have tweaked the child theme style.css with the following :

    @media (min-width:1200px){
    .tc-header{width:1200px;margin:auto}
    }
    @media (min-width:940px) and (max-width:1199px){
    .tc-header{width:940px;margin:auto}
    }

    No need to modify the width for other media sizes, since then container is fit to the screen width.
    Hope it helps

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Get header the same size that container’ is closed to new replies.