WordPress.org

Support

Support » Themes and Templates » Why is this not being absolutely positioned at bottom?

Why is this not being absolutely positioned at bottom?

Viewing 5 replies - 1 through 5 (of 5 total)
  • you do not have a css rule for it on a mobile.css file, or what ever you are using to make your theme responsive.

    hmm see I don’t know what you mean, that CSS has a rule on it so that it *should* be displayed always at the bottom…

    #main #secondary {
    bottom: 0;
    left: 0;
    position: absolute;
    width: 48%;
    z-index: 10;
    }
    style.css (line 2740)

    The thing is, it doesn’t, for whatever reason… Any ideas?

    Thanks

    WPyogi

    @wpyogi

    Forum Moderator

    Looking at the style.css file, there are two sections with those selectors:

    Line 2581

    #main #secondary {
    position: absolute;
        bottom: 0;
        left: 0;
        width: 48%;
        display: none;
    	}

    Line 2741

    #main #secondary {
    position: relative;
        bottom: 0;
        left: 0;
        width: 48%;
        z-index: 10;
    		}

    NOTE the position in the above = relative!

    The code you cited above says it is absolute position but that’s not what is in the actual file…

    hmm thanks, tried that, but it had the same result. I have just hidden it for now on the mobile version, since the shadowbox links don’t work so hot anyways on the mobile version, you can’t scroll when viewing them on your phone

    WPyogi

    @wpyogi

    Forum Moderator

    Actually, I meant to mention in my earlier post that that section was not visible on my iPhone even then. So who knows what was going on….but it sounds like you figure out a solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why is this not being absolutely positioned at bottom?’ is closed to new replies.