• Resolved born61

    (@born61)


    at homepage , when I scroll the posts I would like the # infinite-handle was always visible to the right of the screen , just as we fixed header When scrolling post detail.
    you can?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Please include a link to the website.

    Thread Starter born61

    (@born61)

    this is the website
    https://wpdev1.altervista.org/
    theme boardwalk

    I speak of this button at the end of the post
    <div id=”infinite-handle” style=”display: block;”><span><button>Articoli più vecchi</button></span></div>

    I wish it were always visible to allow the user to upload other posts without using the scrollbar of the browser. you can lock the button to the right of the screen? it is important that the theme is responsive, so it must be remembered breakpoints for proper placement on the tablet. alternatively you could also put the button on the left , this solution would be easier because we must not think about the size of the screen . button we can write ” other post ”

    Moderator Kathryn Presner

    (@zoonini)

    Perhaps something like this:

    #infinite-handle {
      position: fixed;
    }
    Thread Starter born61

    (@born61)

    thanks!
    I shrunk the button #infinite-handle to do to see the post below, how can I set that is always half-height ?

    Moderator Kathryn Presner

    (@zoonini)

    Glad that worked.

    I’m not sure I understand what you mean by “always half-height” – could you explain in more detail what you’d like to do?

    Thread Starter born61

    (@born61)

    well, i have put this code

    #infinite-handle {
    position: fixed;
    top: 300px;
    height: 20%;
    width: 53px;
    background-color: #bfbfbf;
    color: #ffffff;
    }

    but instead of top 300px
    I wish it was always at the center of the screen with any height

    thanks

    Moderator Kathryn Presner

    (@zoonini)

    Ah, I see. I think that would take some JavaScript in addition to CSS, as you’d need some JS to detect the current browser window height. Hope that points you in the right direction.

    Thread Starter born61

    (@born61)

    ok thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘fixed the infinite scroll button’ is closed to new replies.