Support » Plugin: ShiftNav - Responsive Mobile Menu » Double id's and title centering

  • Hey,

    First of all, thanks for the plugin!

    I have a few suggestions:

    A lot of themes, and actually I think by default, WordPress outputs id’s to each menu item. When the menu is duplicated in the mobile version, there’s always double id’s and hence, a validation problem and possible other implications. So either remove the id’s or append to them. Even better yet, make it an option!

    There’s also a slight alignment issue with the site title in the toggle bar #shiftnav-toggle-main (I think this popped up in today’s update). The is centered with text align, but since the triple bars ‘icon’ is inserted via :before and set to float left, the title itself isn’t centered anymore, but offset the width of the ‘icon’. I know, it’s a tiny issue but just figured I’d point it out.

    Again, thanks for the great plug-in!

    https://wordpress.org/plugins/shiftnav-responsive-mobile-menu/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author sevenspark

    (@sevenspark)

    Hi NTD,

    Glad you’re enjoying the plugin, thanks for the feedback 🙂

    Menu Item Duplication

    Actually, I believe WordPress now removes duplicate IDs out of the box. I’m not sure when this was added, but I just checked it with WordPress 4.0 and the IDs are automatically removed from a second instance of the menu.

    Toggle alignment

    You’re right. There’s a bit of a tradeoff here: you can either have the bars absolutely positioned, in which case you can center the text, but you might end up with overlap. Or you can leave it relatively positioned as it is now, and you don’t get overlap, but as you mentioned centering gets thrown off. I’ll look at making this configurable in the future 🙂

    Best,

    Chris

    mads_Bottega_Luigia

    (@mads_bottega_luigia)

    Hi Chris

    Thanks for the pluing – it really rocks!
    I’ve been trying to center the text, but run into the same problem.

    Do you know how to align the text and still keep the hamburger placement far left?

    Best regards,
    Mads

    Plugin Author sevenspark

    (@sevenspark)

    Hi Mads,

    Glad you’re enjoying the plugin 🙂 You can change the toggle bar text alignment in the Control Panel. If that’s not helping, please post a link to your site and I’ll take a look 🙂

    Best,

    Chris

    mads_Bottega_Luigia

    (@mads_bottega_luigia)

    Hi Chris

    THANKS for your quick reply. Sorry about my late ditto and sorry about that – did not see it in the settings.

    Again great plugin. Works like a charm.
    Br,
    Mads

    Plugin Author sevenspark

    (@sevenspark)

    You’re welcome, Mads 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Double id's and title centering’ is closed to new replies.