WordPress.org

Ready to get started?Download WordPress

Forums

Footer Size (5 posts)

  1. mrmccarrin
    Member
    Posted 1 year ago #

    I have my footer set to the correct width (it is the width of the body of my site) when I am using my desk size computer, however, the footer narrows when I open my site on a laptop making the footer more narrow than the body of my site.

    My site is http://www.pkworkcomp.com

    I cannot find any code to make the width of my site stay to the body of my website.

    Thanks.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    The width here seems to be doing that:

    #footer {
        background-color: #CACACA;
        border-top: 1px solid #000000;
        color: #000000;
        font-size: 20px;
        height: 400px;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        margin-top: -48px !important;
        overflow: hidden;
        padding-top: 5px;
        text-align: left;
        width: 51.498%;
    }
  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

  4. mrmccarrin
    Member
    Posted 1 year ago #

    Thank you for your time. I ended up just changeing the width:

    width: 51.498%;

    to

    width: 70rem;
  5. mrmccarrin
    Member
    Posted 1 year ago #

    because that is the width of the body of my site.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.