[Resolved] Make a Header Element Same Width as Content

Home Forums Support [Resolved] Make a Header Element Same Width as Content

Home Forums Support Make a Header Element Same Width as Content

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1238182
    Martin

    This is probably a super easy question but I can’t see how to do it.

    I want to make a header element display at the full width of the page container, not the full width of the browser window. So it will be above the content and side bar but no wider than that.

    Thanks.

    Martin

    #1238380
    David
    Staff
    Customer Support

    Hi there,

    edit your Header Element and set the Container to Contained

    #1238390
    Martin

    I currently have Container set as Contained and Inner Container as Contained but my background image is only as wide as the text within it, not full width.
    It’s a new site but here’s the home page with a header;
    https://louthlincolnshire.co.uk/

    Thanks for looking.

    Martin

    #1238395
    David
    Staff
    Customer Support

    That is odd – try adding this CSS:

    .page-hero {
        width: 100%;
    }
    #1238397
    Martin

    That sorted it! Thank you David!!!

    #1238404
    David
    Staff
    Customer Support

    You’re welcome

    #1271593
    Martin

    Sorry about adding another ‘thank you’ but I couldn’t mark it as resolved without a reply and couldn’t post another topic without marking this as resolved… Hmmm…

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