WordPress.org

Ready to get started?Download WordPress

Forums

Q2W3 Fixed Widget (Sticky Widget)
[resolved] One Sidebar not working and question about main menu (16 posts)

  1. paknot
    Member
    Posted 8 months ago #

    Hi,

    My left sidebar works perfect, but my problem is that my right sidebar doesn't move when I check the check box.

    meerkerk.sitebysite.nl

    Also is it also possible to have the main menu on the Header to follow you when you scroll?

    http://wordpress.org/plugins/q2w3-fixed-widget/

  2. Max Bond
    Member
    Plugin Author

    Posted 8 months ago #

    Yes, I see the problem with your right sidebar.
    The widgets in right sidebar doesn't have id attribute... Looks like widget's code is hardcoded. These widgets are coming from theme or plugin?

  3. Max Bond
    Member
    Plugin Author

    Posted 8 months ago #

    Also is it also possible to have the main menu on the Header to follow you when you scroll?

    Hm... usually it is possible. But you have already used custom id list for widget in left sidebar...
    You need to refactor your theme sidebar and widget code to work in standard mode (without custom id list). Then you'll able to use custom id list for header menu.

  4. paknot
    Member
    Posted 8 months ago #

    Yes, I see the problem with your right sidebar.
    The widgets in right sidebar doesn't have id attribute... Looks like widget's code is hardcoded. These widgets are coming from theme or plugin?

    Yes the content on my right sidebar are Plugins
    Page List Widget: http://wordpress.org/plugins/page-list-widget/
    Slidshow: http://wordpress.org/plugins/slideshow-jquery-image-gallery/

    Hm... usually it is possible. But you have already used custom id list for widget in left sidebar...
    You need to refactor your theme sidebar and widget code to work in standard mode (without custom id list). Then you'll able to use custom id list for header menu.

    Sorry I don't know, much yet on how to do this? if you can guide me trough this, that would be great.

    The thing is, I want the Main Menu on the Header to move with you and the two Sidebars.

  5. Max Bond
    Member
    Plugin Author

    Posted 8 months ago #

    Sorry I don't know, much yet on how to do this? if you can guide me trough this, that would be great.

    It's not an easy task...
    I think the problem somewhere in theme sidebar definition.
    Can I see your theme's function.php file?

  6. paknot
    Member
    Posted 8 months ago #

    It's not an easy task...
    I think the problem somewhere in theme sidebar definition.
    Can I see your theme's function.php file?

    Sure

    Do you want me to post it here?

  7. Max Bond
    Member
    Plugin Author

    Posted 8 months ago #

    Not here (forum rules)
    Use http://pastebin.com/

  8. paknot
    Member
    Posted 8 months ago #

    Alright here it is:

    functions.php

  9. Max Bond
    Member
    Plugin Author

    Posted 8 months ago #

    Well...
    I have a bad news.
    Theme author hardcoded sidebar markup.
    We cannot change it without risking to break the template... (

    I advise you to contact theme author.
    Tell him that you need id attribute for widget container as on standard WordPress sidebar

  10. paknot
    Member
    Posted 8 months ago #

    Alright thank you for your help, I will try to contact the theme author.

  11. paknot
    Member
    Posted 7 months ago #

    Hi,

    Now I want it to only stay fixed on scrolling vertically, not horizontally. For example on Mobile phones or Tablets it still follows the screen horizontal, but I don't want that.

    Is there any easy way to get this right?

    I hope to get an answer as soon as possible.

    Thank you.

  12. Max Bond
    Member
    Plugin Author

    Posted 7 months ago #

    Easy way is to avoid horizontal scroll by any means...

  13. paknot
    Member
    Posted 7 months ago #

    Thank you for your answer,

    Because I made this website for an organization and they had a request if there is a possible way that the menu will only be fixed vertically.

    Do you need to code something for this?

  14. Max Bond
    Member
    Plugin Author

    Posted 7 months ago #

    Because I made this website for an organization and they had a request if there is a possible way that the menu will only be fixed vertically.

    There is no way. The only solution I see: is to disable plugin when horizontal scroll appears. Use Screen Max Width option for that.

  15. paknot
    Member
    Posted 7 months ago #

    Is that an option within the plugin or any coding? any coding I need to do?

  16. paknot
    Member
    Posted 7 months ago #

    Oh nevermind thank you, I was not reading the FAQ, I found that it was in
    Appearance -> Fixed Widget Options.

    Thank you for your help.

Reply

You must log in to post.

About this Plugin

About this Topic