What is the correct sidebar ID in the theme’s code?

This topic has 6 replies, 2 voices, and was last updated 10 years, 4 months ago ago by Eva Kemp

  • Avatar: sorin.manica
    sorin.manica
    Participant
    July 29, 2014 at 16:14

    Hello!

    I’ve tried several plugins that are making the sidebar fixed (when scrolling), but none of them seem to work. Probably because of the IDs of the theme sidebars (found in the theme’s code), that aren’t correct.

    I’ve tried getting the correct sidebar ID with Google Chrome’s “Inspect Element” option, but I don’t think I got it right: “sidebar” for the column ID and “sidebar left” for the ID of the sidebar.

    Can you please mention them? Oh, and also, do you recommend a specific plugin for having a fixed sidebar?

    Thank you in advance 🙂

    5 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 29, 2014 at 16:38

    Hello,

    Sorry, but we don’t have such options to make sidebar fixed and unfortunately can’t recommend you any plugins. Please note some 3rd-party plugins may not be compatible fully with our theme.
    Could you please clarify what sidebar you want to edit? Please show us the link.
    Thank you.

    Regards,
    Eva Kemp.

    Avatar: sorin.manica
    sorin.manica
    Participant
    July 30, 2014 at 11:27

    Unfortunately I cannot give you a link, as the site isn’t live, but here is a screenshot: here, here and here. First for the sidebar as on site, second with the three sidebars I want IDs for, and the last one with the boxes I have to complete in the third-party plugin options.

    Can you now give me the code IDs of the three sidebars (main sidebar, shop sidebar and single product sidebar), and, of course, the ID of the “generic” sidebar column? Thank you 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    July 30, 2014 at 12:06

    Hello,

    The ids for sidebars are:
    ‘name’ => __(‘Main Sidebar’, ETHEME_DOMAIN),
    ‘id’ => ‘main-sidebar’,

    ‘name’ => __(‘Shop Sidebar’, ETHEME_DOMAIN),
    ‘id’ => ‘shop-sidebar’,

    ‘name’ => __(‘Single product page Sidebar’, ETHEME_DOMAIN),
    ‘id’ => ‘single-sidebar’,

    Regards,
    Eva Kemp.

    Avatar: sorin.manica
    sorin.manica
    Participant
    July 30, 2014 at 20:04

    Ok, managed to solve it via a plugin. Topic closed.

    Thanks again 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    July 30, 2014 at 20:07

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘What is the correct sidebar ID in the theme’s code?’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.