Hey, I am new to this site, and I have some problems with my website footer. It look crapy, not full size. Have any suggestions what it is wrong. Website www.smilez360.com And Also what do you think about Header?

Dani AI

Generated

Quick recap: reported a footer that looked "crapy" and not full width. and noted it looked fine visually, and later confirmed the actual cause was bad code in theme.php. That pattern — visible layout looking OK while the template emits malformed markup or stray output — is a common source of footer-width problems. Below is a concise, practical checklist to find and prevent the same issue.

  • Inspect the DOM with browser devtools: select the footer and check computed width, parent widths, position, overflow and any absolute positioning or floats affecting it.
  • View the page source for missing or extra closing tags; an unclosed div earlier in the document often truncates container widths.
  • Search theme files for accidental output: stray whitespace before <?php, extra ?> endings, var_dump()/echo left in, or a UTF-8 BOM at the top of a PHP file.
  • Test with a known-good theme or a fresh copy of your template file to isolate whether the problem is template code or CSS.
  • Use version control and a staging site so fixes can be reverted and tested safely.

A tiny CSS safety rule that helps when floats are the culprit:

.footer {
  clear: both;
  width: 100%;
  box-sizing: border-box;
}

Note: documenting the exact fix (as requested) helps future readers. When a layout issue comes down to template code, the quickest wins are validating structure, comparing against a clean template, and removing accidental output from the theme file.

Recommended Answers

All 5 Replies

Hey, I am new to this site, and I have some problems with my website footer. It look crapy, not full size. Have any suggestions what it is wrong. Website www.smilez360.com And Also what do you think about Header?

Hello Jonas, I visited your site and your footer appeared to be the same width as the rest of your page, and it looked fine. As for the header, could I recommend a header with a red background and white text? I think this would contrast much better and help with the overall look. Good luck with your site!

I agree the footer looks fine fits in with the theme of the rest of the site and spans the width of the page.

thanks to all, I resolved my problem

thanks to all, I resolved my problem

If you resolve it it would be nice to mark thread as solved and also explain how you resolve it...

it was bad code in theme.php

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.