• How would I modify my description in the header so that it is only a certian width, instead of the standard 100%? Ultimately, I would like to be able to tell the index or header file to limit the width of the table in which the description text resides to any value that is a percentage, or pixel width, whichever is most possible. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • To modify your header so it is a certain width, go into your style.css and look for references to #header and h1 as these tend to control your header information. There is an article in the WordPress documenation site called the Codex, about how to find your styles if you are having trouble. There is also a new article on designing headers which goes into much more detail about your WordPress header. You may have to also change the #headerimg information.

    Depending upon your Theme, you might also have to look in the header.php template file for your style (CSS) information.

    The key to what you are looking for is WIDTH. You can change it to whatever you want (50%, 500px, whatever) there.

    WordPress Themes do not use tables in their design as they do not meet web standards. I believe you mean “container” that the header resides within. Just to help clarify some jargon.

    Those articles will help you.

    The original title of this post askes about adding a line break or <br> in your header. That’s a different issue, but I think you want control over the width rather than a line break, and for more information you need to know (we’re full of it here), in order to have your site validate, you need to use XHTML not HTML and the right way to use this is <br />. Ah, too much information. 😉

    Thread Starter macwise

    (@macwise)

    No, not too much information at all. I am actually very proficient with html, linux, and even a <little> php. The problem is not my ability to comprehend, but rather my lack of experience with XHTML or much of PHP. Thanks for the extra information, both on this post and on others. Your advice is very helpful.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Add <BR> command in php?’ is closed to new replies.