Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Positioning issue with JQuery (I want content div to scroll under pageskin)

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #184793
    babilkuyusu
    Participant

    Hi people.

    I have a pageskin ad as a background-image which is fixed to the top of the screen when is scrolling.

    When I scroll the page the content div flows over the pageskin image and it looks weird. So, I want content div to flow under the pageskin image.

    http://afiliyemek.com/kuzgun/pageskin.html

    Is there any one to help me with jQuery to tell main-content to stay 50px far from the top of the screen when scrolling or flow under the image?

    #184804
    Paulie_D
    Member

    It would be easier if you recreated this in Codepen so we look at the individual working parts without having to rummage through the site using developer tools.

    Especially the JS/JQ you are using.

    #184812
    babilkuyusu
    Participant

    Well, thank you very much for the advice… A created one here’s the link of it:

    http://codepen.io/babilkuyusu/pen/quKEo

    Thank you again.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.