Support » Plugin: Fixed Widget and Sticky Elements for WordPress » One Sidebar not working and question about main menu

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Contributor Max Bond

    (@max-bond)

    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?

    Plugin Contributor Max Bond

    (@max-bond)

    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.

    Thread Starter paknot

    (@paknot)

    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.

    Plugin Contributor Max Bond

    (@max-bond)

    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?

    Thread Starter paknot

    (@paknot)

    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?

    Plugin Contributor Max Bond

    (@max-bond)

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

    Thread Starter paknot

    (@paknot)

    Alright here it is:

    functions.php

    Plugin Contributor Max Bond

    (@max-bond)

    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

    Thread Starter paknot

    (@paknot)

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

    Thread Starter paknot

    (@paknot)

    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.

    Plugin Contributor Max Bond

    (@max-bond)

    Easy way is to avoid horizontal scroll by any means…

    Thread Starter paknot

    (@paknot)

    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?

    Plugin Contributor Max Bond

    (@max-bond)

    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.

    Thread Starter paknot

    (@paknot)

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

    Thread Starter paknot

    (@paknot)

    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.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘One Sidebar not working and question about main menu’ is closed to new replies.