WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] css menu "covers" content (4 posts)

  1. montag
    Member
    Posted 9 years ago #

    Hello. I am new to everything. I have no formal knowlege of css or php or html or any of it. Nonetheless, I decided to play around with wp-layout.css for my site: http://www.stumplane.us/wordpress/
    I have been referring to the "wp-layout.css explained" tutorial by Nuclear Moose which has been a great help. But I am having a problem.
    My content is filling the whole width of the screen, and the menu comes in on top of it and covers up the text on the right. This problem does not seem to be browser specific (the same thing happens in Firefox and IE.) I've read two other posts here on similar but different issues but I was still unable to solve my problem.
    The only thing I have modified is wp-layout.css. I was hoping that someone might have a look, and tell me what bonehead newbie mistake I made. I'd certainly appreciate it.

  2. montag
    Member
    Posted 9 years ago #

    Thanks! That was easy.
    Another question though; the one you had me delete was below the line that says this:
    "/* This is the stylesheet modern browser will use to print your pages. */"
    Does the print stylesheet have to match the 'on screen' stylesheet? Just curious. I haven't given much thought to how I'd want things to print out, so I hadn't (at least I hadn't intended,) to change anything in the print stylesheet.
    Thanks again.

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Nope, it doesn't - it was me not looking properly.
    http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.stumplane.us/wordpress/
    The CSS has errors, and I suspect something had caused the browser to see the wrong one - which as deleting that above css worked must have been the case.

  4. montag
    Member
    Posted 9 years ago #

    OK. I fixed the css so it validates. And I deleted the whole 'print' section, as this was not in the basic wp-layout.css file. Apparently it showed up when I used 'View CSS .'
    Anyway, all is well now. The site looks like I wanted it to; which is HUGE.
    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.