Forums

CSS border problems (6 posts)

  1. korbas1013
    Member
    Posted 1 year ago #

    This may be a common problem, but I don't know what it is enough to search for it. I did try but couldn't find anything meaningful. Sorry. :-/

    Top and bottom borders are shifting out of place and not following with the main body background section. The severity seems to depend on the size of the monitor being used - on some it's awful, and on others it's fine. My site is here and if you look under the header image and right above "Hello world", there's the problem.

    Any suggestions would be helpful. Thanks!

  2. oscarmota
    Member
    Posted 1 year ago #

    It seems that you deletede/edited the css file and lost some rules.

    Try to add this to your css file:

    .centercontent {float:left;}

    Works with Firefox, I dont know if it works with IE.

    BTW: The WP themes files would be inside a themes/theme-name-folder/ , but you have your css in themes/x.css

  3. korbas1013
    Member
    Posted 1 year ago #

    Hmm...that is unfortunately how it came (I didn't alter it after downloading and before installing). Which file should I add that to?

  4. oscarmota
    Member
    Posted 1 year ago #

    Sorry I was wrong, the float:left, doesn't fix your trouble, let me see.

    But it would be better if you upload the theme in the wp-content/themes/ directory, NOT the files, the whole theme folder.

  5. oscarmota
    Member
    Posted 1 year ago #

    Go to style.css (line 47) and remove "margin: 0pt auto"

  6. korbas1013
    Member
    Posted 1 year ago #

    Thanks! That worked great! That definitely improves my knowledge on how WP themes work. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic