Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #604172

    I used some CSS that I found here on a forum topic to create a boxed layout on just one page. That worked great, except that the header of the page is out of alignment.

    http://donsharphomeimprovements.com/blog/

    On those same topics, some CSS was mentioned that might fix this issue, but it didn’t work for me:

    div#header_meta, div#header_main {
    width: 70%;
    margin: 0 auto;
    }
    What am I missing? Thanks in advance!

    #604330

    Hi Tracy!

    Please use the below code and adjust the max-width to suit your design or change max width to 70%; You need to add the page id class before the header to target specific pages.

    #header {
        max-width: 1024px;
        left: 50%;
        transform: translateX(-50%);
    }

    Regards,
    Vinay

    • This reply was modified 8 years, 7 months ago by Vinay.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.