This topic has 6 replies, 2 voices, and was last updated 10 years, 1 months ago ago by Eva Kemp
Hello.
I need for a third-party plugin to work (a plugin that makes the sidebar sticky) to rename the IDs of the sidebars / content in the theme files, or more exactly to replace the name of them from classes to IDs.
I already have the solution, I only need you to point me in the right direction – the best way to make changes (to single.php most likely) for it to work.
The suggested solution is:
<div id=”mycontent” class=”page-content sidebar-position-left responsive-sidebar-bottom”>
<div id=”mysidebar” class=”span3 sidebar sidebar-left”>
since the only pages I need them to work is the shop pages… http://www.protopopescu.ro/demo-adi/site/product-category/furniture/
Admin credentials are below. Thank you in advance.
Hello,
Sorry but your request is a bit unclear.
Could you please clarify what exactly you need to change?
Thank you.
Regards,
Eva Kemp.
I need to make each of those two elements (page content and sidebar) to use an ID instead of a class. So it would be fantastic if you’d provide me the best way in which to modify Legenda theme’s files for this to work.
As you can see here, when checking the elements with Chrome’s “Inspect Element” feature, the page content is identified as “page-content sidebar-position-left responsive-sidebar-bottom” while the sidebar content is identified as “span3 sidebar sidebar-left”.
I need for them to use (be identified by) a simple ID instead of the class, so when using the “Inspect Element”, something like “div#my_content” to appear instead of the current “div.page-content.sidebar-position-left.responsive-sidebar-bottom”. Look here for an example from another theme, that uses IDs by default instead of classes to identify elements on the page.
Hope this explanation is ok and that you can help me. Thank you 🙂
Hello,
Sorry, but there are no such features in our theme. Unfortunately we don’t provide such possibilities.
Please take our apologies.
Regards,
Eva Kemp.
It’s a pity. That’s ok though, hope I’ll solve via another plugin.
Hello,
Thank you for understanding.
If there are any questions let us know.
Regards,
Eva Kemp.
The issue related to '‘Best way to rename the sidebar and content IDs in the theme's files’' has been successfully resolved, and the topic is now closed for further responses