[Support request] Can’t set secondary menu to “align left” anymore

Home Forums Support [Support request] Can’t set secondary menu to “align left” anymore

Home Forums Support Can’t set secondary menu to “align left” anymore

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2351285
    Helmut

    Today (I think after installing this plugin https://de.wordpress.org/plugins/free-images/) I can’t set the align of my secondary header menu to “left” anymore – it is always right. Even after disabling and uninstalling the plugin it doesn’t work.

    Is there anything I can do about this?
    So center works, but left and right is always right.

    https://schooltools.at/

    #2351289
    Fernando
    Customer Support

    Hi Helmut,

    Can you set it to left, and we’ll observe what’s happening from our end.

    #2351302
    Helmut

    done so.

    #2351307
    Fernando
    Customer Support

    You have a plugin causing the issue. Try adding this CSS:

    nav#secondary-navigation .main-nav {
        order: -1;
    }
    #2351314
    Helmut

    thank you so much.

    (do you have an idea, which plugin it is, in other words, can the plugin mentioned above still causes this issue even if I deinstalled it?)

    What a great support here πŸ™‚

    #2351319
    Fernando
    Customer Support

    I believe it’s the Search Plugin you have. How are you adding the Search Icon?

    #2351320
    Helmut

    it’s a hook <?php echo do_shortcode(‘[wpdreams_ajaxsearchpro id=2]’); ?> which I put in “generate_inside_secondary_navigation”
    but I did so many weeks ago and this didn’t affect the align until today…

    #2351324
    Fernando
    Customer Support

    Try removing the code I provided, and altering the Priority of that hook. Try something like 100, 1000 or something even higher to test.

    #2351333
    Helmut

    tried so, doesn’t work, if I remove the code, the align is right again.

    #2351341
    Fernando
    Customer Support

    I see. You can try Custom Hook – generate_after_secondary_menu

    #2351452
    Helmut

    seems to work – thank you so much πŸ™‚

    #2353535
    Fernando
    Customer Support

    You’re welcome Helmut! πŸ™‚

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.