• Resolved C. B. Wright

    (@cbwright)


    Hello!

    I like this plugin a lot. I was wondering if there was any way to customize/change the button order. It’s fine when the floating buttons are set to the sides of a page:

    right
    left
    up
    down
    home
    etc.

    But if you modify it to float at the top or bottom of the page, it’s a little less intuitive:

    right, left, up, down, home, etc.

    The specific situation I’m in is that when the button bar is set to the side, when they view my site in mobile view on some pages the button bar gets half pushed off screen (I assume due to a margin property). Having it float at the bottom of the screen works better overall in terms of positioning, but the button order is counter intuitive. What I’d like to do is have it appear like this:

    left, up, home, down, right

    (those are the only buttons I’m using at the moment).

    There’s no obvious way to do it without using some really harsh css overrides and I’m afraid I’d probably break something if I tried.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Danish Ali Malik

    (@danish-ali)

    Hi @cbwright,

    Hope you are doing good today ??

    Actually, Right now there is not any option available to change the order of icons but I will definitely try to add this in future releases.

    Yes you are right by css you can mess up the whole layout only solution available right now is to change the order manually from frontend/frontend.php file. If you are a developer and understand the code you can just swipe the variables. If not just let me know I can surely provide you the updated file according to your requirements.

    But it will remove when you update the plugin.

    [ Signature deleted ]

    Is it possible to use a hook or something at lease adding custom changes to child theme function.php or styles so even after an update no changes are lost

    Thread Starter C. B. Wright

    (@cbwright)

    I’m not a developer, so I’m pretty sure I should stay as far away from that file as possible. ?? If you’re really willing to send me a custom file, what I’m looking for is:

    <- Previous Page | /\ Up | Home | Down \/ | Next Page ->
    (and then of course the close button shows up on the next line, since this would be a bottom page configuration)

    I’d just keep a backup of that file handy and overwrite any updates until the feature gets formally added. ??

    Plugin Author Danish Ali Malik

    (@danish-ali)

    Hi @cbwright,

    Here is the updated frontend.php file according to your requirements. https://pastebin.com/fJ2rpcVS

    Simply replace the frontend/frontend.php file with it.

    [ Signature deleted ]

    Plugin Author Danish Ali Malik

    (@danish-ali)

    Hi @keshabee,

    Right now there is not any filter available for frontend changes but yes I will definitely try to add that in future releases.

    Thanks for using the plugin ??

    [ Signature deleted ]

    Thread Starter C. B. Wright

    (@cbwright)

    Thank you! You can see how it looks on my test/transition site:

    https://www.dtcweb.com

    https://www.dtcweb.com/featured/2018/11/issue-35-city-knives-city-glass/

    The second link is in one of my story archive sections. I’ve got floating links set to category only, so it essentially functions as navigation buttons for each of the serials I publish. The only irregularity is that if you go to the home page (the first link) you still see the next page button, even though it’s disabled. I might be able to fix that with CSS, putting a display:none on the a.disabled property, but even if I can’t this great. ??

    Plugin Author Danish Ali Malik

    (@danish-ali)

    Ahh, I think I misplaced any condition. But for now, do it with CSS.

    BTW I really liked how you customized it to match your site look and feel. Awesome (y)

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Is there a way to customize button order?’ is closed to new replies.